huaxingao commented on issue #26370: [SPARK-29727][ML][PYTHON] Use UnaryTransformer as parent class for single input column transformers in PySpark URL: https://github.com/apache/spark/pull/26370#issuecomment-549567502 @BryanCutler Thanks for your comment. Seems if I want to use UnaryTransformer as the parent class for DCT etc. , I will need to have a ```JavaUnaryTransformer```, right? I can't use ```UnaryTransformer``` directly like ```class DCT(UnaryTransformer, JavaMLReadable, JavaMLWritable)``` because I need the ```_java_obj```.
---------------------------------------------------------------- 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]
