-
- Downloads
[SPARK-4378][MLLIB] make ALS more Java-friendly
Add Java-friendly version of `run` and `predict`, and use bulk prediction in Java unit tests. The user guide update will come later (though we may not save many lines of code there). srowen Author: Xiangrui Meng <meng@databricks.com> Closes #3240 from mengxr/SPARK-4378 and squashes the following commits: 6581503 [Xiangrui Meng] check number of predictions 6c8bbd1 [Xiangrui Meng] make ALS more Java-friendly
Showing
- mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala 11 additions, 6 deletions...ain/scala/org/apache/spark/mllib/recommendation/ALS.scala
- mllib/src/main/scala/org/apache/spark/mllib/recommendation/MatrixFactorizationModel.scala 11 additions, 4 deletions...spark/mllib/recommendation/MatrixFactorizationModel.scala
- mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java 31 additions, 43 deletions...a/org/apache/spark/mllib/recommendation/JavaALSSuite.java
Loading
Please register or sign in to comment