-
- Downloads
[SPARK-14030][MLLIB] Add parameter check to MLLIB
## What changes were proposed in this pull request? add parameter verification to MLLIB, like numCorrections > 0 tolerance >= 0 iters > 0 regParam >= 0 ## How was this patch tested? manual tests Author: Ruifeng Zheng <ruifengz@foxmail.com> Author: Zheng RuiFeng <mllabs@datanode1.(none)> Author: mllabs <mllabs@datanode1.(none)> Author: Zheng RuiFeng <ruifengz@foxmail.com> Closes #11852 from zhengruifeng/lbfgs_check.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala 2 additions, 0 deletions...la/org/apache/spark/mllib/classification/NaiveBayes.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/GaussianMixture.scala 9 additions, 5 deletions...a/org/apache/spark/mllib/clustering/GaussianMixture.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala 8 additions, 3 deletions...main/scala/org/apache/spark/mllib/clustering/KMeans.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/LDA.scala 2 additions, 0 deletions...rc/main/scala/org/apache/spark/mllib/clustering/LDA.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala 4 additions, 0 deletions...che/spark/mllib/clustering/PowerIterationClustering.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/StreamingKMeans.scala 6 additions, 0 deletions...a/org/apache/spark/mllib/clustering/StreamingKMeans.scala
- mllib/src/main/scala/org/apache/spark/mllib/feature/PCA.scala 2 additions, 1 deletion...b/src/main/scala/org/apache/spark/mllib/feature/PCA.scala
- mllib/src/main/scala/org/apache/spark/mllib/feature/Word2Vec.scala 14 additions, 1 deletion.../main/scala/org/apache/spark/mllib/feature/Word2Vec.scala
- mllib/src/main/scala/org/apache/spark/mllib/fpm/AssociationRules.scala 2 additions, 1 deletion...n/scala/org/apache/spark/mllib/fpm/AssociationRules.scala
- mllib/src/main/scala/org/apache/spark/mllib/fpm/FPGrowth.scala 4 additions, 0 deletions.../src/main/scala/org/apache/spark/mllib/fpm/FPGrowth.scala
- mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala 10 additions, 1 deletion...org/apache/spark/mllib/optimization/GradientDescent.scala
- mllib/src/main/scala/org/apache/spark/mllib/optimization/LBFGS.scala 8 additions, 1 deletion...ain/scala/org/apache/spark/mllib/optimization/LBFGS.scala
- mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala 12 additions, 0 deletions...ain/scala/org/apache/spark/mllib/recommendation/ALS.scala
Loading
Please register or sign in to comment