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

Yanbo Liang resolved SPARK-13590.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> Document the behavior of spark.ml logistic regression and AFT survival 
> regression when there are constant features
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-13590
>                 URL: https://issues.apache.org/jira/browse/SPARK-13590
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Yanbo Liang
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> As discussed in SPARK-13029, we decided to keep the current behavior that 
> sets all coefficients associated with constant feature columns to zero, 
> regardless of intercept, regularization, and standardization settings. This 
> is the same behavior as in glmnet. Since this is different from LIBSVM, we 
> should document the behavior correctly, add tests, and generate warning 
> messages if there are constant columns and `addIntercept` is false.
> cc [~coderxiang] [~dbtsai]



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