Description
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.
Attachments
Issue Links
- is depended upon by
-
SPARK-21856 Update Python API for MultilayerPerceptronClassifierModel
- Resolved
- is related to
-
SPARK-9471 Multilayer perceptron classifier
- Resolved
-
SPARK-21802 Make sparkR MLP summary() expose probability column
- Closed
-
SPARK-21729 Generic test for ProbabilisticClassifier to ensure consistent output columns
- Resolved
- links to