-
- Downloads
[SPARK-13379][MLLIB] Fix MLlib LogisticRegressionWithLBFGS set regularization incorrectly
## What changes were proposed in this pull request? Fix MLlib LogisticRegressionWithLBFGS regularization map as: ```SquaredL2Updater``` -> ```elasticNetParam = 0.0``` ```L1Updater``` -> ```elasticNetParam = 1.0``` cc dbtsai ## How was the this patch tested? unit tests Author: Yanbo Liang <ybliang8@gmail.com> Closes #11258 from yanboliang/spark-13379.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala 2 additions, 2 deletions...pache/spark/mllib/classification/LogisticRegression.scala
- mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala 348 additions, 0 deletions.../spark/mllib/classification/LogisticRegressionSuite.scala
Loading
Please register or sign in to comment