Commit Graph

35 Commits

Author SHA1 Message Date
Jack Liu a794c58692
MNT Replace if_delegate_has_method with available_if in ensemble and semi_supervised (#20545)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 12:25:35 +01:00
Thomas J. Fan c2d0dcbce1
ENH Adds feature_names_out to stacking estimators (#22695) 2022-03-08 18:59:18 +01:00
Meekail Zain 691972a7cf
ENH Allow prefit in stacking (#22215)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Siqi He <siqi.he@upstart.com>
2022-02-22 14:13:18 -05:00
Alex 72bd9f335f
DOC Fix duplicate-word typos (#22454) 2022-02-11 22:47:10 -05:00
baam d43bd8a04b
DOC Ensures that StackingRegressor passes numpydoc validation (#21444) 2021-10-25 10:45:11 +02:00
EricEllwanger 9ed1c65558
DOC Ensure StackingClassifier pass numpydoc validation (#21135)
Co-authored-by: frellwan <frellwan@hotmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-27 11:38:03 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Olivier Grisel d61662b625
ENH feature_names_in_ for sklearn.ensemble (#20818) 2021-08-25 23:40:54 +02: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
Guillaume Lemaitre 95afec8742
TST create instances from exotic estimators for docstring params check (#20243)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-11 18:38:22 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Thomas J. Fan b8903dacee
ENH Adds final_estimator in html repr for Stacking* (#19564) 2021-04-09 11:32:41 +02:00
Alihan Zihna 734ae1f2df
DOC add explicit message regarding shuffling in default CV (#19776)
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-04-09 10:37:15 +02:00
Albert Villanova del Moral 547ed6b182
DOC Improve links in cross_validation's user guide (#18379) 2020-09-24 11:19:09 -04:00
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Thomas J. Fan d1f0d1917d
BUG Fixes stacker compatibility with estimators without n_features_in_ (#17357) 2020-07-09 11:31:04 +02:00
Poorna Kumar 324d3b59ec
DOC Enable links to objects in docstrings (Sprint Issue #17417) (#17488)
* add StackingClassifier docstring links to objects

* add StackingRegressor docstring links to objects

* add AdaboostRegressor docstring links to objects

* add AdaboostClassifier docstring links to objects; also add docstring links to file-level docstring

* fix flake8 violations

* reviewer comments
2020-06-06 16:51:07 -04:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10:00
Adrin Jalali 97a6b08544
API make __init__ args in ensemble kwonly (#16724) 2020-04-01 06:35:37 +11:00
wderose f1acf83468
FIX Pass sample_weight when predicting on stacked folds (#16539) 2020-03-06 16:51:32 -05: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
CastaChick ca78d75e75
DOC Fixed documents that refer to Bunch object #16438 (#16447)
* Added links to utils.Bunch and fixed format of the docstring in datasets

* Added links to utils.Bunch in sklearn.compose

* Added links to utils.Bunch in sklearn.tree

* Added links to utils.Bunch in sklearn.ensemble

* Added links to utils.Bunch in sklearn.inspection

* Added links to utils.Bunch in sklearn.pipeline

* modified docstring of Bunch

* Added links to utils.Bunch to index.rst of sklearn.datasets

* Fixed some docstrings because the lines are too long

* Fixed some points as reviewed.

* Add links and delete 'for more information...'

* Fixed indent

* Fixed forgotten points.

* Fixed some points as reviewed.
2020-02-27 10:04:04 +01:00
lopusz f2146dd744
DOC Cleaning parameter spec in docstrings for ensemble m… (#16330) 2020-02-02 20:14:45 +01:00
judithabk6 05476a1d38
TST Add test for documentation of the classes_ attribute (#16277)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2020-01-31 14:12:43 +01:00
@nkish 07ceb6e255 DOC follow doc guideline in ensemble an feature_extraction modules (#15975) 2020-01-03 15:32:54 +01:00
Brian Wignall 0e10b3a3cb DOC Fix typos, via a Levenshtein-style corrector (#15923) 2019-12-19 16:26:02 -08:00
Guillaume Lemaitre 157813214c TST factorize some common test of ensemble of heterogeneous es… (#15387) 2019-11-06 14:20:53 -05:00
Jon Cusick 132ad99368 ENH Pass original dataset to Stacking final estimator (#15138) 2019-10-30 15:45:48 +11:00
Adrin Jalali 437ca0553c MNT Makes modules in tree and ensemble private (#14964) 2019-10-16 10:39:00 -04:00
Guillaume Lemaitre 7dd03e0870 MAINT add base class for voting and stacking (#15084) 2019-10-04 20:49:28 -04:00
Chiara Marmo 871b251623 DOC Sphinx Unexpected unindent warnings (#15130) 2019-10-04 10:56:32 -04:00
Guillaume Lemaitre 6ea1873856 [MRG] DOC solve rendering set_params in Voting and Stacking (#15074) 2019-09-24 15:55:13 +02:00
Guillaume Lemaitre bab5926024 FEA: Stacking estimator for classification and regression (#11047) 2019-09-19 06:06:33 +10:00