You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kai Jiang (JIRA)" <ji...@apache.org> on 2015/10/21 14:26:27 UTC

[jira] [Commented] (SPARK-10592) deprecate weights and use coefficients instead in ML models

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

Kai Jiang commented on SPARK-10592:
-----------------------------------

Hi [~mengxr],
I am interested in this issue. However, I am not sure I am on the right way. I would appreciate if you could take a look at my first step toward this issue. ([comparison|https://github.com/apache/spark/compare/master...vectorijk:spark-10592?expand=1])
If this way was right, I will continue on spark.ml.regression.LinearRegression.scala If not, do you have any suggestion?

> deprecate weights and use coefficients instead in ML models
> -----------------------------------------------------------
>
>                 Key: SPARK-10592
>                 URL: https://issues.apache.org/jira/browse/SPARK-10592
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>    Affects Versions: 1.6.0
>            Reporter: Xiangrui Meng
>            Priority: Critical
>
> The name `weights` becomes confusing as we are supporting weighted instanced. As discussed in https://github.com/apache/spark/pull/7884, we want to deprecate `weights` and use `coefficients` instead:
> * Deprecate but do not remove `weights`.
> * Only make changes under `spark.ml`.



--
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