Commit Graph

45 Commits

Author SHA1 Message Date
Guillaume Lemaitre c08afded99
MAINT remove deprecated base_estimator and base_estimator_ (#27826) 2023-11-24 13:27:02 -05:00
Adrin Jalali 59d5236724
MNT SLEP6: raise NotImplementedError for meta-estimators not supporting metadata routing (#27389) 2023-09-25 13:50:18 +00:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger 9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context (#26473) 2023-06-14 16:52:35 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Jérémie du Boisberranger 9d55835574
MAINT Ensure disjoint interval constraints (#25797) 2023-03-15 14:44:09 -04:00
Thomas J. Fan 83a877416b
MNT Expose allow_nan tag in bagging (#25506) 2023-02-05 15:29:24 +00:00
Guillaume Lemaitre a7cd0ca44d
FIX propagate configuration to workers in parallel (#25363)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-01-20 12:44:35 -05:00
Edoardo Abati 306608e622
MAINT rename and deprecate `base_estimator` in favor of `estimator` in ensemble classes (#23819)
Co-authored-by: Adrian Trujillo Duron <adrian.td96@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-09 11:21:31 +02:00
Jérémie du Boisberranger b4f51fd156
MAINT Clean deprecation for 1.2: n_features_ replaced by n_featues_in_ (#24388) 2022-09-08 11:15:06 -04:00
Thomas J. Fan 02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy (#24301) 2022-08-30 11:01:10 +02:00
Thomas J. Fan f2b085db9b
DOC Fixes docstring for max_features in trees (#23982) 2022-07-25 19:24:57 +02:00
Jiten Sidhpura 89772ff6e2
MAINT validate parameters for BaggingRegressor and BaggingClassifier (#23873)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-07-21 19:16:12 +02:00
Meekail Zain 87bcb97682
MNT Small refactor of `_bagging.py` (#23460)
Co-authored-by: MDouriez <marie.douriez@gmail.com>
2022-05-25 13:48:42 -04:00
Maxwell abbeacc2da
ENH Optimize runtime for IsolationForest (#23252)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-05-04 15:40:56 -04:00
Maxwell 767e9ae7e4
ENH Optimize runtime for IsolationForest (#23149) 2022-04-29 11:12:19 +02:00
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
Jérémie du Boisberranger a9bf7f38d7
FIX delete feature_names_in_ when refitting on a ndarray (#21389)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-23 12:30:05 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Jennifer Maldonado c139c62d3a
DOC Ensures that BaggingRegressor passes numpydoc validation (#20498) 2021-07-10 14:01:25 -04:00
Julio Batista Silva 04edd218ae
DOC Ensures that BaggingClassifier passes numpydoc validation #20377 (#20407)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-29 18:26:42 +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 383b53fa91
FIX Uses code literals in deprecated to prevent linking (#20410)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04: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 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +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
Christian Lorentzen 6852e31da8
ENH Adds n_features_in_ to ensemble module (#19326)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-02-22 21:18:21 +01:00
Martin Hirzel a0ba256dbe
DOC oob_score is only available when bootstrap=True (#19444) 2021-02-15 12:42:51 +00: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
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
マーティン dc01f006c8
DOC Enabling links to objects in docstrings of Bagging (#17467) 2020-06-06 13:05:06 -04:00
Adrin Jalali 97a6b08544
API make __init__ args in ensemble kwonly (#16724) 2020-04-01 06:35:37 +11:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Jin-Hwan CHO baa4f07808
FIX _get_estimators_indices() in BaseBagging (#16437) 2020-02-20 13:23:17 +01:00
lopusz f2146dd744
DOC Cleaning parameter spec in docstrings for ensemble m… (#16330) 2020-02-02 20:14:45 +01:00
Pierre Delanoue 10e7b2b0d8
DOC Improve random_state descriptions for BaggingClassifier (#16264)
and BaggingRegressor
2020-01-29 14:28:38 +01:00
@nkish 07ceb6e255 DOC follow doc guideline in ensemble an feature_extraction modules (#15975) 2020-01-03 15:32:54 +01:00
Natasha Borders 3ca653af12 DOC adding versionadded labels to several estimators (#15476) 2019-11-04 18:25:24 +11:00
Lakshmi Krishnan 5dc3f8bac1 MNT Use _check_sample_weight in BaseBagging (#15475) 2019-11-03 08:51:22 +11:00
Paolo e5429cb7f1 DOC Fix docstrings to Numpy format for IsolationForest (#15454) 2019-11-02 18:53:21 +01:00
steinfurt bc3a7e1a0c [MRG] Add an example for ensemble.BaggingRegressor (#15196) 2019-10-21 10:05:02 +08:00
Adrin Jalali 437ca0553c MNT Makes modules in tree and ensemble private (#14964) 2019-10-16 10:39:00 -04:00