-
- Downloads
[SPARK-10691][ML] Make LogisticRegressionModel, LinearRegressionModel evaluate() public
## What changes were proposed in this pull request? Made evaluate method public. Fixed LogisticRegressionModel evaluate to handle case when probabilityCol is not specified. ## How was this patch tested? There were already unit tests for these methods. Author: Joseph K. Bradley <joseph@databricks.com> Closes #11928 from jkbradley/public-evaluate.
Showing
- mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala 7 additions, 5 deletions...g/apache/spark/ml/classification/LogisticRegression.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala 4 additions, 4 deletions...ala/org/apache/spark/ml/regression/LinearRegression.scala
Please register or sign in to comment