Commit Graph

24 Commits

Author SHA1 Message Date
Maxwell e5736afb31
API Deprecate max_feature=`auto` for tree classes (#22476)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-23 17:59:23 +01:00
Anavelyz 1fd45fb3d7
DOC Ensures that VotingRegressor passes numpydoc validation (#20450) 2021-07-10 17:19:04 -04:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Christian Lorentzen 2bd3a4db52
ENH Consistent loss name for absolute error (#19733) 2021-05-10 22:10:21 +02:00
Christian Lorentzen b9d6db81ec
[MRG] ENH Consistent loss name for squared error (#19310) 2021-03-19 15:21:34 +01:00
Guillaume Lemaitre 9007dc237c
DOC improve documentation of get/set params (#18285)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-08-31 12:05:53 -04:00
Frans Larsson a675319e93
DOC fix docstring in ensemble module (#18228) 2020-08-21 23:44:21 +02:00
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +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
Pierre Delanoue fe1ec1c11e
DOC Update random_state descriptions for ensemble/_base (#16847) 2020-04-10 08:15:35 -04:00
Adrin Jalali 97a6b08544
API make __init__ args in ensemble kwonly (#16724) 2020-04-01 06:35:37 +11:00
Roman Yurchak 5a4340834d
Fix mypy errors (#16726) 2020-03-30 15:41:05 +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
Chiara Marmo e8928e1f11
ENH Include verbose message when sample_weight is provided. (#16564) 2020-02-28 10:51:43 +01:00
lopusz f2146dd744
DOC Cleaning parameter spec in docstrings for ensemble m… (#16330) 2020-02-02 20:14:45 +01:00
Chiara Marmo 5a02de8957 ENH Add verbose option to VotingClassifier and VotingRegre… (#16069) 2020-01-09 14:15:59 -05:00
@nkish 07ceb6e255 DOC follow doc guideline in ensemble an feature_extraction modules (#15975) 2020-01-03 15:32:54 +01:00
Guillaume Lemaitre 9408203ac4 COSMIT use np.iinfo to define the max int32 (#15960) 2019-12-24 09:41:21 +01:00
m.fab 98cb91b545 DOC numpydoc validation for VotingClassifier (#15497) 2019-11-17 19:29:38 +01:00
Paolo e5429cb7f1 DOC Fix docstrings to Numpy format for IsolationForest (#15454) 2019-11-02 18:53:21 +01: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
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
Adrin Jalali 437ca0553c MNT Makes modules in tree and ensemble private (#14964) 2019-10-16 10:39:00 -04:00