2013-01-04 155 views
1

我正在位於象夫維基斯塔特象夫導購中,COMAND繼成功編譯:Mahout movieLens推薦器,輸出文件在哪裏?

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] Total time:20 seconds [INFO] Finished at:Fri Jan 04 04:47:33 PST 2013 [INFO] Final Memory:31M/697M [INFO] -------------------------- ----------------------------------------------

日誌/輸出在哪裏?我怎樣才能啓用日誌? 建議在哪裏?難道我做錯了什麼?

回答

1

您正在運行被描述爲那類「一個簡單的例子‘亞軍’類,將評估目前執行GroupLensRecommender的表現」,這隻會給你的「平均絕對差值爲用戶」,又稱‘預測的和實際收視率意味着平均誤差’

那麼,你是不是真的產生推薦。

泰德鄧寧的github帳戶有Mahout In Action書籍示例(link)。你應該看看。