我正在运行mahout推荐人位于mahout wiki stater,在成功构建之后:
mvn exec:java -Dexec.mainClass="org.apache.mahout.cf.taste.example.grouplens.GroupLensRecommenderEvaluatorRunner" -Dexec.args="-i ratings.dat"
我看到这个日志文件但找不到任何输出:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'exec'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Mahout Examples
[INFO] task-segment: [exec:java]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
[WARNING] POM for 'asm:asm:pom:3.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [exec:java {execution: default-cli}]
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] -------------------------------------------- ---------------------------- [INFO]总时间:20秒 [INFO]完成于:Fri Jan 04 14:47:33 PST 2013 [INFO]最终记忆:31M / 697M [INFO] ----------------------------------------------- -------------------------
日志/输出在哪里?如何启用日志? 建议在哪里?我做错了吗?
答案 0 :(得分:1)
您正在运行的那个类被描述为 “一个简单的示例”runner“类,它将评估GroupLensRecommender当前实现的性能” ,这只会给出您 “用户预测评分与实际评分之间的平均绝对差异” ,也称为 “平均误差” 强>
所以,你并没有真正提出建议。
Ted Dunning的github帐户有Mahout In Action书中的例子(link)。你应该看看。