-
- Downloads
[SPARK-5536] replace old ALS implementation by the new one
The only issue is that `analyzeBlock` is removed, which was marked as a developer API. I didn't change other tests in the ALSSuite under `spark.mllib` to ensure that the implementation is correct. CC: srowen coderxiang Author: Xiangrui Meng <meng@databricks.com> Closes #4321 from mengxr/SPARK-5536 and squashes the following commits: 5a3cee8 [Xiangrui Meng] update python tests that are too strict e840acf [Xiangrui Meng] ignore scala style check for ALS.train e9a721c [Xiangrui Meng] update mima excludes 9ee6a36 [Xiangrui Meng] merge master 9a8aeac [Xiangrui Meng] update tests d8c3271 [Xiangrui Meng] remove analyzeBlocks d68eee7 [Xiangrui Meng] add checkpoint to new ALS 22a56f8 [Xiangrui Meng] wrap old ALS c387dff [Xiangrui Meng] support random seed 3bdf24b [Xiangrui Meng] make storage level configurable in the new ALS
Showing
- mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala 45 additions, 24 deletions...c/main/scala/org/apache/spark/ml/recommendation/ALS.scala
- mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala 30 additions, 570 deletions...ain/scala/org/apache/spark/mllib/recommendation/ALS.scala
- mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala 1 addition, 1 deletion...t/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
- mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala 0 additions, 18 deletions...cala/org/apache/spark/mllib/recommendation/ALSSuite.scala
- project/MimaExcludes.scala 6 additions, 1 deletionproject/MimaExcludes.scala
- python/pyspark/mllib/recommendation.py 8 additions, 8 deletionspython/pyspark/mllib/recommendation.py
This diff is collapsed.
Please register or sign in to comment