Skip to content
Snippets Groups Projects
Commit 0463428b authored by Mike Dusenberry's avatar Mike Dusenberry Committed by Xiangrui Meng
Browse files

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

[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 <dusenberrymw@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.
parent 8f208242
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment