-
- Downloads
[SPARK-17748][ML] Minor cleanups to one-pass linear regression with elastic net
## What changes were proposed in this pull request? * Made SingularMatrixException private ml * WeightedLeastSquares: Changed to allow tol >= 0 instead of only tol > 0 ## How was this patch tested? existing tests Author: Joseph K. Bradley <joseph@databricks.com> Closes #15779 from jkbradley/wls-cleanups.
Showing
- mllib/src/main/scala/org/apache/spark/ml/optim/NormalEquationSolver.scala 5 additions, 4 deletions...cala/org/apache/spark/ml/optim/NormalEquationSolver.scala
- mllib/src/main/scala/org/apache/spark/ml/optim/WeightedLeastSquares.scala 2 additions, 2 deletions...cala/org/apache/spark/ml/optim/WeightedLeastSquares.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala 16 additions, 6 deletions...ala/org/apache/spark/ml/regression/LinearRegression.scala
Loading
Please register or sign in to comment