Yanbo Liang commented on SPARK-12664:

[~GayathriMurali] Are you still working on this, if not, I can take over this 
and send a PR in a few days.
[~eaudex] It just for simplifying the implementation and focus on the core 
algorithm. I also weigh this as an important feature. 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
> 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

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

Reply via email to