Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/493#discussion_r12080483
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala ---
    @@ -708,6 +709,123 @@ object ALS {
         trainImplicit(ratings, rank, iterations, 0.01, -1, 1.0)
       }
     
    +  @DeveloperApi
    +  case class IterationCost(inboundBytes: Double, computation: Double, 
outboundBytes: Double)
    +
    +  /**
    +   * :: DeveloperApi ::
    +   * Given an RDD of ratings, a rank, and two partitioners, compute rough 
estimates of the
    +   * computation time and communication cost of one iteration of ALS.  
Returns a pair of pairs of
    --- End diff --
    
    Doc needs update.


---
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.
---

Reply via email to