Hanmin Qin
1deb95a13e
EXA Improve example plot_svm_anova.py ( #11731 )
2019-01-28 12:57:38 +11:00
Joel Nothman
486f8fc543
DOC fix plot_iris references after files renamed
2019-01-17 23:31:48 +11: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
mferrari3
354c8c3bc3
DOC update SVR plot point size and color ( #12877 )
...
With thanks to @rishikksh20 and @ml4713
2019-01-10 09:42:35 +11:00
Mickaël Schoentgen
2df594564d
EXA Fix several DeprecationWarning: invalid escape sequence in examples ( #12924 )
2019-01-05 12:22:36 +08:00
Hanmin Qin
8890b50606
[MRG+1] EXA Set cv=5 in examples ( #11856 )
...
* EXA Set cv=5 in examples
* small mistake
* [doc build]
* [doc build]
* cross_val*
* [doc build]
* [doc build]
2018-08-20 15:22:42 -04:00
Alex Egg
391209b1a7
DOC fix "class weight" -> "sample weight" comment in plot_weighted_samples.py ( #11804 )
2018-08-14 00:11:21 +03: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
Hanmin Qin
95628bfefb
EXA Get rid of warnings in plot_svm_anova.py ( #11588 )
2018-07-17 15:06:11 +02:00
Andreas Mueller
0b8d362545
[MRG] Examples deprecations ( #11561 )
2018-07-17 00:08:04 -05:00
Joel Nothman
14764061f8
[MRG] DOC fix some sphinx warnings ( #11241 )
2018-06-21 20:43:21 +10:00
Luke M Craig
b03caaa4f8
DOC fix plotting support vectors in SVM example ( #11231 )
2018-06-11 15:22:48 +10:00
Hanmin Qin
68b981f183
MNT Flake8 fix for #8957 (See the Travis failure)
...
I think there's concensus on not to introduce new flake8 errors
cc @amueller
2018-05-24 23:14:58 +08:00
Chris Foster
974ceb51ba
[WIP] Proposed ``C`` parameter clarifications in RBF SVM parameter example ( #8957 )
...
* Proposed rewrite
* Update plot_rbf_parameters.py
use phrasing suggested by @vene.
2018-05-23 15:50:15 -04:00
Nicholas Nadeau, P.Eng., AVS
3e26fc63be
MAINT Fixing Typos ( #11017 )
2018-04-24 09:32:25 +10:00
Mohamed Maskani
34f12da6d6
ENH make_blobs takes list/array as n_samples argument ( #10577 )
2018-02-14 20:58:27 +11:00
Nathaniel Saul
675f9f3a7c
DOC show plot and fix comments ( #9925 )
2017-10-15 23:27:35 +11: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
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
Aarshay Jain
6986e9b5db
[MRG + 1] 18 more examples with matplotlib 2.0 updates ( #8983 )
...
* updated plot_label_propagation_versus_svm_iris.py plot
* updated svm/plot_weighted_samples.py plot
* made semi_supervised/plot_label_propagation_versus_svm_iris.py pep8 compliant
* modified tree/plot_tree_regression.py [size and edgecolor]
* updated tree/plot_tree_regression_multioutput.py [size+color]
* fixed examples/semi_supervised/plot_label_propagation_versus_svm_iris.py for backward compatibility
* neural_networks/plot_mlp_alpha.py - matplotlib2 update
* examples/neural_networks/plot_mlp_alpha.py - pep8 fix
* examples/neighbors/plot_nearest_centroid.py - matplotlib2.0 + pep8 fix
* neighbors/plot_classification.py - matplotlib2.0 + pep8 fix
* examples/neighbors/plot_lof.py - matplotlib2.0 update
* examples/model_selection/plot_underfitting_overfitting.py - matplotlib2.0 + pep8
* examples/mixture/plot_concentration_prior.py - matplotlib2.0 + pep8
* examples/linear_model/plot_logistic_multinomial.py - matplotlib2.0 update
* linear_model/plot_sgd_iris.py - matplotlib2.0 + pep8 fix
* examples/linear_model/plot_sgd_weighted_samples.py - matplotlib2.0 + pep8
* examples/linear_model/plot_sgd_separating_hyperplane.py - matplotlib2.0 update
* examples/feature_selection/plot_permutation_test_for_classification.py - matplotlib + pe8
* examples/linear_model/plot_bayesian_ridge.py - matplotlib2.0 update
* examples/feature_selection/plot_feature_selection.py - matplotlib2.0 update
* examples/feature_selection/plot_f_test_vs_mi.py - matplotlib2.0 + pep8
* examples/feature_selection/plot_f_test_vs_mi.py - matplotlib2.0+ pep8 fix
* examples/model_selection/plot_underfitting_overfitting.py - error fixed
* blue -> black edgecolor fix for 2 examples
2017-06-07 13:23:12 +02: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
Isaac Laughlin
9743579b5a
[MRG+1] Refactoring plot_iris svm example. ( #8279 )
2017-02-23 21:22:26 +11: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
Jonathan LIgo
726c8d999a
Fix plot_svm_margin example plots ( #8051 )
...
* Corrected shift of separating hyperplane that passes through the support vectors
* Fixed signs on yy_down and yy_up
* PEP 8 spacing correction
* Fixed spaces at end of comment for Travis
2016-12-16 15:56:26 -05:00
E. Lynch-Klarup
5c98812eb0
[MRG + 2] updated iris svm example colormap so the three species can be distinguished ( #7611 )
...
* updated iris svm colormap so the three species can be distinguished
* updated colormap to viridis, which is robust to colorblindness
* changing colormap to coolwarm
2016-10-08 19:09:58 -07: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
Saiwing Yeung
c5fd5cbb7e
DOC: fixed typos and one style issue in plot examples
...
The comment in a few example plots refer to "the mesh [x_min, m_max] x
[y_min, y_max]" when it should be "x_max".
Also fixed the spacing in plot_random_forest_embedding.py `[x_min,
x_max] x [y_min, y_max]` to `[x_min, x_max]x[y_min, y_max]` to comply
with the coding style of other files with similar code (like those in
the current pull request).
2016-04-25 11:59:40 +08:00
Kvle Putnam
61a58c54a0
Fix omitted word in SVM-Anova example
2015-12-15 13:18:19 -06:00
Ganiev Ibraim
7602a3f086
It's better to fix a comment
2015-12-02 21:09:56 +03:00
Raghav R V
f67e911124
DOC Modify documentation/examples for the new model_selection module
2015-10-29 16:49:23 +01:00
Arnaud Joly
a90dc38a00
Merge pull request #5546 from johannah/module-svm-colorblind
...
Added colorblind compatibility for svm examples
2015-10-24 23:40:20 +02:00
Alexandre Gramfort
b102d90926
MISC : Y->y
2015-10-23 10:24:46 +02:00
johannah
3fd1473d75
Added colorblind compatibility
2015-10-23 10:13:58 +02:00
rasbt
25a217b016
small typo fix "radius" in rbf kernel
2015-08-16 18:34:54 -04:00
Anish Shah
a7081d797f
[issue #5043 ] fix documentation of callable kernel
2015-08-14 15:40:03 +05:30
edson duarte
bc5155f080
Fixed small typos in SVM examples.
2015-07-14 22:37:08 -03:00
Andreas Mueller
07ce147b84
Merge pull request #4092 from ogrisel/iris-rbf-params-heatmap-example
...
[MRG+1] ENH better RBF parameters heat map
2015-02-25 12:28:19 -06: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
Olivier Grisel
6e0b95fd6d
ENH better RBF parameters heat map
2015-01-13 20:35:07 +01:00
Andreas Mueller
5b247f90e4
move around examples for better structure.
2014-07-17 09:35:30 +02: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
Arnaud Joly
3a4edd0f5c
Merge pull request #2936 from ugurthemaster/master
...
Update plot_svm_regression.py
2014-04-25 21:45:06 +02:00
ugurthemaster
c8a372b1f8
Update plot_svm_regression.py
...
library imports have been moved to top of the file.
2014-03-05 10:55:33 +02:00
Lars Buitinck
03f33ba243
MAINT comment out unused import in example
2014-02-15 17:05:11 +01:00