1

在命令之后成功构建之后,我正在运行位于 mahout wiki stater 中的 mahout Recommender:

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] 总时间:20 秒 [INFO] 完成时间:Fri Jan 04 14:47:33 PST 2013 [ INFO] 最终内存:31M/697M [INFO] ---------------------------------------- ---------------------------------

日志/输出在哪里?如何启用日志?建议在哪里?难道我做错了什么?

4

1 回答 1

1

您正在运行的该类被描述为“一个简单的示例“跑步者”类,它将评估 GroupLensRecommender 的当前实现的性能”,它只会为您提供“用户的预测评分和实际评分之间的平均绝对差”,也称为作为“平均平均误差”

因此,您并没有真正生成建议。

Ted Dunning 的 github 帐户有 Mahout In Action 书籍示例(链接)。你应该看看。

于 2013-02-22T15:09:23.593 回答