Commit Graph

25 Commits

Author SHA1 Message Date
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
Tilen Kusterle a8efe00876 EXA Use return_X_y=True with load_digits where appropriate (#14359) 2019-07-14 17:10:54 +02:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Hanmin Qin c0bb178389 EXA: fix xlabel and ylabel in plot_cv_digits.py (#13067) 2019-01-30 15:41:37 +01:00
Hanmin Qin 8890b50606 [MRG+1] EXA Set cv=5 in examples (#11856)
* EXA Set cv=5 in examples

* small mistake

* [doc build]

* [doc build]

* cross_val*

* [doc build]

* [doc build]
2018-08-20 15:22:42 -04: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 c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
Rajat Khanduja 2244098532 Updated examples to use pyplot for plotting instead of pylab
Some examples not updated because scripts throw error (probably not
because of the change)
2014-05-15 02:18:07 +05:30
hendrik 8f94ae6d0f PY3 fixed examples 2014-02-15 17:05:08 +01:00
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +02:00
Lars Buitinck 85ec0fd1ae P3K death to the print statement 2013-02-11 23:11:57 +01:00
GaelVaroquaux 252f73c92e COSMIT: pep8, wording, layout 2012-11-08 09:29:07 +01:00
Corey Lynch c14e9c6899 limited range of C cross validation 2012-11-08 09:15:16 +01:00
Corey Lynch f5cf0eec5e added yticks 2012-11-08 09:15:16 +01:00
Corey Lynch 81ff85dc27 added yticks 2012-11-08 09:15:16 +01:00
Corey Lynch 205d658415 added yticks 2012-11-08 09:15:16 +01:00
Corey Lynch e6fd534aaf Took out a save image line 2012-11-08 09:15:15 +01:00
Corey Lynch 5f40bdf0f6 Used more extreme values of C to show a more pronounced error curve.
See the new curve here: http://imgur.com/UF7I4
2012-11-08 09:15:15 +01:00
Corey Lynch 7a2681d52e Changed example svc kernel to be linear, however the error curve ends up flat under the new kernel. 2012-11-08 09:15:15 +01:00
Alexandre Gramfort eb63974a95 FIX: C range in plot_cv_digits 2012-06-08 23:14:49 +03:00
Gael Varoquaux 13028c5bb3 BUG: remove n_jobs=-1 from examples 2012-05-07 22:53:44 +02:00
Andreas Mueller dcc1c7431c COSMIT + MISC pep8, pyflakes, typos and some other cleanup of examples. 2012-04-29 23:13:06 +02:00
Jaques Grobler 1890d6eefa fixed typo,changed 2.2s numbering, fixed 4 examples in exercises 2012-03-12 10:19:01 +01:00
Jaques Grobler 7f155e9d1a moved exercises into seperate folder, neating up 2012-03-09 16:07:50 +01:00