You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Asher Krim (JIRA)" <ji...@apache.org> on 2015/07/06 23:11:04 UTC

[jira] [Created] (SPARK-8849) expose multiclass scores in LogisticRegression

Asher Krim created SPARK-8849:
---------------------------------

             Summary: expose multiclass scores in LogisticRegression
                 Key: SPARK-8849
                 URL: https://issues.apache.org/jira/browse/SPARK-8849
             Project: Spark
          Issue Type: New Feature
            Reporter: Asher Krim
            Priority: Minor


In [SPARK-2309], [~dbtsai] implemented multinomial logistic regression for mllib. It would be great if users could get the score for each class directly, since they are already computed. It doesn't look like this would be a terribly complicated thing to do and I've sketched out what it could look like: https://gist.github.com/Krimit/f61b5e3be2b1e380d1ca

We could even move the score methods further up into GeneralizedLinearModel, since in the binary case we could still just return a 2-element vector of the scores (or margin in SVM's) for each of the 2 class, so algorithms lacking multiclass support at the moment can still support this.



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