Commit Graph

22 Commits

Author SHA1 Message Date
Luke M Craig b03caaa4f8 DOC fix plotting support vectors in SVM example (#11231) 2018-06-11 15:22:48 +10:00
Andreas Mueller de26c30fad DOC Fixup of linear svm separating hyperplane plot (#9471)
* change data, don't regularize, call plt.show
2017-08-06 13:28:08 +10:00
Vathsala Achar 9927982c4e [MRG+1] DOC Simplifying margin plotting in SVM examples (#8501) (#8875)
* Simplifying margin plotting in SVM examples (#8501)

* updated to use contour levels on decision function

* separating unbalanced class now uses a red line to show the change in the decision boundary when the classes are weighted

* corrected the target variable from Y to y

* DOC Updates to SVM examples

* Fixing flake8 issues

* Altered make_blobs to move clusters to corners and be more compact

* Reverted changes converting Y to y

* Fixes for flake8 errors
2017-08-01 15:11:48 -04: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
Gael Varoquaux 833fc05e09 COSMIT simplify a bit examples 2012-05-05 21:57:05 +02:00
Alexandre Gramfort 0a4db5c2a4 DOC : update SVM examples with scale_C 2012-05-05 21:57:04 +02:00
Andreas Mueller 645db95737 ENH adjusted examples to new matplotlib 1.1.1 2012-05-05 20:43:21 +02:00
Alexandre Gramfort 5a7f07adae FIX : fix SVM examples with new scale_C=True 2012-02-22 15:46:54 +01:00
Andreas Mueller 5ad5207dad COSMIT pep8 2011-12-16 22:55:42 +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
Fabian Pedregosa 578154b6d3 PEP8 fixes. 2011-02-03 18:36:57 +01:00
Fabian Pedregosa c777ee7e26 Nicer support vectors in example plot_separating_hyperplane.py
Idea taken from svm_gui.py
2011-02-02 11:53:51 +01: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 0ddfebe89a Update svm examples affected by latest API changes. 2010-10-21 13:02:13 +02:00
Fabian Pedregosa 1a5f412d26 Revert "Update svm examples affected by latest API changes."
This reverts commit 8606d6f010.
2010-10-20 12:13:47 +02:00
Fabian Pedregosa 8606d6f010 Update svm examples affected by latest API changes. 2010-10-20 10:04:15 +02: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