-
- Downloads
[SPARK-9463] [ML] Expose model coefficients with names in SparkR RFormula
Preview: ``` > summary(m) features coefficients 1 (Intercept) 1.6765001 2 Sepal_Length 0.3498801 3 Species.versicolor -0.9833885 4 Species.virginica -1.0075104 ``` Design doc from umbrella task: https://docs.google.com/document/d/10NZNSEurN2EdWM31uFYsgayIPfCFHiuIu3pCWrUmP_c/edit cc mengxr Author: Eric Liang <ekl@databricks.com> Closes #7771 from ericl/summary and squashes the following commits: ccd54c3 [Eric Liang] second pass a5ca93b [Eric Liang] comments 2772111 [Eric Liang] clean up 70483ef [Eric Liang] fix test 7c247d4 [Eric Liang] Merge branch 'master' into summary 3c55024 [Eric Liang] working 8c539aa [Eric Liang] first pass
Showing
- R/pkg/NAMESPACE 2 additions, 1 deletionR/pkg/NAMESPACE
- R/pkg/R/mllib.R 26 additions, 0 deletionsR/pkg/R/mllib.R
- R/pkg/inst/tests/test_mllib.R 11 additions, 0 deletionsR/pkg/inst/tests/test_mllib.R
- mllib/src/main/scala/org/apache/spark/ml/feature/OneHotEncoder.scala 5 additions, 7 deletions...ain/scala/org/apache/spark/ml/feature/OneHotEncoder.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala 11 additions, 1 deletion...src/main/scala/org/apache/spark/ml/feature/RFormula.scala
- mllib/src/main/scala/org/apache/spark/ml/r/SparkRWrappers.scala 25 additions, 2 deletions...src/main/scala/org/apache/spark/ml/r/SparkRWrappers.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala 6 additions, 2 deletions...ala/org/apache/spark/ml/regression/LinearRegression.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/OneHotEncoderSuite.scala 4 additions, 4 deletions...cala/org/apache/spark/ml/feature/OneHotEncoderSuite.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/RFormulaSuite.scala 18 additions, 0 deletions...est/scala/org/apache/spark/ml/feature/RFormulaSuite.scala
Please register or sign in to comment