运行后:mahout org.apache.mahout.cf.taste.example.jester.JesterRecommenderEvaluatorRunner
mahout org.apache.mahout.cf.taste.example.jester.JesterRecommenderEvaluatorRunner
Running on hadoop, using HADOOP_HOME=/usr
HADOOP_CONF_DIR=/etc/hadoop/conf
11/04/23 23:52:18 WARN driver.MahoutDriver: No org.apache.mahout.cf.taste.example.jester.JesterRecommenderEvaluatorRunner.props found on classpath, will use command-line arguments only
11/04/23 23:52:18 INFO file.FileDataModel: Creating FileDataModel for file src/main/java/org/apache/mahout/cf/taste/example/jester/jester-data-1.csv
11/04/23 23:52:18 INFO file.FileDataModel: Reading file info...
11/04/23 23:52:18 INFO file.FileDataModel: Read lines: 7074
11/04/23 23:52:18 INFO model.GenericDataModel: Processed 7074 users
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Beginning evaluation using 0.9 of FileDataModel[dataFile:/usr/local/mahout-distribution-0.4/examples/src/main/java/org/apache/mahout/cf/taste/example/jester/jester-data-1.csv]
11/04/23 23:52:19 INFO model.GenericDataModel: Processed 2155 users
11/04/23 23:52:19 INFO slopeone.MemoryDiffStorage: Building average diffs...
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Beginning evaluation of 855 users
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Starting timing of 855 tasks in 4 threads
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Average time per recommendation: 2ms
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Approximate memory used: 9MB / 56MB
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Unable to recommend in 0 cases
11/04/23 23:52:19 INFO eval.AbstractDifferenceRecommenderEvaluator: Evaluation result: 154472.97849261735
11/04/23 23:52:19 INFO jester.JesterRecommenderEvaluatorRunner: 154472.97849261735
11/04/23 23:52:19 INFO driver.MahoutDriver: Program took 740 ms
不知道在哪里检查结果?
谢谢!
答案 0 :(得分:1)
结果。您正在对一个推荐器实现进行评估,该评估评估一个推荐者预测评级的程度。它显示了实际和预测评级之间的平均差异。
您在寻找什么结果?
但是这里看起来很不对劲:154472.97849261735太大了。当我运行它时,我的平均差异为3.41(按10的等级)。
理想情况下,我会使用latest code from Subversion。 0.4是6个月大,虽然我不知道这里有任何错误。您也不需要通过驱动程序运行它,尽管它可以工作。
我真的怀疑你的jester-data-1.csv文件是错误的。最好关注user@mahout.apache.org。