Hi, I'd like to get the raw prediction score from a MultilayerPerceptronClassificationModel. It appears that the 'predict' method only returns the argmax of the largest score in the output layer (line 200 in MultilayerPerceptronClassificationModel.scala in Spark 1.5.2).
Is there any way to get the raw score? It is computed as mlpModel.predict(features) in the source code. It appears that I can't access mlpModel since it is private in MultilayerPerceptronClassificationModel so I couldn't just grab mlpModel and call predict on it. Is there another way? Thanks for any light you can shed on this question. Robert Dodier --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
