spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Dusenberry (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-7883) Fixing broken trainImplicit example in MLlib Collaborative Filtering documentation.
Date Tue, 26 May 2015 23:30:17 GMT
Mike Dusenberry created SPARK-7883:
--------------------------------------

             Summary: 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.3.1, 1.4.0
            Reporter: Mike Dusenberry
            Priority: Trivial


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message