Last active
June 27, 2024 16:03
-
-
Save nateware/6212979 to your computer and use it in GitHub Desktop.
Hadoop with Mahout simple setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hadoop fs -rmr temp | |
MAHOUT_HOME/bin/mahout org.apache.mahout.cf.taste.hadoop.similarity.item.ItemSimilarityJob --input ~/Workspace/beerstats/beer-ratings-by-userid.csv --output ratings-pearson --similarityClassname SIMILARITY_PEARSON_CORRELATION | |
hadoop jar mahout-examples-0.8-job.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob --input ~/Workspace/beerstats/beer-ratings-by-userid.csv --output beer-ratings --similarityClassname SIMILARITY_LOGLIKELIHOOD --maxSimilaritiesPerItem 50 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment