Skip to content
Snippets Groups Projects
Commit 21bbf94b authored by Joseph K. Bradley's avatar Joseph K. Bradley
Browse files

[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.

(cherry picked from commit 26e1c53a)
Signed-off-by: default avatarJoseph K. Bradley <joseph@databricks.com>
parent 876eee2b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment