Louis Traynard created SPARK-14662:
--------------------------------------

             Summary: LinearRegressionModel uses only default parameters if 
yStd is 0
                 Key: SPARK-14662
                 URL: https://issues.apache.org/jira/browse/SPARK-14662
             Project: Spark
          Issue Type: Bug
          Components: ML
            Reporter: Louis Traynard
            Priority: Minor


In the (rare) case when yStd is 0 in LinearRegression, parameters are not 
copied immediately to the created LinearRegressionModel instance. But they 
should (as in all other cases), because currently only the default column names 
are used in and returned by model.findSummaryModelAndPredictionCol(), which 
leads to schema validation errors.

The fix is two lines and should not be hard to check & apply.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to