Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-28969][PYTHON][ML] OneVsRestParams parity between scala and py…
…thon ### 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 Closes #25715 from huaxingao/spark-28969. Authored-by: Huaxin Gao <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information