You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/15 15:30:25 UTC

[jira] [Assigned] (SPARK-14662) LinearRegressionModel uses only default parameters if yStd is 0

     [ https://issues.apache.org/jira/browse/SPARK-14662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-14662:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org