GitHub user hhbyyh opened a pull request:
https://github.com/apache/spark/pull/15762
[SPARK-18235][ML] ml.ALSModel function parity: ALSModel should support
recommendforAll
## What changes were proposed in this pull request?
jira: https://issues.apache.org/jira/browse/SPARK-18235
For function parity with MatrixFactorizationModel, ALS model should support
API:
recommendUsersForProducts
recommendProductsForUsers
## How was this patch tested?
new test case
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hhbyyh/spark alsrecommend
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15762.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15762
----
commit 97aface65ee2eda753d819639e20f1d480a15698
Author: Yuhao <[email protected]>
Date: 2016-11-04T00:09:33Z
add recommend for all
commit 4e830f87f9c9599c15a705544746f8b3602648ea
Author: Yuhao <[email protected]>
Date: 2016-11-04T00:14:25Z
comment change
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]