Github user zhengruifeng commented on a diff in the pull request:
https://github.com/apache/spark/pull/16028#discussion_r94382491
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala ---
@@ -421,6 +435,18 @@ object LinearRegression extends
DefaultParamsReadable[LinearRegression] {
*/
@Since("2.1.0")
val MAX_FEATURES_FOR_NORMAL_SOLVER: Int =
WeightedLeastSquares.MAX_NUM_FEATURES
+
+ /** String name for "auto". */
+ private[regression] val AUTO = "auto"
--- End diff --
I modified here to follow the way in the companion object of
`MultilayerPerceptronClassifier`. I don't know the discussion about whether to
introduce constants ...
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]