Guillaume Lemaitre
e67581c1aa
DOC clarify fit of the models with/without sample weights ( #22319 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-01-28 15:35:10 +01:00
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
Alex Egg
391209b1a7
DOC fix "class weight" -> "sample weight" comment in plot_weighted_samples.py ( #11804 )
2018-08-14 00:11:21 +03:00
Andreas Mueller
0b8d362545
[MRG] Examples deprecations ( #11561 )
2018-07-17 00:08:04 -05: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
Alexandre Gramfort
b102d90926
MISC : Y->y
2015-10-23 10:24:46 +02:00
edson duarte
bc5155f080
Fixed small typos in SVM examples.
2015-07-14 22:37:08 -03:00
Andreas Mueller
b54ecb6e8c
TST small improvement of test for sample weight in svm
2013-07-26 15:06:57 +02:00
Andreas Mueller
dd097e748f
DOC improve svm sample weight example
2013-07-26 15:06:57 +02: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
Fabian Pedregosa
d8c80ab6e9
Explitit cmap for background.
...
After set_cmap was removed in e749771f , the background was meaningless
IMHO. This recovers its original aspect.
2012-05-21 10:43:03 +02:00
Andreas Mueller
e749771faa
MISC don't use ``set_cmap``
2012-05-05 20:43:21 +02:00
Andreas Mueller
645db95737
ENH adjusted examples to new matplotlib 1.1.1
2012-05-05 20:43:21 +02: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
Alexandre Gramfort
52f9e4676a
Merge branch 'neighbor_barycenter'
...
closing https://github.com/scikit-learn/scikit-learn/pull/23
ENH : adding kneighbors_graph to build the graph of neighbors as a sparse matrix
ENH : adding NeighborsBarycenter for regression pbs using k-NN
MISC : reindenting BallTree C++ code (no tabs + 4 spaces)
API : rename k->n_neighbors
DOC: adding NeighborsBarycenter to doc
Conflicts:
examples/svm/plot_weighted_samples.py
2010-12-02 15:23:21 -05:00
Fabian Pedregosa
cb50708c93
Cosmetic changes in plot_weighted_samples.py
2010-11-29 12:30:45 +01:00
Alexandre Gramfort
c9abe509af
pep8 in plot_weighted_samples.py
2010-11-27 18:21:05 -05:00
Fabian Pedregosa
ecce971725
Initial support for weighted samples in svm module.
...
Also added test for the dense and sparse case.
2010-11-26 13:44:24 +01:00