Commit Graph

325 Commits

Author SHA1 Message Date
Thomas J. Fan d400723a21
FEA Add DecisionBoundaryDisplay (#16061)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-29 16:36:31 +02:00
Jérémie du Boisberranger bb5ab53f94
API Config: change default display to "diagram" (#22856) 2022-03-21 15:43:07 +01:00
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +01:00
Jorge Ciprián 142e388fa0
DOC Clarify the LS term in example (#22156)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2022-03-16 18:19:00 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Maren Westermann cc534f89c5
[DOC] Speed up `plot_gradient_boosting_quantile.py` example (#21666)
Co-authored-by: Maren Westermann <maren.westermann@free-now.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-12-03 00:23:42 +01:00
Sven Eschlbeck f3b36e830b
EXA Update OpenML dataset in plot_gradient_boosting_categorical (#21789) 2021-11-29 07:57:52 -05:00
sply88 f19bf4c406
DOC accelerate plot_gradient_boosting_regularization.py example #21598 (#21611)
* accelerate plot_gradient_boosting_regularization.py example #21598

* speed up by less samples and less trees

* use train_test_split instead of slicing
2021-11-29 13:44:51 +01:00
sply88 832513a7fb
MNT accelerate plot_gradient_boosting_early_stopping.py example (#21609)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-27 18:51:02 -05:00
Thomas J. Fan 17345f9d97
MNT Adjust n_jobs=2 for examples and tests (#21780) 2021-11-25 10:49:26 +01:00
siavrez c9e5067cb1
DOC speed up plot_ensemble_oob.py (#21730)
* After 125, more estimators does not help the model and it improves  runtime by almost 50%

* accelerate plot_ensemble_oob.py changed max_estimator to 150 with step=5
2021-11-24 14:14:28 +01:00
Paul 6a693ac4fb
DOC Speed up example on plot_gradient_boosting_categorical.py (#21634)
* sped up the example by reducing the number of columns and the number of iterators, along with code changes

* removed warning filter as it breaks the CI

* change in a comment

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>

* fixed typo

* made code more robust as per PR comment

* applied black

* applied black

Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
2021-11-24 14:12:23 +01:00
Sven Eschlbeck 90a202d631
ENH Improve speed plot_adaboost_multiclass.py (#21651) 2021-11-16 09:16:58 -08:00
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Guillaume Lemaitre 2ad5f152e8
DOC highlight source of biases feature importances (#21384) 2021-10-21 13:52:25 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Thomas J. Fan 057b82ed18
API Deprecates plot_partial_dependence (#20959)
* API Deprecates plot_partial_dependence

* DOC Adds whats new

* DOC Fixes doc build errors

* CLN Removes feature warning

* CLN Address comments

* DOC Fix docstrings

* TST Skip future warning tests

* DOC Adjust docstrings

* REV Reduce diff

* DOC Adds docstring
2021-09-09 14:25:59 +02:00
Guillaume Lemaitre f46190846c
API add from_estimator and from_predictions to RocCurveDisplay (#20569)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-09-03 17:19:46 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Alihan Zihna deda6e2a5a
EXA improve example of forest feature importances digits (#19429)
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-05-28 16:31:18 -04:00
Nicolas Hug 309f135c32
MNT Remove HistGradientBoosting from experimental (#19799) 2021-04-02 16:40:20 +02:00
Christian Lorentzen b9d6db81ec
[MRG] ENH Consistent loss name for squared error (#19310) 2021-03-19 15:21:34 +01:00
xavier dupré 6a6217f15f
ENH Add mean_pinball_loss metric for quantile regression (#19415)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-02-18 19:43:40 +01:00
Alihan Zihna 920f2257bb
EXA improve example of forest feature importances (#19377)
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-02-08 11:22:41 +01:00
Guillaume Lemaitre 94b81ab2e7
DOC use diagram and simplify pipeline in stacking example (#18830)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-02-01 23:03:46 +01:00
Guillaume Lemaitre 69d6378666
EXA use pipeline in feature engineering example with RF,RT,GBDT (#18835)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-02-01 21:24:22 +01:00
Thomas J. Fan b4453f126f
ENH Add Categorical support for HistGradientBoosting (#18394)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2020-11-16 23:10:12 +01:00
Guillaume Lemaitre 60945b49a5
FIX solved legend issue in PDP (#18713) 2020-11-01 19:27:45 +01:00
Guillaume Lemaitre 2f6e22b398
DOC make warning more obvious in example regarding feature importance (#18024) 2020-07-30 13:19:06 +02:00
Saurabh Jain 00bc681e10
DOC shorten class links in docstring using tilde (#17470)
* added tilde to bunch of files

* Updated _kde.py

Changed array_like to array-like

* Updated _kde.py

Removed space

* updated _kde.py

Added full stop

* PEP8

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00
Roman Yurchak 94f2e9c5d8
DOC simpler block delimitation in sphinx-gallery examples (#17068)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-08 23:23:14 -04:00
Lucy Liu a2d361bf40
DOC Fix wording, typo in plot_voting_regressor.py (#16895)
* wording, typo

* add suggestions

* add n est

* remove n est
2020-04-14 11:27:00 +02:00
Lucy Liu 8122e77bee
DOC Fix typos, wording in plot_gradient_boosting_regression.py (#16894) 2020-04-11 13:15:23 -04:00
Rory Hartong-Redden c84ad60c8c
DOC Fix Confidence Interval Again (#16809) 2020-03-31 19:27:40 -07:00
Nicolas Hug 36ebf3e371
[MRG] Monotonic constraints for GBDT (#15582) 2020-03-24 20:27:00 +01:00
Katrina Ni 104b736d44
DOC add permutation importance to GradientBoostingRegressor (#16742)
* add permutation importance to gbr

* format document

* separate deviance from feature importance during plotting

* add some analysis

* Update examples/ensemble/plot_gradient_boosting_regression.py

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

Co-authored-by: Katrina Ni <kani@tableau.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2020-03-24 10:45:58 +01:00
maikia b65c53d292
DOC plot gradient boosting regression changed to diabetes dataset (#16400) 2020-03-19 09:27:10 +01:00
maikia 48738f7adf
in plot_stack_predictors exchanged boston dataset for Ames housing dataset (#16345) 2020-03-03 15:33:57 +01:00
maikia 3e92edbab8
DOC plot voting regression now uses diabetes dataset (#16387) 2020-02-18 15:46:23 -05:00
Olivier Grisel 54c3a1fbe7
DOC More explicit warnings about impurity based feat. imp. (#16382) 2020-02-05 15:20:20 +01:00
Sunmi Yoon 4a187968ff
DOC Clarify that feature_importance_ are impurity based (#16237) 2020-02-01 13:18:11 +01:00
Eunseop Jeong 2fdfd9e96d DOC fix elapsed time in StackingRegressor example (#15607) 2019-11-12 07:59:57 +01:00
Guillaume Lemaitre bab5926024 FEA: Stacking estimator for classification and regression (#11047) 2019-09-19 06:06:33 +10:00
Thomas J Fan 14f5302b70 DOC Link items explictly (#14817)
* DOC Link items explictly

* STY

* DOC Link another
2019-09-05 11:37:05 +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
Dylan Cashman 0307afa179 DOC VotingClassifier example weights incorrect (#14561) 2019-08-14 17:12:06 -04:00
Sourav Singh f8e4cc495a ENH Add return_X_y to 20_newsgroups and olivetti_faces (#14259) 2019-07-20 10:30:09 +08:00
Martin Oywa 59612a22b3 DOC Fixed Future Warnings by explicitly defining n_estimators = 100 in for the Regressor. (#14159) 2019-06-22 18:03:37 -04:00
Guillaume Lemaitre 9ee164baa3 [MRG] DEP remove legacy mode from OneHotEncoder (#13855) 2019-05-29 21:03:29 +10:00