GitHub user MLnick opened a pull request:
https://github.com/apache/spark/pull/17845
[SPARK-20587][ML] Improve performance of ML ALS recommendForAll
This PR is a `DataFrame` version of #17742 for
[SPARK-11968](https://issues.apache.org/jira/browse/SPARK-11968), for improving
the performance of `recommendAll` methods.
## How was this patch tested?
Existing unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MLnick/spark ml-als-perf
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17845.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 #17845
----
commit 4fd11b9eb5c21939adf1d104ea2d80de25af1542
Author: Nick Pentreath <[email protected]>
Date: 2017-05-03T09:36:28Z
First cut
commit 29d67774c88dd5c86ff8c5669b0328faa842239a
Author: Nick Pentreath <[email protected]>
Date: 2017-05-03T10:17:00Z
Fix increment error
commit baeadd0403434a12d3868c75c1496b562f560d59
Author: Nick Pentreath <[email protected]>
Date: 2017-05-03T19:05:25Z
Move PQ outside of foreach and update comments
----
---
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]