You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by jtengyp <gi...@git.apache.org> on 2017/05/15 01:30:02 UTC

[GitHub] spark issue #17936: [SPARK-20638][Core]Optimize the CartesianRDD to reduce r...

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org