spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tmyklebu <>
Subject [GitHub] spark pull request: [SPARK-1672][WIP] Separate partitioning in ALS
Date Thu, 01 May 2014 16:56:33 GMT
Github user tmyklebu commented on a diff in the pull request:
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala ---
    @@ -381,14 +399,15 @@ class ALS private (
        * the users (or (blockId, (p, u, r)) for the products). We create these simultaneously
to avoid
        * having to shuffle the (blockId, (u, p, r)) RDD twice, or to cache it.
    -  private def makeLinkRDDs(numBlocks: Int, ratings: RDD[(Int, Rating)], partitioner:
    +  private def makeLinkRDDs(numUserBlocks: Int, numProductBlocks: Int, ratings: RDD[(Int,
    +    userPartitioner: Partitioner, productPartitioner: Partitioner)
    --- End diff --
    Nope!  Nice catch.

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

View raw message