You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Lee Ho Yeung <jo...@gmail.com> on 2016/06/21 05:13:01 UTC

where is the result file after run parallelALS?

i follow this example to guess missing value in matrix
https://mahout.apache.org/users/recommender/intro-als-hadoop.html

mahout/bin/mahout parallelALS --input /home/martin/Downloads/rdata.txt
--output /home/martin/Downloads/output.txt --lambda 0.1 --implicitFeedback
true --alpha 0.8 --numFeatures 2 --numIterations 5  --numThreadsPerSolver 1
--tempDir tmp

mahout/bin/mahout recommendfactorized --input
/home/martin/Downloads/rdata.txt --userFeatures /home/martin/Downloads/U/
--itemFeatures /home/martin/Downloads/M/ --numRecommendations 1 --output
recommendations --maxRating 1

vi rdata.txt
1,1,5
1,2,4
1,3,5
2,1,4
2,2,5
2,3,4
3,1,5
3,2,4
4,1,1
4,2,2
5,1,2
5,2,1
5,3,1