Repository: spark
Updated Branches:
  refs/heads/branch-1.1 ee06e9271 -> 672f3228c


[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/672f3228
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/672f3228
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/672f3228

Branch: refs/heads/branch-1.1
Commit: 672f3228c43217caa339061834e256bda049cec4
Parents: ee06e92
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:35 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/672f3228/docs/mllib-collaborative-filtering.md
----------------------------------------------------------------------
diff --git a/docs/mllib-collaborative-filtering.md 
b/docs/mllib-collaborative-filtering.md
index d5c539d..8751753 100644
--- a/docs/mllib-collaborative-filtering.md
+++ b/docs/mllib-collaborative-filtering.md
@@ -102,7 +102,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