Commit Graph

38 Commits

Author SHA1 Message Date
Agamemnon Krasoulis 9faa41429c docstring fix X in predict/predict_proba (#13004) 2019-01-17 14:45:22 -05:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Denis Kataev b020f62250 MNT Apply pep8 to docs code (#12275) 2018-10-05 22:51:42 +08:00
Andreas Mueller 2eca77b98f MNT complete VotingClassifier flatten_transform deprecation (#12252) 2018-10-04 20:12:34 +10:00
Joel Nothman 7ed61a24fe ENH add multi_class='auto' for LogisticRegression, default from 0.22; default solver will be 'lbfgs' (#11905)
* Change default solver in LogisticRegression
* This is an API change, not a feature
* Decrease numerical precision in LogisticRegression doctest
* ENH add multi_class='auto' for LR, default from 0.22
* No warning when binary
2018-08-26 23:00:02 +03:00
Hanmin Qin 9b8fd0b0d0 DOC Correct default n_jobs & reference the glossary (#11808)
Also improves the glossary entry for n_jobs.
2018-08-18 19:57:10 +10:00
Olivier Grisel 40e6c43cb4
Joblib 0.12.2 (#11741)
* joblib 0.12.2

* Export _joblib's register_parallel_backend

* Use latest version of coverage
2018-08-03 12:34:25 +02:00
Andreas Mueller 8e2c2aa35d
raise DeprecationWarnings and FutureWarnings as errors (#11570)
Towards #11252.
In the end we'd like to make these errors so we can keep this cleaner in the future.
2018-07-17 15:31:45 -05:00
Joel Nothman 14e7c328df Restructure access to vendored/site Joblib (#11471)
In order to fix #11408, this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Nicolas Hug 671fe79a5d [MRG] Added docstring checks for ensemble module (#11418)
* Added docstring checks for ensemble module
2018-07-17 17:02:43 +02:00
Joel Nothman 14764061f8
[MRG] DOC fix some sphinx warnings (#11241) 2018-06-21 20:43:21 +10:00
Andreas Mueller 931fae8753 add missing whitespace in VotingClassifier flatten_transform warning (#10664) 2018-02-21 08:41:39 +11:00
Joel Nothman c3bdc0a89a
DOC clean up assorted type specifications (#10441) 2018-01-11 09:11:17 +11:00
RAKOTOARISON Herilalaina 233a3e5347 ENH Add named_estimator_ for votingClassifier (#9168) 2017-09-03 08:54:35 +10:00
jschendel 0bfe10d1fa FIX Pass sample_weight as kwargs in VotingClassifier (#9493) 2017-08-06 09:35:28 +10:00
RAKOTOARISON Herilalaina 6f70202ef9 [MRG+1] - Voting classifier flatten transform (Continuation) (#9188)
* flatten_transform parameter added to VotingClassifier

* Regression test added

* What's new section added

* flake8 fix

* Improve test and docstring

* Add what's new entry

* default value flatten_transofrm

* Add test for warning msg

* Fix bug in assert_warns_message

* Move warn msg into transform

* Add deprecation warning

* Merge warning

* Change warn msg

* Move what's content into Trees and ensembles

* Fixes minor bug

* update what's new

* update test
2017-07-21 15:49:36 -04:00
Guillaume Lemaitre 689f412391 [MRG + 1] FIX/TST revert #5802 and raise error for faulty classifier (#9063)
* FIX/TST revert #5802 and raise error for faulty classifier

* FIX check_estimator take care of the rest
2017-06-10 18:49:57 +02:00
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