huaxingao opened a new pull request #26057: [SPARK-29377][PYTHON][ML] Parity 
between Scala ML tuning and Python ML tuning
URL: https://github.com/apache/spark/pull/26057
 
 
   
   ### What changes were proposed in this pull request?
   Follow Scala ml tuning implementation
   
   - put leading underscore before python ```ValidatorParams``` to indicate 
private
   - add ```_CrossValidatorParams``` and ```_TrainValidationSplitParams```
   - separate the getters and setters. Put getters in _XXXParams and setters in 
the Classes. 
   
   ### Why are the changes needed?
   Keep parity between scala and python
   
   ### Does this PR introduce any user-facing change?
   add ```CrossValidatorModel.getNumFolds``` and 
```TrainValidationSplitModel.getTrainRatio()```
   
   
   
   ### How was this patch tested?
   Add doctest
   

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