-
- Downloads
[SPARK-18268][ML][MLLIB] ALS fail with better message if ratings is empty rdd
## What changes were proposed in this pull request? ALS.run fail with better message if ratings is empty rdd ALS.train and ALS.trainImplicit are also affected ## How was this patch tested? added new tests Author: Sandeep Singh <sandeep@techaddict.me> Closes #15809 from techaddict/SPARK-18268.
Showing
- mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala 1 addition, 0 deletions...c/main/scala/org/apache/spark/ml/recommendation/ALS.scala
- mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala 2 additions, 0 deletions...ain/scala/org/apache/spark/mllib/recommendation/ALS.scala
- mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala 8 additions, 0 deletions...t/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
- mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala 7 additions, 0 deletions...cala/org/apache/spark/mllib/recommendation/ALSSuite.scala
Loading
Please register or sign in to comment