Commit Graph

18 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
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Rishikesh cdd693bf95 [MRG] Modify Svm examples for matplotlibv2 comp (#8456)
* Modify plot_custom_kernel for matplotlib v2 comp

Add `edgecolors` attribute in scatter plot for better visualization
in matplotlib version 2

Issue: #8364

* Modify plot_oneclass.py for matplotlib v2 comp

Add `edgecolors` attribute to scatter plot for better
visualization in matplotlib version 2

Issue: #8364

* Modify plot_rbf_parameters for matplotlib v2

Add `edgecolors` attribute to scatter plot for
better visualization.

Issue: #8364

* Modify plot_separating_hyperplane_unbalanced for matplotlib v2

Add `edgecolors` attribute to scatter plot for better visualization.

Issue: #8364

* Modify plo_svm_kernels for matplotlib v2

Add `edgecolors` attribute to scatter plot for better
visualization.

Issue: #8364

* Modify plot_svm_margin for matplotlib v2 comp

Add `edgecolors` attribute to scatter plot for better
visualization.

Issue: #8364

* Modify plot_svm_nonlinear for matplotlib v2

Add `edgecolors` attribute to scatter plot for matplotlib
version 2 compatibility

Issue: #8364

* Modify file for remove flake8 error

Remove extra white space.

Issue: #8364
2017-03-04 11:22:00 -05:00
edson duarte bc5155f080 Fixed small typos in SVM examples. 2015-07-14 22:37:08 -03:00
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
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
Gael varoquaux 12d2913c74 COSMIT: avoid set_cmap and pcolormesh in example
..and beautify example

set_cmap is bad because it has a side effect

pcolormesh is much slower than imshow and produces unefficient PDFs and
SVGs.
2011-12-30 11:57:17 +01:00
Andreas Mueller 5ad5207dad COSMIT pep8 2011-12-16 22:55:42 +01:00
Andreas Mueller 3578396c40 DOC Nonlinear SVM example changed to satisfy my sense of aesthetics. Hope you like it. 2011-12-16 22:46:28 +01:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00
Alexandre Gramfort ec1514ac19 ENH : more love in examples (adding print __doc__ + some brief descriptions in headers + fixing Anova SVC Pipeline example) 2010-11-02 11:38:06 +01:00
Fabian Pedregosa b6e2e13c7e Refactoring in the svm module.
Create NuSVC as a different class and not as a special case of
SVC. Also added some tests and some doc. It is however still a work in
progress.

Also created issue #101 for encoutered bugs:

https://sourceforge.net/apps/trac/scikit-learn/ticket/101
2010-08-20 16:24:01 +02:00
Gael Varoquaux 03c7d926f6 DOC: Moving examples in a separate directory, final commit (hopefully)
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@703 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-04-23 05:52:16 +00:00