Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02: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
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
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
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
Thomas J. Fan
70a185ae59
MAINT Enable and run black on examples ( #20502 )
2021-10-07 10:13:00 +02:00
Guillaume Lemaitre
266a11b2e1
DOC Update docs guideline regarding docstring formatting ( #18243 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-01-08 12:55:53 -05:00
Oleh Kozynets
d873ed152a
DOC Fix docstring in examples ( #18251 )
...
Co-authored-by: Oleh Kozynets <olehkss@github.com>
2020-08-26 10:07:02 +02:00
Nicolas Hug
ad6fc80425
DOC fix indentation in cv parameter description ( #17161 )
2020-05-08 16:03:43 -04:00
Tilen Kusterle
a8efe00876
EXA Use return_X_y=True with load_digits where appropriate ( #14359 )
2019-07-14 17:10:54 +02:00
H4dr1en
b28aadf6ef
Added fit and score times for learning_curve ( #13938 )
2019-06-14 14:34:26 -04:00
Guillaume Lemaitre
9adba491a2
[MRG] DEP change the default of cv and n_splits ( #13839 )
2019-05-29 23:39:20 +10:00
Mickaël Schoentgen
2df594564d
EXA Fix several DeprecationWarning: invalid escape sequence in examples ( #12924 )
2019-01-05 12:22:36 +08:00
Quentin Batista
4b78d7abf4
DOC: Clarify `cv` parameter description in `GridSearchCV` ( #12495 )
...
#### Reference Issues/PRs
<!--
Example: Fixes #1234 . See also #3456 .
Please use keywords (e.g., Fixes) to create link to the issues or pull requests
you resolved, so that they will automatically be closed when your pull request
is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests
-->
This PR addresses issue #12466 .
#### What does this implement/fix? Explain your changes.
This PR does the 3 following things:
- Rewrite the `cv` parameter description in `GridSearchCV`
- Link the new `CV splitter` description to an existing example
- Add an example with a custom iterable
Thanks for reviewing this!
Close #12466
2018-11-12 15:10:15 -05:00
Hanmin Qin
9b8fd0b0d0
DOC Correct default n_jobs & reference the glossary ( #11808 )
...
Also improves the glossary entry for n_jobs.
2018-08-18 19:57:10 +10:00
Saurabh Gupta
1776a19be6
DOC: add description for 'train_sizes' in examples.model_selection.plot_learning_curve ( #10702 )
2018-02-27 09:00:38 +11:00
Yen
42120e50bb
[MRG+1] Rename CV params n_{folds,iter} to n_splits ( #7187 )
...
* Rename n_iter to n_splits
* Fix bug
* Fix examples
* Add spaces
* Rename n_folds to n_splits
* Fix error
* Fix doc
* Fix doc
* Fix example
* Rename variables name
* PEP8
* Fix error message
* Add whats_new
* Fix test
* Fix doc
* Fix doc
* Make test clear
2016-08-16 13:56:55 -07:00
seales
0485ada58b
General spelling fixes
2015-12-16 09:46:42 -08:00
Raghav R V
f67e911124
DOC Modify documentation/examples for the new model_selection module
2015-10-29 16:49:23 +01:00
Andreas Mueller
5b247f90e4
move around examples for better structure.
2014-07-17 09:35:30 +02:00