-
- Downloads
[SPARK-17241][SPARKR][MLLIB] SparkR spark.glm should have configurable regularization parameter
https://issues.apache.org/jira/browse/SPARK-17241 ## What changes were proposed in this pull request? Spark has configurable L2 regularization parameter for generalized linear regression. It is very important to have them in SparkR so that users can run ridge regression. ## How was this patch tested? Test manually on local laptop. Author: Xin Ren <iamshrek@126.com> Closes #14856 from keypointt/SPARK-17241.
Showing
- R/pkg/R/mllib.R 6 additions, 4 deletionsR/pkg/R/mllib.R
- R/pkg/inst/tests/testthat/test_mllib.R 6 additions, 0 deletionsR/pkg/inst/tests/testthat/test_mllib.R
- mllib/src/main/scala/org/apache/spark/ml/r/GeneralizedLinearRegressionWrapper.scala 3 additions, 1 deletion...pache/spark/ml/r/GeneralizedLinearRegressionWrapper.scala
- mllib/src/test/scala/org/apache/spark/ml/regression/GeneralizedLinearRegressionSuite.scala 40 additions, 0 deletions...park/ml/regression/GeneralizedLinearRegressionSuite.scala
Please register or sign in to comment