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

Joseph K. Bradley commented on SPARK-13785:
-------------------------------------------

Sure, go ahead please, but I'd prefer to deprecate it since there is no need to 
hurry in removing it.

We need to expose the column names for users to make use of the {{predictions}} 
DataFrame.  Otherwise, they won't be able to tell (programmatically) which 
columns are which.

> Deprecate model field in ML model summary classes
> -------------------------------------------------
>
>                 Key: SPARK-13785
>                 URL: https://issues.apache.org/jira/browse/SPARK-13785
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> ML model summary classes (e.g., LinearRegressionSummary) currently expose a 
> field "model" containing the parent model.  It's weird to have this circular 
> reference, and I don't see a good reason why the summary should expose it 
> (unless I'm forgetting some decision we made before...).
> I'd propose to deprecate that field in 2.0 and to remove it in 2.1.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to