Github user jtengyp commented on the issue:
https://github.com/apache/spark/pull/17936
I think you@ConeyLiu should directly test the Cartesian phase with the
following patch.
val user = model.userFeatures
val item = model.productFeatures
val start = System.nanoTime()
val rate = user.cartesian(item)
println(rate.count())
val time = (System.nanoTime() - start) / 1e9
The recommendForAll in mllib ALS has been merged a new PR#17742. Your PR
may not fit this case.
---
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]