Commit Graph

35 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 33e4843e88
MNT remaining clean up for 1.1 (#22643) 2022-03-02 14:01:51 +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
Alex 72bd9f335f
DOC Fix duplicate-word typos (#22454) 2022-02-11 22:47:10 -05: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
Harutaka Kawamura c3db2cdbf5
DOC Use `numpydoc_use_plots` to embed figures for plotting APIs in the documentation (#20705)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-30 13:41:42 +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 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Olivier Grisel f738921eea
MNT skip doctests if matplotlib is not installed (#20347) 2021-06-24 11:50:39 +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
Loïc Estève 365234563e
Set up matplotlib agg backend at the beginning of the tests (#20230)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-17 17:45:53 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
James Budarz 3e64e9e6ce
DOC Clarified n_jobs parallelization in plot_partial_dependence (#19750)
Co-authored-by: James Michael Budarz <james.m.budarz@aexp.com>
2021-03-23 07:46:14 -04:00
Guillaume Lemaitre 2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages (#19005)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Thomas J. Fan f82525ee2f
CLN Deprecations position args in PartialDependenceDisplay.plot (#18293) 2020-11-27 12:34:55 +01: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 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Albert Villanova del Moral 9b1f746ca4
DOC add display in See Also for plotting functions and additional docstring fixes (#18314) 2020-09-03 16:08:23 +02:00
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02: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
Juan Carlos Alfaro Jiménez 547ead6c0c
MNT More replacements of numpy aliases with built-in types (#17707)
* MNT More replacements of numpy aliases with built-in types [scipy-dev]

* MNT More (manual) replacements of numpy aliases

* MNT More (manual) replacements of numpy aliases

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX More deprecations of numpy aliases [scipy-dev]

* MNT Silent numpy aliases warnings [scipy-dev]

* FIX Fix silent deprecations

* Trigger build [scipy-dev]

* FIX Add scape characters [scipy-dev]

* FIX Remove package specification from silent

* Trigger build [scipy-dev]

* Revert
2020-06-26 12:45:03 +02:00
Madhura Jayaratne 45a6ef7b72
FEA Add support for Individual Conditional Expectation (ICE) plots (#16619) 2020-06-15 13:44:44 +02:00
Deeksha Madan cf38502ec4
DOC Fixing defaults in inspection (#17523)
* fixing defaults in inspection

* making changes
2020-06-10 16:05:48 +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
Thomas J Fan 91e942759f
DOC Make release highlights the first gallery section (#16952) 2020-04-27 11:23:15 -04:00
Nicolas Hug b4757f7fe5
ENH add vlines_ attribute to PDP Display to hide deciles (#15785) 2020-04-19 23:28:07 +02:00
Adrin Jalali dc0cc6e9be
[MRG] API kwonly args in impute, inspection, kernel_ridge (#16926)
, and linear_model
2020-04-19 22:58:47 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug 9412f50c8c
ENH Fast PDP for DecisionTreeRegressor and RandomForestRegressor (#15864) 2020-02-24 18:53:55 +11:00
Guillaume Lemaitre d4a3ac4252
MAINT split partial dependence and visualization (#16453) 2020-02-18 21:05:14 +11:00