[ https://issues.apache.org/jira/browse/SPARK-8849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asher Krim updated SPARK-8849: ------------------------------ Component/s: MLlib > expose multiclass scores in LogisticRegression > ---------------------------------------------- > > Key: SPARK-8849 > URL: https://issues.apache.org/jira/browse/SPARK-8849 > Project: Spark > Issue Type: New Feature > Components: MLlib > Reporter: Asher Krim > Priority: Minor > Labels: LogisticRegression, mllib, multiclass > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org