Commit Graph

1616 Commits

Author SHA1 Message Date
Thomas J. Fan d4aad64b1e
MNT Update to black 22.3.0 to resolve click error (#22983)
* MNT Update to black 22.3.0 to resolve click error

* STY Update for new black version
2022-03-29 12:04:41 +02:00
Thomas J. Fan 4408dfb86b
FIX Removes warning in HGBT when fitting on dataframes (#22908) 2022-03-25 10:56:49 +01:00
Jérémie du Boisberranger 9205fb4b11
TST Fix test failing scipy nightly (#22935) 2022-03-24 09:23:56 -04:00
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
ShanDeng123 f5d3a8bf38
TST Removes pytest.warns(None) in test_iforest (#22874)
Co-authored-by: Shan-Deng <45984816+Shan-Deng@users.noreply.github.com>
2022-03-18 16:36:43 +01:00
Thomas J. Fan c176beadf8
MAINT Import from public SciPy in pubilc namespace (#22875)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-17 11:59:23 +01: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
Thomas J. Fan 692225dd2c
ENH Add feature_names_out to voting estimators (#22697) 2022-03-08 20:49:59 +01:00
Maxwell 26f5b26273
ENH Add get_feature_names_out for RandomTreesEmbedding module (#21762)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-08 19:29:22 +01:00
Thomas J. Fan c2d0dcbce1
ENH Adds feature_names_out to stacking estimators (#22695) 2022-03-08 18:59:18 +01:00
Thomas J. Fan 4aeb1adec3
DOC Fixes VotingClassifier.transform docstring (#22698) 2022-03-08 14:48:35 +01:00
Jérémie du Boisberranger d135a0f8db
MNT additional cleaning in test for 1.1 (#22661) 2022-03-03 10:31:02 +01:00
Jérémie du Boisberranger 34f9dbf541
MNT Clean fixes and compat for old versions of our dependencies (#22642)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-02 11:32:06 +01:00
genvalen e0ebc78391
DOC Update documentation of gradient boosting estimators w/ ranges (#22153)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-23 14:44:25 +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
Christian Lorentzen 5ad3421a5b
FEA add quantile HGBT (#21800) 2022-02-22 17:03:14 +01:00
Jérémie du Boisberranger 5c7dac0131
FIX Missing num_threads in some HGBT pranges (#22566)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-02-21 17:04:14 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Alex 72bd9f335f
DOC Fix duplicate-word typos (#22454) 2022-02-11 22:47:10 -05:00
Thomas J. Fan 4ff0767087
ENH Better error message for check_scalar (#22218)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-11 16:15:30 +01:00
Thomas J. Fan 5f75acdd12
MNT Bump joblib version dependency to 1.0.0 (#22365) 2022-02-09 13:47:18 +01:00
genvalen b80138fccb
MAINT Use check_scalar in BaseGradientBoosting (#21632)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-07 15:32:22 -05:00
Thomas J. Fan 9f85c9d449
TST Better info when checking for no warnings in tests (#22362) 2022-02-03 11:42:48 +01:00
Meekail Zain 9f96d42e39
ENH Replaced RandomState.rand with equivalent uniform (#22327) 2022-02-01 17:09:38 -05:00
Hideaki Imamura a0c0ca22e3
TST Accelerating ensemble/tests/test_gradient_boosting.py::test_regression_dataset (#21984)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-01 11:25:15 +01:00
genvalen fcbd4e0b75
MAINT Use check_scalar in _BaseVoting (#22204)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-31 10:28:32 +01:00
Guillaume Lemaitre 31aa26b73e
MNT remove mae criterion is GBDT (#21588) 2022-01-28 15:00:44 -05:00
Sultan Orazbayev cd892f9688
DOC use the arxiv directive in the docstrings (#21418)
Co-authored-by: aufarkari <aufar.di.sini@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 17:55:55 +01:00
Olivier Grisel 26e1930abf
MAINT Follow-up on a fix for criterion="poisson" in decision trees (#22306)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-26 19:20:09 +01:00
Christian Lorentzen 2b15b908c1
FIX poisson proxy_impurity_improvement (#22191) 2022-01-26 14:52:27 +01:00
genvalen 7879eb1193
MAINT Use check_scalar in BaseDecisionTree (#21990)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-24 20:25:36 +01:00
genvalen 0b50b8e1ee
DOC Update documentation of weight boosting estimators w/ ranges (#22155)
* Update docs to include accepted range of scalar params

* Update language
2022-01-24 19:48:25 +01:00
Ross Barnowski 24106c2149
DOC Fix incorrect heading underline length in docstrings (#22278) 2022-01-24 09:58:33 -05:00
Thomas J. Fan 7b881fafec
DOC Add example of using drop for Voting* (#22224) 2022-01-19 10:28:28 +01:00
Geoffrey-Paris cd6510f47e
ENH force_all_finite=False before calling _raw_predict (#22159)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-13 14:57:17 +01:00
Christian Lorentzen 4e974e0d5e
ENH Replace loss module HGBT (#20811) 2022-01-11 15:02:41 -05:00
Julien Jerphanion 6a371ae51d
TST Assert error messages for AdaBoost estimators (#22144) 2022-01-07 11:35:14 -05:00
Pieter Gijsbers b242b9dd20
ENH Pass only bootstrap to `_parallel_build_trees` (#22106) 2021-12-31 15:31:37 -05:00
genvalen 3262783043
DOC Update documentation of weight boosting estimators w/ranges (#22097) 2021-12-31 15:27:42 -05:00
Guillaume Lemaitre 5bb18166d4
FIX Corrects negative gradient of AdaBoost loss in GBDT (#22050)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-12-23 10:36:18 -05:00
Mandy Gu 379919dc59
ENH Add optional parameter to return raw data for diabetes dataset (#16605)
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Benjamin Bossan a3e0d4d79f
ENH make CalibratedClassifierCV accept on fit_params (#18170)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 10:35:50 +01:00
genvalen f21f1d7539
MNT Use check_scalar in AdaBoostRegressor (#21605)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-16 17:13:39 -05:00
glennfrutiz b05a56878b
EXA speed up ensemble/tests/test_gradient_boosting (#21903) 2021-12-07 15:32:44 +01:00
Christian Ritter 5f3d1e57a9
[MRG] accelerate stacking-classifier in test_common.py::test_ensemble_heterogeneous_estimators_behavior (#21562) 2021-12-06 20:31:26 +01:00
MrinalTyagi b91ecdcbc5
TST Trying to fix test_parallel_classification (#21896) 2021-12-06 14:12:49 -05:00
glennfrutiz 903e867ec4
[MRG] Speed up test: warm_start_with_oob_score_fails (#21892)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-12-06 18:25:27 +01:00
Guillaume Lemaitre b290da777c
DOC fix versionadded in forest (#21890) 2021-12-06 16:07:54 +01:00
Thomas J. Fan fb53986483
MNT Fixes deprecation error in [scipy-dev] (#21812) 2021-11-30 11:46:32 +01:00
Brian Sun 4d68797e27
ENH Updating defaults for RandomForestRegressor and Classifier (#20803)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-30 00:29:46 +01:00