[
https://issues.apache.org/jira/browse/SPARK-10802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102971#comment-16102971
]
Nick Pentreath commented on SPARK-10802:
----------------------------------------
For those that may be interested - I opened a PR to add this functionality to
{{ml}}'s {{ALSModel}} here: https://github.com/apache/spark/pull/18748
> Let ALS recommend for subset of data
> ------------------------------------
>
> Key: SPARK-10802
> URL: https://issues.apache.org/jira/browse/SPARK-10802
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Affects Versions: 1.5.0
> Reporter: Tomasz Bartczak
> Priority: Minor
>
> Currently MatrixFactorizationModel allows to get recommendations for
> - single user
> - single product
> - all users
> - all products
> recommendation for all users/products do a cartesian join inside.
> It would be useful in some cases to get recommendations for subset of
> users/products by providing an RDD with which MatrixFactorizationModel could
> do an intersection before doing a cartesian join. This would make it much
> faster in situation where recommendations are needed only for subset of
> users/products, and when the subset is still too large to make it feasible to
> recommend one-by-one.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]