Github user hhbyyh commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19020#discussion_r147327208
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala ---
    @@ -480,10 +638,14 @@ object LinearRegression extends 
DefaultParamsReadable[LinearRegression] {
     class LinearRegressionModel private[ml] (
         @Since("1.4.0") override val uid: String,
         @Since("2.0.0") val coefficients: Vector,
    -    @Since("1.3.0") val intercept: Double)
    +    @Since("1.3.0") val intercept: Double,
    +    @Since("2.3.0") val scale: Double)
    --- End diff --
    
    If scale is not used in the prediction process, I would suggest not to put 
it into the model.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to