You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mina Aslani <as...@gmail.com> on 2018/08/10 14:37:20 UTC

How to get MultilayerPerceptronClassifier model parameters?

Hi,
How can I get the parameters of my MultilayerPerceptronClassifier model?
I only can get the layers parameter using myModel.layers.

For other parameters, when I use myModel.getSeed()/myModel.getTol()/myModel.
getMaxIter() I get below error:

'MultilayerPerceptronClassificationModel' object has no attribute
'getSeed'/'getTol'/'getMaxIter'.


Your insight is appreciated.


Best regards,

Mina