[ 
https://issues.apache.org/jira/browse/SPARK-7883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Wendell updated SPARK-7883:
-----------------------------------
    Labels:   (was: spark.tc)

> Fixing broken trainImplicit example in MLlib Collaborative Filtering 
> documentation.
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-7883
>                 URL: https://issues.apache.org/jira/browse/SPARK-7883
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, MLlib
>    Affects Versions: 1.0.2, 1.1.1, 1.2.2, 1.3.1, 1.4.0
>            Reporter: Mike Dusenberry
>            Assignee: Mike Dusenberry
>            Priority: Trivial
>             Fix For: 1.0.3, 1.1.2, 1.2.3, 1.3.2, 1.4.0
>
>
> The trainImplicit Scala example near the end of the MLlib Collaborative 
> Filtering documentation refers to an ALS.trainImplicit function signature 
> that does not exist.  Rather than add an extra function, let's just fix the 
> example.
> Currently, the example refers to a function that would have the following 
> signature: 
> def trainImplicit(ratings: RDD[Rating], rank: Int, iterations: Int, alpha: 
> Double) : MatrixFactorizationModel
> Instead, let's change the example to refer to this function, which does exist 
> (notice the addition of the lambda parameter):
> def trainImplicit(ratings: RDD[Rating], rank: Int, iterations: Int, lambda: 
> Double, alpha: Double) : MatrixFactorizationModel



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to