huaxingao commented on issue #26838: [SPARK-30144][ML][PySpark] Make 
MultilayerPerceptronClassificationModel extend MultilayerPerceptronParams
URL: https://github.com/apache/spark/pull/26838#issuecomment-565200419
 
 
   I can remove ```layers``` from 
```MultilayerPerceptronClassificationModel```, but seems it may need more 
changes than current fix:
   member variables ```numFeatures``` and ```mlpModel``` depend on ```layers``` 
at class initiation time, so these two need to be changed.
   since no ```layers``` any more, writer and reader need to be changed 
accordingly.
   
   So I guess probably keep the current fix? 

----------------------------------------------------------------
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]

Reply via email to