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

    https://github.com/apache/spark/pull/1687#discussion_r15657110
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/recommendation/MatrixFactorizationModel.scala
 ---
    @@ -66,6 +66,44 @@ class MatrixFactorizationModel private[mllib] (
       }
     
       /**
    +   * Recommends products to a user.
    +   *
    +   * @param user the user to recommend products to
    +   * @param num how many products to return. The number returned may be 
less than this.
    +   * @return product ID and score tuples, sorted descending by score. The 
first product returned
    --- End diff --
    
    The doc is no longer accurate because we switched to `Array[Rating]`.


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