-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-17748][ML] Minor cleanups to one-pass linear regression with elastic net #15779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ import org.apache.spark.internal.Logging | |
| import org.apache.spark.ml.feature.Instance | ||
| import org.apache.spark.ml.linalg.{Vector, Vectors} | ||
| import org.apache.spark.ml.linalg.BLAS._ | ||
| import org.apache.spark.ml.optim.{NormalEquationSolver, WeightedLeastSquares} | ||
| import org.apache.spark.ml.optim.WeightedLeastSquares | ||
| import org.apache.spark.ml.PredictorParams | ||
| import org.apache.spark.ml.param.ParamMap | ||
| import org.apache.spark.ml.param.shared._ | ||
|
|
@@ -166,6 +166,9 @@ class LinearRegression @Since("1.3.0") (@Since("1.3.0") override val uid: String | |
| * The default value is "auto" which means that the solver algorithm is | ||
| * selected automatically. | ||
| * | ||
| * The Normal Equation solver is limited to a few thousand features; when needed, | ||
|
||
| * [[LinearRegression]] will automatically fall back to iterative optimization methods. | ||
| * | ||
| * @group setParam | ||
| */ | ||
| @Since("1.6.0") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private[spark]as Jenkins was nice enough to point out