huaxingao commented on issue #26103: [SPARK-29381][PYTHON][ML] Add _ before the 
XXXParams classes
URL: https://github.com/apache/spark/pull/26103#issuecomment-541498973
 
 
   Almost all of these  quasi-internal classes _XXXParams are newly added in 
these parity jiras with very few exceptions. One of them is ```LSHParams```. If 
user has subclass this ```LSHParams```, with the name changed to 
```_LSHParams```,  user has to explicitly import this class like ```from 
pyspark.ml.feature import _LSHParams```because import * does not import objects 
whose names start with an underscore. 

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