zhengruifeng commented on a change in pull request #26838: [SPARK-30144][ML][PySpark] Make MultilayerPerceptronClassificationModel extend MultilayerPerceptronParams URL: https://github.com/apache/spark/pull/26838#discussion_r357017240
########## File path: mllib/src/main/scala/org/apache/spark/ml/classification/MultilayerPerceptronClassifier.scala ########## @@ -273,29 +273,29 @@ object MultilayerPerceptronClassifier * Each layer has sigmoid activation function, output layer has softmax. * * @param uid uid - * @param layers array of layer sizes including input and output layers + * @param modelLayers array of layer sizes including input and output layers Review comment: I think it is needed, since all estimators and their models should share the same params. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
