huaxingao opened a new pull request #25715: [SPARK-28969][PYTHON][ML] 
OneVsRestParams parity between scala and python
URL: https://github.com/apache/spark/pull/25715
 
 
   
   ### What changes were proposed in this pull request?
   Follow the scala ```OneVsRestParams``` implementation, move 
```setClassifier``` from ```OneVsRestParams``` to ```OneVsRest``` in Pyspark
   
   
   ### Why are the changes needed?
   1. Maintain the parity between scala and python code. 
   2. ```Classifier``` can only be set in the estimator.
   
   
   ### Does this PR introduce any user-facing change?
   Yes.
   Previous behavior: ```OneVsRestModel``` has method ```setClassifier```
   Current behavior:  ```setClassifier``` is removed from ```OneVsRestModel```. 
```classifier``` can only be set in ```OneVsRest```.
   
   
   ### How was this patch tested?
   Use existing tests
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to