I tried to run the Recommender example in Mahout in Action Book.
DataModel model = new FileDataModel(new File("intro.csv"));
UserSimilarity similarity = new PearsonCorrelationSimilarity(model);
The dependencies from google collections and guava are clashing while execution. Its picking some wrong class like Preconditions and few others which is giving error on runtime. I fixed that by excluding google-collections. The patch is attached which helped me fix this problem.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Benson Margulies [ bmargulies ]||Sean Owen [ srowen ]|
|Affects Version/s||0.5 [ 12315255 ]|
|Affects Version/s||0.6 [ 12316364 ]|
|Priority||Major [ 3 ]||Minor [ 4 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|