[ 
https://issues.apache.org/jira/browse/SPARK-14662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242952#comment-15242952
 ] 

Apache Spark commented on SPARK-14662:
--------------------------------------

User 'shkdee' has created a pull request for this issue:
https://github.com/apache/spark/pull/12415

> 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
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> 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