Commit Graph

92 Commits

Author SHA1 Message Date
Tialo 9faa522753
DOC Fixed some typos (#27410) 2023-09-19 12:35:02 +02:00
Mateusz Sokół cb15a82e64
MAINT: Remove np.in1d and np.trapz usages (#27140)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-09-06 17:06:31 +02: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
Guillaume Lemaitre 5d145bf760
DOC fixes intersphinx warnings (#26779)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-10 20:25:35 +00: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
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
Jérémie du Boisberranger cad262cf99
DOC Consistent param type for pos_label (#26237) 2023-04-25 13:44:12 -04:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Guillaume Lemaitre 7f1e15d5c2
MAINT Introduce BinaryClassifierCurveDisplayMixin (#25969)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-03 14:43:58 -04:00
Yao Xiao bb72ec0e8e
ENH RocCurveDisplay add option to plot chance level (#25987) 2023-03-30 15:18:52 +00:00
Guillaume Lemaitre 01b9050b69
MAINT introduce _get_response_values and _check_response_methods (#23073)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-24 18:15:08 +01:00
Dave Berenbaum 01e1f9705e
ENH Add drop_intermediate parameter to metrics.precision_recall_curve (#24668)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-03-24 17:30:23 +01:00
Loïc Estève eaa06ac621
CI Update lock files (#25849) 2023-03-15 11:36:20 +01:00
maximeSaur 8a9635f588
MAINT Parameters validation for classification.confusion_matrix (#25141)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-12-27 17:27:05 +00: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
Guillaume Lemaitre b22f7fa552
MNT numpydoc validation for Displays (#21469)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-09-26 23:54:29 +02:00
Jérémie du Boisberranger ee5d4ce151
MAINT Clean deprecation for 1.2: plot functions (#24445) 2022-09-16 17:07:25 +02:00
Maria Telenczuk 37e2ffd7a1
DOC Ensure plot_det_curve passes numpydoc validation (#24334) 2022-09-03 10:53:15 +02:00
Thomas J. Fan dffe9dd4fe
ENH Adds text_kw to ConfusionMatrix (#24051) 2022-08-11 12:14:15 +02:00
Duarte OC a366d5c323
Typo in deprecation of plot_roc_curve function (#23489) 2022-05-30 11:44:15 +02:00
Guillaume Lemaitre be38c959ea
DOC add a note regarding no-interpolated PR curve (#23298) 2022-05-06 22:43:03 +02:00
Thomas J. Fan c887fa93b8
DOC Fix version added of ConfusionMatrix.from_predictions (#23088) 2022-04-09 23:19:43 +02:00
Daniela Fernandes 070ba08941
DOC Ensures that sklearn.metrics._plot.confusion_matrix.plot_confusion_matrix passes numpydoc validation (#22842) 2022-03-22 01:22:10 +01:00
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +01:00
Thomas J. Fan 13174b1659
ENH Adds im_kw to ConfusionMatrixDisplay (#20753)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-03-07 13:34:06 +01:00
slishak 6c09bab585
DOC Correct docstring for RocCurveDisplay.from_predictions (#22444) 2022-02-10 17:58:20 -05:00
Ross Barnowski 24106c2149
DOC Fix incorrect heading underline length in docstrings (#22278) 2022-01-24 09:58:33 -05:00
MrinalTyagi 863bbc07b3
DOC Ensures that plot_roc_curve passes numpydoc validation (#21547)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-29 15:15:14 +01:00
Guillaume Lemaitre 722dd1509c
TST add unit tests for current _get_response (#21041)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-09-18 11:20:41 -04:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Guillaume Lemaitre d21847c4f4
FIX use same API for CalibrationDisplay than other Display (#21031)
* FIX use same API for CalibrationDisplay than other Display

* Update sklearn/calibration.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* iter

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-09-14 10:57:02 +02:00
Guillaume Lemaitre f46190846c
API add from_estimator and from_predictions to RocCurveDisplay (#20569)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-09-03 17:19:46 +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
Lucy Liu da36f72cc2
ENH Add CalibrationDisplay plotting class (#17443)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-31 09:43:05 +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
Guillaume Lemaitre 8b23a61d87 FIX change error message in DetCurveDisplay test 2021-08-07 12:10:51 +02:00
shinehide c4bbc04cae
ENH improve error message in _get_response function (#20618) 2021-08-07 11:28:00 +02:00
Guillaume Lemaitre d753d4dc1a
API deprecate plot_det_curve in favor of display class methods (#19278) 2021-08-06 17:36:24 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 383b53fa91
FIX Uses code literals in deprecated to prevent linking (#20410)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +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
Thomas J. Fan 7f308675a7
FIX Uses the color max for colormap in ConfusionMatrixDisplay (#19784) 2021-06-07 16:39:34 -07: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
Marco Gorelli e3e4a778d3
MNT Remove absolute imports (#19668) 2021-03-14 12:36:49 +01:00
Thomas J. Fan 95fa18f278
TST Fixes docstring ordering and test_docstring_parameters (#19048) 2021-02-12 11:35:05 +01:00
Lucy Liu 5ef9fa443f
DOC replace plot_confusion_matrix in See Also section (#19277) 2021-01-26 10:27:41 +01:00
Guillaume Lemaitre 8c6a045e46
ENH/DEP add class method and deprecate plot function for confusion matrix (#18543)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-01-22 19:57:41 +01:00
Nadim Kawwa 1924b0aa89
DOC Updates confusion_matrix.py to match parameter in code(#18938) 2020-12-04 11:56:36 -05:00