Guillaume Lemaitre
8912619e0d
FIX handle outlier detector in _get_response_values ( #27565 )
2023-10-13 12:04:08 +02:00
Guillaume Lemaitre
3597f0bb5d
ENH accept class_of_interest in DecisionBoundaryDisplay to inspect multiclass classifiers ( #27291 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-10-11 10:29:57 +02:00
Carlo Lemos
5e8d8cbd27
ENH Support sample weights in PartialDependenceDisplay.from_estimator ( #26644 )
2023-06-22 17:34:39 +02:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Dimitri Papadopoulos Orfanos
2fd022d972
MAINT Fix typos found by codespell ( #26448 )
2023-05-31 10:19:21 +02:00
Jérémie du Boisberranger
9d41678836
MAINT Clean deprecated pdp_lim as constructor param of PartialDependenceDisplay ( #26426 )
2023-05-24 17:34:30 +02:00
Xiao Yuan
a5b4b14750
MAINT Parameters validation for sklearn.inspection.partial_dependence ( #26209 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-04-26 14:11:14 +00:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Thomas J. Fan
c9810e80c2
API Use grid_values instead of pdp_values in partial_dependence ( #25732 )
2023-03-01 18:05:47 -08:00
Thomas J. Fan
fabe1606da
API Deprecates values in partial_dependence in favor of pdp_values ( #21809 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-02-28 23:44:05 +01:00
Thomas J. Fan
d52e946fa4
MNT Require matplotlib in test_input_data_dimension test ( #25104 )
2022-12-03 13:12:23 +01:00
Arturo Amor
c04724114a
FIX Array validation for DecisionBoundaryDisplay ( #25077 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-12-02 12:10:11 +01:00
Guillaume Lemaitre
86080bbd5f
ENH cartesian accepts mixed dtypes arrays ( #25067 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-11-29 17:02:41 +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
Jérémie du Boisberranger
ee5d4ce151
MAINT Clean deprecation for 1.2: plot functions ( #24445 )
2022-09-16 17:07:25 +02:00
Jérémie du Boisberranger
07c1a58f64
skip if matplotlib not installed ( #23322 )
2022-05-10 16:25:11 +02:00
Guillaume Lemaitre
b0b8a39d8b
FIX DecisionBoundaryPlot should not raise spurious warning ( #23318 )
2022-05-10 14:48:20 +02:00
Jérémie du Boisberranger
56bf428157
TST Speed-up tests in test_plot_partial_dependence.py ( #23281 )
2022-05-04 13:59:56 -04:00
iasoon
426be189b5
TST: replace pytest.warns(None) in test_plot_partial_dependence.py ( #23114 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-04-13 12:04:25 +02:00
Thomas J. Fan
df692c03c1
ENH Reduce copying when centering PDPs ( #23076 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-04-08 22:24:36 +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
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
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
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
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
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Chiara Marmo
04c080aad8
FIX do not plot the legend when kind==individual in PDP ( #18846 )
2020-11-16 17:46:37 +01:00
Guillaume Lemaitre
2631a4549e
FIX make sure that ICE do not have labels ( #18725 )
2020-11-02 16:38:04 +01:00
Guillaume Lemaitre
60945b49a5
FIX solved legend issue in PDP ( #18713 )
2020-11-01 19:27:45 +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
25d9951d90
[MRG] ENH Does not overwrite ylabel in partial dependence if present ( #15776 )
2020-07-29 15:48:45 +02:00
Madhura Jayaratne
45a6ef7b72
FEA Add support for Individual Conditional Expectation (ICE) plots ( #16619 )
2020-06-15 13:44:44 +02:00
Nicolas Hug
ac8cbb3799
[MRG] More deprecation for 0.24 ( #17142 )
...
* normalize_components in sparsePCA
* changed default strategy of Dummy to prior and removed outputs_2d ttribute
* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest
* remove support for drop=None in Voting
* removed some warning decorators
* remove feature_extraction.extract_patches
* removed VectorizerMixin and copy parameter from TFIDFVectorizer
* kernel.set_params now raises attributeerror
* removed fig from plot_partial_dependence
* removed iid parameter of search estimators
* removed brier_scorer
* raise error in split when shuffle is False and random_state is not None
* removed MultiOutputEstimator
* removed base classes of NaiveBayes
* removed drop from pipeline
* removed utils in random_projection
* removed presort and classes_ in trees
* flake8
* fixed some tests
* flake
* fixed docstring
* fixed other one
* some left
* mmmm
2020-05-20 16:04:14 -04:00
Lucy Liu
049d71b070
TST Replace boston dataset in test_plot_partial_dependence ( #17144 )
...
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-05-20 14:51:01 +02:00
Nicolas Hug
b4757f7fe5
ENH add vlines_ attribute to PDP Display to hide deciles ( #15785 )
2020-04-19 23:28:07 +02:00
Guillaume Lemaitre
d4a3ac4252
MAINT split partial dependence and visualization ( #16453 )
2020-02-18 21:05:14 +11:00