Repository navigation
Conversation
|
QA tests have started for PR 1687. This patch merges cleanly. |
|
QA results for PR 1687: |
|
@srowen This is great! I was about to add the same function. We only have |
There was a problem hiding this comment.
Recommends products to a user.?
|
For the API, another option is to return |
|
Thanks @mengxr I agree with all of that and will update the PR. Yes if there were a topByKey it would be natural to expose a small batch recommend feature here. There are other possible operations here like |
|
I meant the final to and maybe also make them have more partitions in |
|
Cool, I committed some updates to address these points. The change to persistence and partitions is something you want to do separately? Yes I agree these should be cached in memory if possible. |
|
QA tests have started for PR 1687. This patch merges cleanly. |
There was a problem hiding this comment.
The doc is no longer accurate because we switched to Array[Rating].
|
@srowen For changing the storage level, I can submit another PR after this gets merged and ping you for review. |
|
QA results for PR 1687: |
|
QA tests have started for PR 1687. This patch merges cleanly. |
|
QA results for PR 1687: |
|
LGTM. Merged into master. Thanks!! |
Right now,
MatrixFactorizationModelcan only predict a score for one or more(user,product)tuples. As a comment in the file notes, it would be more useful to expose a recommend method, that computes top N scoring products for a user (or vice versa – users for a product).(This also corrects some long lines in the Java ALS test suite.)
As you can see, it's a little messy to access the class from Java. Should there be a Java-friendly wrapper for it? with a pointer about where that should go, I could add that.