-
- Downloads
[MRG+1] Replace or remove VotingClassifier estimators by set_params (#7674)
* PR to 7288 Use _BaseComposition as base * Fix flakes problem * Change ``pipeline``, add more tests and other changes 1. Use ``_BaseComposition`` in class ``Pipeline`` and ``FeatureUnion`` 2. Add tests of soft voting ``transform`` when one estimator is set to None 3. Add estimator name validation in ``_BaseComposition`` and tests 4. Other requested changes. * Remove the unused import warn * Add more test and documentation * resolve conflict with master * Add testing cases and modify documentation * Add to whats_new.rst * Fix too many blank lines
Showing
- doc/whats_new.rst 7 additions, 0 deletionsdoc/whats_new.rst
- sklearn/ensemble/tests/test_voting_classifier.py 90 additions, 1 deletionsklearn/ensemble/tests/test_voting_classifier.py
- sklearn/ensemble/voting_classifier.py 71 additions, 29 deletionssklearn/ensemble/voting_classifier.py
- sklearn/pipeline.py 5 additions, 60 deletionssklearn/pipeline.py
- sklearn/tests/test_pipeline.py 2 additions, 2 deletionssklearn/tests/test_pipeline.py
- sklearn/utils/metaestimators.py 61 additions, 0 deletionssklearn/utils/metaestimators.py
Loading
Please register or sign in to comment