-
- Downloads
[SPARK-17157][SPARKR] Add multiclass logistic regression SparkR Wrapper
## What changes were proposed in this pull request? As we discussed in #14818, I added a separate R wrapper spark.logit for logistic regression. This single interface supports both binary and multinomial logistic regression. It also has "predict" and "summary" for binary logistic regression. ## How was this patch tested? New unit tests are added. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #15365 from wangmiao1981/glm.
Showing
- R/pkg/NAMESPACE 2 additions, 1 deletionR/pkg/NAMESPACE
- R/pkg/R/generics.R 4 additions, 0 deletionsR/pkg/R/generics.R
- R/pkg/R/mllib.R 190 additions, 2 deletionsR/pkg/R/mllib.R
- R/pkg/inst/tests/testthat/test_mllib.R 55 additions, 0 deletionsR/pkg/inst/tests/testthat/test_mllib.R
- mllib/src/main/scala/org/apache/spark/ml/r/LogisticRegressionWrapper.scala 157 additions, 0 deletions...ala/org/apache/spark/ml/r/LogisticRegressionWrapper.scala
- mllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala 2 additions, 0 deletionsmllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala
Loading
Please register or sign in to comment