-
- Downloads
[SPARK-18476][SPARKR][ML] SparkR Logistic Regression should should support output original label.
## What changes were proposed in this pull request? Similar to SPARK-18401, as a classification algorithm, logistic regression should support output original label instead of supporting index label. In this PR, original label output is supported and test cases are modified and added. Document is also modified. ## How was this patch tested? Unit tests. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #15910 from wangmiao1981/audit.
Showing
- R/pkg/R/mllib.R 9 additions, 10 deletionsR/pkg/R/mllib.R
- R/pkg/inst/tests/testthat/test_mllib.R 18 additions, 8 deletionsR/pkg/inst/tests/testthat/test_mllib.R
- core/src/main/scala/org/apache/spark/SparkContext.scala 1 addition, 1 deletioncore/src/main/scala/org/apache/spark/SparkContext.scala
- mllib/src/main/scala/org/apache/spark/ml/r/LogisticRegressionWrapper.scala 26 additions, 11 deletions...ala/org/apache/spark/ml/r/LogisticRegressionWrapper.scala
Loading
Please register or sign in to comment