Commit Graph

167 Commits

Author SHA1 Message Date
Adrin Jalali 51c8e0e19d
CLN replace authors with the standard line (#29250) 2024-06-17 17:57:02 +00:00
Adrin Jalali 55ca335e42
CLN use new license notice line (#29246) 2024-06-13 15:51:09 +02:00
Olivier Grisel 5d92c35387
DOC improve the cost-sensitive learning example (#29149)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2024-06-03 09:22:15 +02:00
João Morais 78f0c0000a
DOC Removing warnings from plot CV examples (#29072) 2024-05-22 12:39:56 +00:00
Adrin Jalali 34db65a3ad
DOC use pydata-sphinx-theme for the website (#29038)
Co-authored-by: Yao Xiao <108576690+Charlie-XIAO@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-20 19:36:54 +02:00
Adrin Jalali 28c9f50991
DOC fix dollar sign to euro sign (#29020)
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-14 22:02:20 +02:00
Guillaume Lemaitre 1e49c34c7e
FEA add TunedThresholdClassifier meta-estimator to post-tune the cut-off threshold (#26120)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Omar Salman <omar.salman@arbisoft>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Soledad Galli <solegalli@protonmail.com>
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Joel Nothman <joeln@canva.com>
Co-authored-by: Jérémie du Boisberranger <jeremie@probabl.ai>
2024-05-03 16:15:25 +00: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
Jakub Kaczmarzyk dd3d4512ce
DOC fix typo in an example (#27815) 2023-11-22 16:09:37 +01:00
Guillaume Lemaitre 286f0c9d17
DOC fixes references issues given by sphinx (#27432) 2023-10-03 20:25:29 +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
Guillaume Lemaitre 8cac52f9d1
FEA add ValidationCurveDisplay in model_selection module (#25120)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-06-14 17:08:43 +00:00
Dimitri Papadopoulos Orfanos 2fd022d972
MAINT Fix typos found by codespell (#26448) 2023-05-31 10:19:21 +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
Stanislav (Stanley) Modrak 58263588fd
DOC Fix y-axis plot labels in permutation test score example (#26240) 2023-04-25 15:42:31 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Yao Xiao bb72ec0e8e
ENH RocCurveDisplay add option to plot chance level (#25987) 2023-03-30 15:18:52 +00:00
Tim Head 49a937e974
Remove loguniform fix, use scipy.stats instead (#24665)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-03-23 15:52:14 +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 758fe0d9c7
FEA add LearningCurveDisplay to show plot learning curve (#24084)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2022-11-24 14:31:47 +01:00
Arturo Amor 43550f011a
DOC Fix FutureWarning in plot_successive_halving_heatmap.html (#24968)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-17 15:41:51 +01:00
Arturo Amor c80d0a9f27
DOC Rework Detection Error Tradeoff example (#24818)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-03 18:26:00 +01:00
Chiara Marmo 0b978cb86f
DOC Fix inline interpreted text start-string without end-string. (#24734) 2022-10-28 11:50:39 +02:00
Arturo Amor 2335a8e831
DOC Improve narrative of plot_roc_crossval example (#24710)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-10-24 11:17:06 +02:00
Arturo Amor a8f085859f
DOC Rework plot_roc.py example (#24200)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-10-13 14:43:16 +02:00
Arturo Amor 851d02f2ae
DOC Rework plot_grid_search_text_feature_extraction.py example (#23740)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-09-15 10:10:01 +02:00
Christine P. Chai 5e6bb661c5
DOC Correct a typo: this -> these (#24192) 2022-08-17 09:10:31 -04:00
Christine P. Chai c22fc632fe
Moved location of legend (#24166)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-08-12 09:58:13 +02:00
Maxi Marufo 480ec9596b
DOC Adds 'scoring' to plot_learning_curve example (#16900)
Co-authored-by: Maximiliano Marufo <maximiliano@caseable.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-07-29 10:21:53 +02:00
Olivier Grisel 96e5f25730
DOC improve examples/model_selection/plot_grid_search_digits.py (#23956) 2022-07-20 16:33:44 -04:00
Chiara Marmo 1c42174b80
[MRG] Update gridsearch example for multimetric scoring. (#22279)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Pratik Chowdhury <pratikc@live.co.uk>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@localhost.localdomain>
2022-07-07 09:05:19 +02:00
Arturo Amor 9d4819791b
FEA Add positive and negative likelihood ratios to metrics (#22518)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-05-17 10:39:48 +02:00
Andreas Mueller e3b4b9ce6f
DOC use unequal group sizes in example (#16354)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-04-08 23:56:21 -04:00
cdrig e5930594db
format notebook plot_roc_crossval.py (#22799)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-18 14:58:27 +01:00
Brenden Kadota 3a428086dd
DOC updated to notebook style for grid_search_text_feature_extraction.py (#22558)
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-12 15:40:26 +01:00
Sven Eschlbeck 5137abfb16
Increased speed by adding cv and n_jobs params plot_multi_metric_evaluation.py (#21626)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-02-23 14:08:26 +01:00
Brenden Kadota ca705e8474
DOC Replace image vectorization with built-in fields (#22516) 2022-02-17 17:10:53 +01:00
Brenden Kadota 835904a764
DOC use notebook-style for plot_train_error_vs_test_error (#22440) 2022-02-14 11:45:57 +01:00
KimAYoung 02b41de8fc
DOC Fix deprecation warning in plot_roc (#21911) 2021-12-07 09:43:05 -05:00
sply88 64d2fdb4aa
DOC accelerate plot_successive_halving_iterations.py example #21598 (#21612)
* accelerate plot_successive_halving_iterations.py example #21598

* n_estimators back to 20
2021-11-29 13:43:09 +01:00
Thomas J. Fan deeda9736a
EXA Sort fit times fot score vs fit_times in learning curve example (#21777) 2021-11-25 15:15:31 +01:00
Sven Eschlbeck 7bfa9ccd7c
DOC increase speed in plot_validation_curve.py (#21638)
* Changed n_jobs parameter to increase speed

* Update plot_validation_curve.py

* Update plot_validation_curve.py
2021-11-16 18:52:19 +01:00
sply88 d7ddffe9c1
ENH accelerate plot_randomized_search.py (#21637) 2021-11-16 09:44:40 -08:00
Sven Eschlbeck 263181a96f
ENH Improve speed plot_permutation_tests_for_classification.py (#21649) 2021-11-16 09:14:47 -08:00
Sven Eschlbeck 31a75c004d
DOC increase speed in plot_learning_curve.py (#21628)
* Adapted the number of splits

* Update plot_learning_curve.py

* Update plot_learning_curve.py

Added ``random_state=0`` to call of ``learning_curve``

* Update plot_learning_curve.py

Added ``shuffle=True`` for ``random_state`` to make an impact

* Update examples/model_selection/plot_learning_curve.py

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-11-16 15:07:10 +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