Commit Graph

26 Commits

Author SHA1 Message Date
Lucy Liu 7ea267fc73
ENH add `from_cv_results` in `PrecisionRecallDisplay` (#30508)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
2026-02-23 21:20:58 +01:00
Dimitri Papadopoulos Orfanos f1fac05a39
MNT Fix typos found by codespell (#30660)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2025-01-23 06:43:58 +00:00
Yao Xiao 59dd128d4d
ENH `despine` keyword for ROC and PR curves (#26367)
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-10-30 20:00:13 +01:00
Adrin Jalali 3e127a3d5c
MNT Add author/license note where missing and add the linter (#29477)
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
2024-07-22 22:05:03 +02:00
Lucy Liu 0ad90d5153
DOC Improve `plot_precision_recall` (#28967) 2024-07-02 10:56:13 +02:00
Jérémie du Boisberranger 8600fb4cec
MAINT Clean up deprecations for 1.5: in LinearSV* (#28816) 2024-04-12 09:49:27 +02:00
Connor Boyle 173e9d9559
DOC update the formula regarding the computation of the F1-score (#27936)
Co-authored-by: Joel Nothman <joeln@canva.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-01-11 10:50:46 +01:00
mrastgoo bd9b0f69c6
ENH fix x- and y-axis limits and ratio in ROC and PR displays (#26366)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-08-23 16:37:29 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Gleb Levitski b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR (#26093) 2023-05-30 16:54:24 +02:00
Yao Xiao 62389681ea
ENH PrecisionRecallDisplay add option to plot chance level (#26019)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-05-23 01:26:27 +02: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 d4da690822
API add from_estimator and from_preditions to PrecisionRecallDisplay (#20552)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-08-31 10:51:32 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +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
Thomas J Fan 968252dfb4 FEA Adds plot_precision_recall_curve (#14936) 2019-11-10 20:54:35 -06:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Adrin Jalali 2bd87f6ed8 Remove python < 3.5 from CI (#12746) 2018-12-14 10:53:12 +01:00
Roman Yurchak d9a0774afc MAINT Always import signature from sklearn.utils.fixes (#11019) 2018-04-24 09:27:45 +10:00
Loïc Estève db127bd969 [MRG+1] Support minimal dependencies in examples (#10351)
* Support minimal dependencies in examples
* bins="auto" only supported for numpy >= 1.11
* viridis is default cmap in matplotlib 2
* Use signature instead of viridis cmap
2018-01-08 21:36:28 +01:00
Anthony Gitter 59bb32ff71 DOC Add average precision definitions and cross references (#9583) 2017-09-25 20:04:21 +10:00
Gael Varoquaux 494a240862 DOC: Simpler precision-recall example, remove 11pt
Remove the eleven average precision score

Add better tests.
2017-06-10 00:56:16 +02:00
Sachin Agarwal 0cae688f25 plot iso-f1 curves in plot_precision_recall (#8378) 2017-02-20 13:53:51 +01:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
johannah 83430819de Added colorblind compatibility 2015-10-23 19:07:46 +02:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00