Commit Graph

67 Commits

Author SHA1 Message Date
Olivier Grisel 3ab6c8cf0c
MAINT Update fetch_openml to use the auto parser by default (#27802) 2023-11-20 11:20:20 +01:00
Guillaume Lemaitre 73f14ab9f9
DOC fixes pandas deprecation warning in plot_partial_dependence (#27450) 2023-09-25 11:43:04 +02:00
Arturo Amor 06b3b0e891
DOC Rework permutation importance with multicollinearity example (#26221)
Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-08-22 21:43:58 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Loïc Estève c3bfe86b45
EXA Fix rst in plot_partial_dependence (#26028) 2023-03-30 17:30:41 +00:00
Adrin Jalali ddbe557517
MNT make plot_partial_dependence faster (#25806) 2023-03-13 17:11:15 +01:00
Jérémie du Boisberranger 362cb92bb2
MAINT Avoid FutureWarning in plot_partial_dependance (#25802) 2023-03-10 14:43:07 +01:00
Arturo Amor c3340c029b
DOC Improve visibility of warning message on example "Pitfalls in the interpretation of coefficients of linear models" (#25441) 2023-01-20 17:15:36 +01:00
jygerardy c892ade837
DOC Improve documentation regarding some pitfalls in interpretation (#20451)
Co-authored-by: Jean-Yves Gerardy <jygerardy@DKUMBPjygerardy.lan>
Co-authored-by: Jean-Yves Gerardy <jygerardy@DKU-MBP-jygerardy.local>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Tim Head <betatim@gmail.com>
2023-01-11 14:01:47 +01:00
Madhura Jayaratne c1cfc4d4f3
ENH Extend PDP for nominal categorical features (#18298)
Co-authored-by: Jérémie du Boisberranger <jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

Closes https://github.com/scikit-learn/scikit-learn/issues/14969
2022-11-25 17:35:59 +01:00
Tim Head df14322656
ENH Add interaction constraint shortcuts to HistGradientBoosting* (#24849)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-11-25 16:50:37 +01:00
Guillaume Lemaitre 40d7d880ed
FEA add PredictionErrorDisplay (#18020)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-11-25 12:51:46 +01:00
SarahRemus 1bf4ebdd1e
DOC Fix FutureWarning in plot_linear_model_coefficient_interpretation (#24920)
Co-authored-by: ge72mum <ge72mum@mytum.de>
2022-11-14 19:23:26 +01:00
Christian Lorentzen 5ceb8a6a03
ENH FEA add interaction constraints to HGBT (#21020)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-10-11 17:48:45 -04:00
hasan-yaman 00c5c1d43c
DOC Fix typo in random forest feature importance comparison example. (#23484) 2022-05-28 19:58:06 -04:00
Guillaume Lemaitre a47d569e67
ENH improve ARFF parser using pandas (#21938)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2022-05-12 18:21:15 +02:00
Guillaume Lemaitre f2cbedbca5
DOC fix plot of MDI importance (#23272) 2022-05-03 15:57:10 -04:00
Guillaume Lemaitre 3769530e14
DOC improve the random forest feature importance comparison example (#23085)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-04-26 23:19:45 +02:00
Guillaume Lemaitre 5aa95c9920
DOC improve the linear models inspection example (#23082)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-04-20 17:46:28 +02:00
Alan Peixinho 48a3c0b143
EXA: remove matplotlib deprecation warning for plot_partial_dependence (#22654)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-04-08 17:03:46 +02:00
JElfner adb47e7c14
ENH add an option to center ICE and PD (#18310)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-04-07 18:51:27 +02:00
francoisgoupil 5afd5e160b
DOC make plot_permutation_importance example run on VS code (#22752) 2022-03-10 21:09:46 +01:00
Chiara Marmo ede4172296
MNT Fix some warnings in examples (#22660) 2022-03-02 23:58:12 +01:00
JSchuerz 4a52eb6de9
DOC Use :doi: and :arxiv: directives for references (#22603)
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-02 15:15:44 +01:00
Guillaume Lemaitre 111c78214c
ENH kind accept a list of str in plot_partial_dependence (#19438)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-02-17 18:09:06 +01: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
adijohar b84d677517
DOC Update plot_partial_dependence.py (#22013)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-17 22:49:04 +01:00
siavrez 845b1fac9e
MAINT accelerate plot_partial_dependence.py (#21768) 2021-12-15 11:09:07 -05:00
Thomas J. Fan 17345f9d97
MNT Adjust n_jobs=2 for examples and tests (#21780) 2021-11-25 10:49:26 +01: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
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Thomas J. Fan 017eb3fcff
API Change ColumnTransformer parameter name to verbose_feature_names_out (#21080) 2021-09-21 17:16:51 +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
Thomas J. Fan 4abd9f2d9e
API Implements get_feature_names_out for transformers that support get_feature_names (#18444)
Co-authored-by: Andreas Mueller <andreas.mueller@columbia.edu>
Co-authored-by: Andreas Mueller <andreasmuellerml@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-07 10:56:57 +02:00
Mehdi Hamoumi 696ca3de57
ENH Add kwargs to format ICE and PD lines separately in partial dependence plots (#19428)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-08-16 21:58:22 +02:00
Mohamed Khoualed 4797222cc4
DOC fix typos in the user guide linear model documentation (#19554)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-29 18:08:45 +02:00
Ishaan Bhat 9e30508e48
EXA Fix dist matrix in permutation_importance_multicollinear.py (#20239)
Transforming correlation matrix to distance matrix before performing hierarchical clustering
2021-06-18 14:00:01 +02:00
Nicolas Hug 309f135c32
MNT Remove HistGradientBoosting from experimental (#19799) 2021-04-02 16:40:20 +02:00
Ogbonna Chibuike Stephen 94337993ef
EXA remove warning when setting yticks in permutation importances examples (#19385) 2021-02-07 12:19:05 +01:00
Abhinav Gupta a6659f885b
DOC Replacing swarmplot with stripplot to avoid seaborn warning (#19195) 2021-01-18 16:13:19 +01:00
Guillaume Lemaitre b617bd96b8
FIX solve wrong indexing in plots with ICE when subsampling (#18359) 2020-10-30 09:40:49 +01:00
Thomas J. Fan eeddc17a85
ENH Adds missing value support to OneHotEncoder (#17317)
OneHotEncoder supports categorical features with missing values by
considering the missing values as an additional category.
2020-10-09 08:38:33 +02:00
Maren Westermann 19c8b1933b
DOC shorten links in plot_partial_dependence.py (#18273) 2020-08-27 08:10:37 -04:00
Guillaume Lemaitre c8898450aa
EXA add compatibility with scipy 1.5 (#17695) 2020-06-24 12:35:30 +02:00
Madhura Jayaratne 45a6ef7b72
FEA Add support for Individual Conditional Expectation (ICE) plots (#16619) 2020-06-15 13:44:44 +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
Gael Varoquaux 58d28501c5
DOC wording in linear model interpretation example (#16680)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-03-13 09:52:17 +01:00
Guillaume Lemaitre 862a726ca9
BUG remove $ math env due to latex error (#16674) 2020-03-11 11:40:14 +01:00