Repository: spark
Updated Branches:
  refs/heads/branch-1.0 0afb04250 -> 86ad12d44


[SPARK-7883] [DOCS] [MLLIB] Fixing broken trainImplicit Scala example in MLlib 
Collaborative Filtering documentation.

Fixing broken trainImplicit Scala example in MLlib Collaborative Filtering 
documentation to match one of the possible ALS.trainImplicit function 
signatures.

Author: Mike Dusenberry <dusenberr...@gmail.com>

Closes #6422 from dusenberrymw/Fix_MLlib_Collab_Filtering_trainImplicit_Example 
and squashes the following commits:

36492f4 [Mike Dusenberry] Fixing broken trainImplicit example in MLlib 
Collaborative Filtering documentation to match one of the possible 
ALS.trainImplicit function signatures.

(cherry picked from commit 0463428b6e8f364f0b1f39445a60cd85ae7c07bc)
Signed-off-by: Xiangrui Meng <m...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/86ad12d4
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/86ad12d4
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/86ad12d4

Branch: refs/heads/branch-1.0
Commit: 86ad12d44bbad74473bf18220212b4717d978be1
Parents: 0afb042
Author: Mike Dusenberry <dusenberr...@gmail.com>
Authored: Tue May 26 18:08:57 2015 -0700
Committer: Xiangrui Meng <m...@databricks.com>
Committed: Tue May 26 18:09:48 2015 -0700

----------------------------------------------------------------------
 docs/mllib-collaborative-filtering.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/86ad12d4/docs/mllib-collaborative-filtering.md
----------------------------------------------------------------------
diff --git a/docs/mllib-collaborative-filtering.md 
b/docs/mllib-collaborative-filtering.md
index d51002f..76505b0 100644
--- a/docs/mllib-collaborative-filtering.md
+++ b/docs/mllib-collaborative-filtering.md
@@ -91,7 +91,8 @@ other signals), you can use the trainImplicit method to get 
better results.
 
 {% highlight scala %}
 val alpha = 0.01
-val model = ALS.trainImplicit(ratings, rank, numIterations, alpha)
+val lambda = 0.01
+val model = ALS.trainImplicit(ratings, rank, numIterations, lambda, alpha)
 {% endhighlight %}
 </div>
 


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

Reply via email to