spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guo-Xun Yuan (JIRA)" <>
Subject [jira] [Commented] (SPARK-12664) Expose raw prediction scores in MultilayerPerceptronClassificationModel
Date Fri, 14 Oct 2016 17:00:25 GMT


Guo-Xun Yuan commented on SPARK-12664:

Thank you, [~yanboliang]! So, just to confirm, will your PR just cover a method that exposes
raw prediction scores in MultilayerPerceptronClassificationModel? Or it will also cover the
fix where MultilayerPerceptronClassificationModel is derived from ClassificationModel.


> Expose raw prediction scores in MultilayerPerceptronClassificationModel
> -----------------------------------------------------------------------
>                 Key: SPARK-12664
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Robert Dodier
>            Assignee: Yanbo Liang
> In, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message