huaxingao commented on issue #26838: [SPARK-30144][ML][PySpark] Make 
MultilayerPerceptronClassificationModel extend MultilayerPerceptronParams
URL: https://github.com/apache/spark/pull/26838#issuecomment-568624587
 
 
   @srowen Do you mean something like this:
   ```
   class MultilayerPerceptronClassificationModel private[ml] (
       @Since("1.5.0") override val uid: String,
       @Since("1.5.0")
       @deprecated("This is deprecated and will be removed in the future", 
"3.0.0")
       val modelLayers: Array[Int],
       @Since("2.0.0") val weights: Vector)
   ```
   I have to change to ```modelLayers``` because ```layers``` conflicts with 
```layers``` param inherited from ```MultilayerPerceptronParams```.
   

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