spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Drizard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12664) Expose raw prediction scores in MultilayerPerceptronClassificationModel
Date Wed, 22 Feb 2017 23:05:44 GMT

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

Nicolas Drizard commented on SPARK-12664:
-----------------------------------------

I upvote for it as an important feature, is anyone currently working on it? [~yanboliang]?

Thanks!

> Expose raw prediction scores in MultilayerPerceptronClassificationModel
> -----------------------------------------------------------------------
>
>                 Key: SPARK-12664
>                 URL: https://issues.apache.org/jira/browse/SPARK-12664
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Robert Dodier
>            Assignee: Yanbo Liang
>
> In org.apache.spark.ml.classification.MultilayerPerceptronClassificationModel, there
isn't any way to get raw prediction scores; only an integer output (from 0 to #classes - 1)
is available via the `predict` method. 
> `mplModel.predict` is called within the class to get the raw score, but `mlpModel` is
private so that isn't available to outside callers.
> The raw score is useful when the user wants to interpret the classifier output as a probability.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message