-
- Downloads
[SPARK-3396][MLLIB] Use SquaredL2Updater in LogisticRegressionWithSGD
SimpleUpdater ignores the regularizer, which leads to an unregularized LogReg. To enable the common L2 regularizer (and the corresponding regularization parameter) for logistic regression the SquaredL2Updater has to be used in SGD (see, e.g., [SVMWithSGD]) Author: Christoph Sawade <christoph@sawade.me> Closes #2398 from BigCrunsh/fix-regparam-logreg and squashes the following commits: 0820c04 [Christoph Sawade] Use SquaredL2Updater in LogisticRegressionWithSGD
Showing
- mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala 1 addition, 1 deletion...pache/spark/mllib/classification/LogisticRegression.scala
- mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala 41 additions, 3 deletions.../spark/mllib/classification/LogisticRegressionSuite.scala
Please register or sign in to comment