Joseph K. Bradley created SPARK-11543:
-----------------------------------------

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


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