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

Xiangrui Meng commented on SPARK-11543:
---------------------------------------

ml.LogisticRegression does not support multiclass yet. Shall we update the 
current implementation to ignore `thresholds`? In the next release, we can 
ignore `threshold` if `thresholds` are set.

> spark.ml LogisticRegressionModel should prefer thresholds over threshold
> ------------------------------------------------------------------------
>
>                 Key: SPARK-11543
>                 URL: https://issues.apache.org/jira/browse/SPARK-11543
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Assignee: Xiangrui Meng
>
> The current behavior was defined in [SPARK-9847], where the two Params must 
> match if both are set.  This causes problems for model persistence, for which 
> it is easier (for backwards compatibility) to save a single ParamMap instead 
> of 2 (user-set + default).  This can be fixed by changing LogisticRegression 
> to use {{thresholds}} if set (ignoring {{threshold}}), and to otherwise use 
> {{threshold}}.



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