-
- Downloads
[SPARK-19345][ML][DOC] Add doc for "coldStartStrategy" usage in ALS
[SPARK-14489](https://issues.apache.org/jira/browse/SPARK-14489) added the ability to skip `NaN` predictions during `ALSModel.transform`. This PR adds documentation for the `coldStartStrategy` param to the ALS user guide, and add code to the examples to illustrate usage. ## How was this patch tested? Doc and example change only. Build HTML doc locally and verified example code builds, and runs in shell for Scala/Python. Author: Nick Pentreath <nickp@za.ibm.com> Closes #17102 from MLnick/SPARK-19345-coldstart-doc.
Showing
- docs/ml-collaborative-filtering.md 28 additions, 0 deletionsdocs/ml-collaborative-filtering.md
- examples/src/main/java/org/apache/spark/examples/ml/JavaALSExample.java 2 additions, 0 deletions...ain/java/org/apache/spark/examples/ml/JavaALSExample.java
- examples/src/main/python/ml/als_example.py 3 additions, 1 deletionexamples/src/main/python/ml/als_example.py
- examples/src/main/scala/org/apache/spark/examples/ml/ALSExample.scala 2 additions, 0 deletions.../main/scala/org/apache/spark/examples/ml/ALSExample.scala
Please register or sign in to comment