Commit Graph

16 Commits

Author SHA1 Message Date
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Loïc Estève db127bd969 [MRG+1] Support minimal dependencies in examples (#10351)
* Support minimal dependencies in examples
* bins="auto" only supported for numpy >= 1.11
* viridis is default cmap in matplotlib 2
* Use signature instead of viridis cmap
2018-01-08 21:36:28 +01:00
Andreas Mueller 2277068c88 remove depreated "plt.hold" that defaults to "on". (#9444) 2017-07-25 09:03:22 +10:00
plagree 1f6ac72df7 [MRG] DOC examples with correct notebook style (#9061)
* DOC examples with correct notebook style

* Modifications in examples/ to avoid unwanted notebook style

* Remove last notebook style example

* Space formatting to avoid notebook style
2017-06-20 14:48:57 +02:00
Rishikesh 93bbe54f6b [MRG+1] Modify General examples for matplotlib v2 comp (#8413)
* Modify plot_cv_predict.py for matplotlib v2 comp

Add `edgecolors` in scatter plot for matplotlib v2.

Issue: #8364

* Modify plot_multilabel.py for matplotlib v2

Add `edgecolors` in scatterr plot for matplotlib v2.

Issue: #8364

* Modify plot_kernel_ridge_regression for matplotlib v2

Add `edgecolors` in scatter plot and `makeredgecolor`
in plot.
Issue: #8364

* Modify plot_kernel_approximation.py for matplotlib v2

Add `edgecolors` in scatter plot for matplotlib v2.

Issue: #8364

* Change plot_kernel_ridge_regression for better plot

Remove `markeredgecolor` for better plot.

Issue:#8364
2017-06-19 20:51:33 +02: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
Tim Head 6673f75828 Update examples to new scorer names 2016-09-06 11:25:11 +02:00
David Thaler 37bfe80e1b FIX Changed zorder so support vectors are clearly visible 2015-12-15 19:29:51 -08:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
Jan Hendrik Metzen 34d0b8dd08 PEP8 Removing PEP8 violations in plot_kernel_ridge_regression.py 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen d24087737e MISC Using RandomState object instead of setting global seed 2015-01-18 11:01:43 +09:00
Jan Hendrik Metzen 4b8a1a782c DOC Resolved minor issues in documentation of kernel_ridge 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen 946e4909ec FIX Fixed assigning colors to methods in KRR example 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen 6c62f87f9b ENH Example comparing KRR and SVR documented and slightly modified 2015-01-18 11:01:42 +09:00
Jan Hendrik Metzen 17b5177156 ADD Example comparing kernel ridge and support vector regression 2015-01-18 11:01:42 +09:00