Commit Graph

20 Commits

Author SHA1 Message Date
Yichuan Liu 194c231d49 [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
2017-04-10 15:04:48 -04:00
Vincent Pham b6941847d6 [MRG + 1] FIX bug where passing numpy array for weights raises error (Issue #7983) (#7989) 2016-12-08 15:25:51 +11:00
Ganiev Ibraim b3e122a0b5 [MRG+2] parallelized VotingClassifier and sample_weight support (#5805)
* parallelized VotingClassifier

* rename list to list_ to avoid problems

* Added new tests for sample_weight, multithreading and multiprocessing

* assert_equal -> assert_array_equal

* Fixed sample_weight existence check and test_sample_weight

* Code is clearer now

* Tests refactoring, 'backend' parameter removed

* Tests indentation fix

* reverted parallel predict and predict_proba to single threaded version

* what's new section added

* minor fixes

* check for sample_weight support in underlying estimators added

* newline at the end of test
2016-08-26 14:41:21 +10:00
Sebastian Raschka aa4f756993 remove redundant NotFittedError import from voting classifier (#7060) 2016-07-22 09:36:28 +02:00
Gael Varoquaux 1837224751 Merge pull request #6613 from nelson-liu/correct_license_spelling
[MRG+1] DOC: fix spellings of 'license'
2016-06-15 13:58:59 +02:00
Daniel Hnyk 7d2d9272d0 importing VotingClassifier in the example
There was missing import in an example. This makes it work.
2016-05-03 14:52:32 +02:00
Nelson Liu d2aaf0f4bb doc: fix spellings of 'license' 2016-03-31 17:25:31 -07:00
YenChenLin bff21be888 Add doc of attributes for VotingClassifier 2016-02-27 22:34:13 +08:00
rasbt 4f2cd80a06 raise NotFittedError in VotingClassifier and unit test improvements 2016-02-04 16:19:56 -05:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Andreas Mueller fb123ed24b More doc fixes. Latex builds again. 2015-11-20 16:30:45 -05:00
Alvaro Ulloa a161f2c2c2 predictions are float but np.bincount can only be used on integers, thus an error comes out when using it 2015-11-12 09:30:08 -07:00
KamalakerDadi 2249daaea8 Version added for all new classes 2015-11-03 23:54:42 +01:00
Gilles Louppe 34c4930591 FIX: ensure that get_params returns VotingClassifier own params 2015-07-23 08:34:26 +02:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Gilles Louppe 6ac6ea3842 COSMIT: VotingClassifier 2015-05-08 10:10:47 +02:00
rasbt 0007660b84 inline check_proba 2015-05-01 18:45:46 -04:00
rasbt 00abe26e75 property trick to raise AttributeError if voting is "hard" 2015-04-22 14:12:57 -04:00
rasbt 24f88b8d54 added _check_proba method 2015-04-21 19:01:39 -04:00
rasbt 2910198f14 votingclassifier 2015-04-20 19:27:30 -04:00