Commit Graph

17 Commits

Author SHA1 Message Date
Nathaniel Saul 675f9f3a7c DOC show plot and fix comments (#9925) 2017-10-15 23:27:35 +11: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
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
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 03f33ba243 MAINT comment out unused import in example 2014-02-15 17:05:11 +01:00
Jaques Grobler 9b4799282e SGD and SVC duplicate example sorted 2013-11-03 22:10:57 -08: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
Alexandre Gramfort 3e5f4828f0 FIX : use RandomState rather than global seed 2012-06-03 22:21:14 +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 36fa40a254 MISC Adjusted class_weight param in examples, fixed legend in unbalanced dataset examples. 2012-02-07 09:46:01 +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 e1ecda69b0 ENH: better doc and tests for unbalanced svm's 2011-03-31 12:01:57 +02:00