[ 
https://issues.apache.org/jira/browse/SPARK-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200373#comment-14200373
 ] 

Debasish Das commented on SPARK-4231:
-------------------------------------

[~coderxiang] [~mengxr] [~srowen]

I looked at Sean's implementation for MAP metric for recommendation engines and 
it computes a rank of predicted test set over all user/product predictions...I 
don't see how can I send the rank vector to the RankingMetrics API right now....

http://cloudera.github.io/oryx/xref/com/cloudera/oryx/als/computation/local/ComputeMAP.html
 

Right now for each user/product I send predictions and labels from test set to 
RankingMetrics API but there is no rank order defined...I retrieved the 
predictions using ALS.predict(userId, productId) API...

> Add RankingMetrics to examples.MovieLensALS
> -------------------------------------------
>
>                 Key: SPARK-4231
>                 URL: https://issues.apache.org/jira/browse/SPARK-4231
>             Project: Spark
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 1.2.0
>            Reporter: Debasish Das
>             Fix For: 1.2.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> examples.MovieLensALS computes RMSE for movielens dataset but after addition 
> of RankingMetrics and enhancements to ALS, it is critical to look at not only 
> the RMSE but also measures like prec@k and MAP.
> In this JIRA we added RMSE and MAP computation for examples.MovieLensALS and 
> also added a flag that takes an input whether user/product recommendation is 
> being validated.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to