Commit Graph

35 Commits

Author SHA1 Message Date
Sven Eschlbeck fd18ad2396
MNT speed up example plot_svm_scale_c.py (#21625) 2021-11-24 13:51:08 +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
Kanika Sabharwal 8f9a027b38 removed redundant tol paramtere from examples (#14765) 2019-08-24 17:51:47 -04:00
Mickaël Schoentgen 2df594564d EXA Fix several DeprecationWarning: invalid escape sequence in examples (#12924) 2019-01-05 12:22:36 +08:00
Léo DS fb0e0fcf5f [MRG] Fix plot_svm_scale_c.py and plot_discretization_classification.py not to use deprecated plt api (#11586) 2018-07-17 15:48:09 -05:00
Andreas Mueller 0b8d362545 [MRG] Examples deprecations (#11561) 2018-07-17 00:08:04 -05:00
Aman Dalmia 13cc121b30 [MRG] Remove DeprecationWarnings in examples due to using floats instead of ints (#8040) 2017-02-03 15:21:03 +01:00
Raghav R V 4dbab2680e results_ --> cv_results_; "test_mean_score" --> "mean_test_score" et al. 2016-09-06 18:46:09 +02: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
Raghav R V afd5d18b0c [MRG] ENH Restructure grid_scores_ into a dict of 1D arrays
Also, DOC what's new section for model_selection changes
2016-06-16 12:23:04 +10:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
johannah 3fd1473d75 Added colorblind compatibility 2015-10-23 10:13:58 +02:00
Raghav R V 6d23a5828b EXAMPLE/FIX l2 --> squared_hinge; L1/L2 --> l1/l2 2015-02-25 15:34:56 +05:30
Raghav R V c1c8cc1e3a FIX loss, penalty --> penalty, loss 2015-02-25 15:34:56 +05:30
Rajat Khanduja 5e20b8c664 Fixed pep8 violations. Some 'line too long' errors still remain. 2014-05-15 09:23:16 +05:30
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
Olivier Grisel b0035bf9e8 Rename cv_scores(_) back to grid_scores(_) to keep the name free for a future refactoring 2013-07-28 17:10:14 +02:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Jaques Grobler 456b0d010f Merge pull request #1581 from jaquesgrobler/example_gallery_cleanup
MRG Example gallery cleanup
2013-04-18 04:21:05 -07:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02:00
Jaques Grobler a71f616d3e typo fix and heading changes 2013-03-18 13:52:20 +01:00
Andreas Mueller 0c94b55c63 ENH add randomized hyperparameter optimization 2013-03-03 20:56:39 +01:00
Lars Buitinck 837093df7f P3K: use print as a function in the examples
Also corrected some typos, including two people misspelling their own names :)
2013-02-01 15:04:42 +01:00
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Andreas Mueller 9bd0aadaa3 MISC renamed n_iterations to n_iter in all other places. 2012-10-10 19:10:29 +01:00
Andreas Mueller 4bc8822c84 COSMIT pep8 2012-09-04 18:39:25 +01:00
Jaques Grobler e686e38c0a small tweaks 2012-09-04 18:37:26 +01:00
Jaques Grobler 868bcd2ee8 typos and alex`s review changes 2012-09-04 18:37:26 +01:00
Jaques Grobler 656d7012f3 docstring changes 2012-09-04 18:37:25 +01:00
Jaques Grobler 83671099a6 docstring fixes 2012-09-04 18:37:25 +01:00
Jaques Grobler e50fad6558 docstring change 2012-09-04 18:37:25 +01:00
Jaques Grobler 254b1091e2 gael`s suggestions/tweaks 2012-09-04 18:37:25 +01:00
Gael Varoquaux 6b04635da6 DOC: improve scale_c_example 2012-09-04 18:37:25 +01:00
Jaques Grobler 3d02176ce6 Added scale_c fiasco example 2012-09-04 18:37:25 +01:00