Commit Graph

28 Commits

Author SHA1 Message Date
Guillaume Lemaitre 2199de6492
TST enable to run common test on stacking and voting estimators (#18045)
* TST enable to run common test on stacking and voting estimators

* revert config changes

* revert unecessary change in _testing

* TST remove check_estimator from local files

* PEP8
2020-10-08 12:05:06 +02:00
Nicolas Hug ac8cbb3799
[MRG] More deprecation for 0.24 (#17142)
* normalize_components in sparsePCA

* changed default strategy of Dummy to prior and removed outputs_2d ttribute

* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest

* remove support for drop=None in Voting

* removed some warning decorators

* remove feature_extraction.extract_patches

* removed VectorizerMixin and copy parameter from TFIDFVectorizer

* kernel.set_params now raises attributeerror

* removed fig from plot_partial_dependence

* removed iid parameter of search estimators

* removed brier_scorer

* raise error in split when shuffle is False and random_state is not None

* removed MultiOutputEstimator

* removed base classes of NaiveBayes

* removed drop from pipeline

* removed utils in random_projection

* removed presort and classes_ in trees

* flake8

* fixed some tests

* flake

* fixed docstring

* fixed other one

* some left

* mmmm
2020-05-20 16:04:14 -04:00
Lucy Liu f82a2cb338
replace boston (#16922) 2020-04-21 19:48:00 +02:00
wderose 68a639e3fd
MNT rename _parallel_fit_estimator to _fit_single_estimator to reflect lack of parallelism in the method (#16599) 2020-02-29 14:20:40 -05:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Chiara Marmo 5a02de8957 ENH Add verbose option to VotingClassifier and VotingRegre… (#16069) 2020-01-09 14:15:59 -05:00
Guillaume Lemaitre 157813214c TST factorize some common test of ensemble of heterogeneous es… (#15387) 2019-11-06 14:20:53 -05:00
Robert Juergens 16ee5acec1 TST Fixed assert statements, now using assert_array_equal function (#15428) 2019-11-01 07:46:35 -05:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Thomas J Fan 7c47337f7b BUG Fixes voting named_estiamtor bug (#15375) 2019-10-28 17:31:25 +01:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Nicolas Hug 0f157e9475 ENH Minor update to error message from check_is_fitted (#15357) 2019-10-27 13:06:34 +01:00
Guillaume Lemaitre 939fa3ccce DEPR deprecate None to drop estimator in ensemble (#15114)
* MAINT add base class for voting and stacking

* iter

* iter

* PEP8

* support None and drop

* DEPR deprecate None to drop estimator in ensemble

* Add whats new

* remove parameters from base class

* TST add tests to check that we raise warning

* udpate whats new

* iter

* iter

* address nicolas comments

* iter

* review roman comments

* Update sklearn/ensemble/_base.py

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* address thomas comment

* Apply suggestions from code review

Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>

* address comment nicolas

* fix regressor
2019-10-24 10:56:28 +02:00
Guillaume Lemaitre 7dd03e0870 MAINT add base class for voting and stacking (#15084) 2019-10-04 20:49:28 -04:00
Guillaume Lemaitre bab5926024 FEA: Stacking estimator for classification and regression (#11047) 2019-09-19 06:06:33 +10:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Allen Akinkunle 01d8e70af0 MNT Use return_X_y=True with load_boston where appropriate (#14678) 2019-08-20 10:08:23 +08:00
Guillaume Lemaitre 5925fb9e4f [MRG] FIX run test for meta-estimator having estimators keyword (#14305)
* TST run test for meta-estimator having estimators keyword

* TST check the target when classifying

* raise warning for 2d array in regression

* always convert to 2D array before average

* DOC add whats new

* iter

* iter

* address comments Nicolas

* iter

* remove parameter for VotingClassifier

* move tests into ensemble voting

* PEP8
2019-07-29 15:01:49 -04:00
Thomas J Fan b55d12e603 FIX Fixes duck typing in VotingClassifier (#14287) 2019-07-12 22:03:57 +08:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Guillaume Lemaitre c28ef9ef2a DEP change the default of multi_class to 'auto' in logistic regression (#13807) 2019-05-22 09:57:15 -04:00
Guillaume Lemaitre 8a8e21b2a3 MNT Change the default value of n_estimators in forests (#13803) 2019-05-09 21:19:20 +08:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
Guillaume Lemaitre 1e2e8471fb API use 'drop' to disable estimators in voting (#13780) 2019-05-07 10:06:17 +10:00
Guillaume Lemaitre 8d3b4ff3ee FIX Allow to disable estimator and passing weight in Voting estimators (#13779) 2019-05-06 18:10:02 +08:00
Ramil Nugmanov d94e2a2f00 FEA VotingRegressor (#12513) 2019-04-10 21:27:17 +10:00