Commit Graph

45 Commits

Author SHA1 Message Date
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
Guillaume Lemaitre 45bc7d98b8
BUG fix the math issue in latex compilation (#16673) 2020-03-11 09:55:14 +01:00
Chiara Marmo e9340e3f4b
[MRG] DOC Add example about interpretation of coefficients of linear models (#15706)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-03-11 09:59:23 +11:00
Olivier Grisel a83b8e0d48 DOC Fix yticklabels order in permutation importances example (#15799)
* Fix yticklabels order in permutation importances example

* Trigger ci
2019-12-05 23:39:18 +01:00
Brian Wignall c4733f4895 MNT Fix some easy-to-make typos (#15720) 2019-11-26 06:31:40 -06:00
Guillaume Lemaitre 2e881f5d35 ENH get column names by default in PDP when passing data… (#15429) 2019-11-07 16:38:55 -05:00
Guillaume Lemaitre 7ea7861482 ENH Add support for dataframe in PDP (#14028) 2019-10-31 12:24:39 -04:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
Thomas J Fan 74621868d8 [MRG] ENH Only places ylabel on the left most plot in plot_partial_dependence (#15339) 2019-10-25 08:08:20 +11:00
Thomas J Fan 19a473e77d [MRG] DOC Lines up features in permutation importance example (#15292) 2019-10-19 23:30:23 +11:00
Chiara Marmo 6bd8df099f DOC Fix warnings about references and links (#14976) 2019-09-23 11:49:08 -04:00
Adrin Jalali f7a987ab53 DOC adds a random seed to plot_permutation_importance example (#15058) 2019-09-23 11:11:12 -04:00
Thomas J Fan 97185ecd3e FEA Adds Plotting API to Partial Dependence (#14646) 2019-09-20 11:03:00 +02:00
Olivier Grisel 9d62e2bb41
DOC improve the PDP example (#14842) 2019-08-29 17:56:03 +02:00
ttang131 3d9fefce4e MAINT Remove redundant parameters in examples (#14792) 2019-08-24 22:53:18 -04:00
Thomas J Fan d1c52f402c [MRG] Adds Permutation Importance (#13146)
* ENH Adds files

* ENH Adds permutation importance

* RFC Better names

* STY Flake8

* ENH: Adds inspect module

* DOC Adds pre_dispatch

* DOC Adds permutation importance example

* Trigger CI

* BLD Adds inspect to configuration

* RFC Update to only inspect fitted model

* RFC Removes parameters

* ENH: Adds pandas support

* STY Flake8

* DOC Adds new permutation importance example

* ENH Renames module to model_inspection

* DOC Fix links

* DOC Fixes image link

* DOC Fixes image link

* DOC Spelling

* DOC

* TST Fix keyword

* Rework RF Imp vs Perm Imp example (#4)

* WIP

* WIP

* WIP

* DOC Adds multcollinear features example

* WIP

* DOC: Clean up docs

* TST Adds tests for strings

* STY Indent correction

* WIP

* ENH Uses check_X_y

* TST Adds test with strings

* STY Fix

* TST Adds column transformer to test

* CLN Address comments

* CLN Removes import

* TST Adds test with nan

* CLN Removes import

* ENH Parallel

* DOC comments

* ENH Better handling of pandas

* ENH Clear checking of pandas dataframe

* STY Formatting

* ENH Copies in parallel helper

* DOC Adds comments

* BUG Fix copying

* BUG Fix for pandas

* BUG Fix for pandas

* REV

* BLD Trigger CI

* BUG Fix

* BUG Fix

* TST Does this work

* BUG Fixes test

* BUG Fixes test

* BUG Fix

* BUG Fix

* BUG Fix

* STY Fix

* TST Fix

* TST Fix segfault

* CLN Address comments

* CLN Address comments

* ENH Returns a bunch

* STY Flake8

* CLN Renames bunch key

* DOC Updates api

* DOC Updates api

* TST Adds permutation test with linear_regression

* DOC update

* DOC Fix label cutoff

* CLN Address comments

* TST Adds test for random_state effect

* DOC Adds permutation importance

* DOC Adds ogrisel suggestion

* DOC Address guillaumes comments

* DOC Address andreas comments

* DOC Update
2019-07-17 13:16:00 -04:00
Nicolas Hug 0eaaeafd1b EHN Fast PDPs for histogram-based GBDT (#13769) 2019-07-11 14:52:55 +02:00
Nicolas Hug 6b7dc9bc30 FEA Partial dependence plots (#12599) 2019-04-24 22:52:15 +10:00