-
- Downloads
[SPARK-15339][ML] ML 2.0 QA: Scala APIs and code audit for regression
## What changes were proposed in this pull request? * ```GeneralizedLinearRegression``` API docs enhancement. * The default value of ```GeneralizedLinearRegression``` ```linkPredictionCol``` is not set rather than empty. This will consistent with other similar params such as ```weightCol``` * Make some methods more private. * Fix a minor bug of LinearRegression. * Fix some other issues. ## How was this patch tested? Existing tests. Author: Yanbo Liang <ybliang8@gmail.com> Closes #13129 from yanboliang/spark-15339.
Showing
- mllib/src/main/scala/org/apache/spark/ml/regression/AFTSurvivalRegression.scala 2 additions, 2 deletions...rg/apache/spark/ml/regression/AFTSurvivalRegression.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala 38 additions, 36 deletions...che/spark/ml/regression/GeneralizedLinearRegression.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/IsotonicRegression.scala 2 additions, 2 deletions...a/org/apache/spark/ml/regression/IsotonicRegression.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala 3 additions, 5 deletions...ala/org/apache/spark/ml/regression/LinearRegression.scala
- mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala 13 additions, 2 deletions...rg/apache/spark/ml/regression/LinearRegressionSuite.scala
Please register or sign in to comment