-
- Downloads
[SPARK-20917][ML][SPARKR] SparkR supports string encoding consistent with R
## What changes were proposed in this pull request? Add `stringIndexerOrderType` to `spark.glm` and `spark.survreg` to support string encoding that is consistent with default R. ## How was this patch tested? new tests Author: actuaryzhang <actuaryzhang10@gmail.com> Closes #18140 from actuaryzhang/sparkRFormula.
Showing
- R/pkg/R/mllib_regression.R 45 additions, 7 deletionsR/pkg/R/mllib_regression.R
- R/pkg/tests/fulltests/test_mllib_regression.R 62 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_regression.R
- mllib/src/main/scala/org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala 3 additions, 1 deletion.../org/apache/spark/ml/r/AFTSurvivalRegressionWrapper.scala
- mllib/src/main/scala/org/apache/spark/ml/r/GeneralizedLinearRegressionWrapper.scala 5 additions, 1 deletion...pache/spark/ml/r/GeneralizedLinearRegressionWrapper.scala
Loading
Please register or sign in to comment