Commit Graph

31 Commits

Author SHA1 Message Date
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
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
Patrick Pei bd4e00b1eb [MRG] DOC Example: Fix minor standard output formatting (#7456) 2016-09-20 08:06:36 +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
Yury Zhauniarovich d9e46314b0 Updated graph ranges
The minimum and maximum values for the graph were not correctly defined.
2015-07-10 14:13:56 +02:00
Joel Nothman 4698481328 DOC fix typo 2014-08-11 10:41:10 +10: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
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +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
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Andreas Mueller d9a6243c98 ENH rename k in clustering examples and doctests to n_clusters 2012-05-30 07:41:34 +02:00
Alexandre Gramfort 3f330f2967 STY : pep8 2011-12-20 15:34:17 +01:00
Gael varoquaux fbe8aed56a COSMIT: layout in plot_kmeans_digits example 2011-11-10 23:04:17 +01:00
Robert Layton e51e4d679b ami_score -> adjusted_mutual_info_score
This time, in examples and docs!
2011-11-07 22:46:11 +11:00
Robert Layton 52fc4c5751 Fixed this example. Tested the others (they worked!) 2011-10-21 21:03:05 +11:00
Robert Layton 193ac024a4 - AMI in the cluster examples
- See Also sections updated
- mutual_information -> mutual_information_score (and updating subsequent imports)
2011-10-21 10:52:42 +11:00
Robert Layton a1f273d1e3 pep8 and pyflakes 2011-10-04 13:22:52 +11:00
Robert Layton 42714e5f9a sampling added to silhouette_score, examples updated to match 2011-10-04 13:13:41 +11:00
Robert Layton 730bdc71b2 Sampling to improve SC speed 2011-10-04 12:50:11 +11:00
Robert Layton 7ff7e1f839 Silhouette calcualted for all forms of k-means in example 2011-10-04 11:29:23 +11:00
Robert Layton 90366b2996 Using pairwise_distances in the Silhouette Coefficient. Updates to docs, code, tests and examples 2011-10-04 11:23:14 +11:00
Lars Buitinck fa50e6885a rename ari_score adjusted_rand_score 2011-09-13 16:50:30 +02:00
Olivier Grisel 75f2617579 FIX: fix broken document clustering example and add ARI to examples 2011-09-10 07:23:46 +02: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
Mathieu Blondel 547e65bb2b Fix plot_kmeans_digits.py. 2011-08-12 18:15:46 +09:00
Robert Layton e4ccc3d169 Small changes based on mblondel's comments. Nothing overly noticable 2011-08-03 21:34:32 +10:00
Robert Layton a550d6cbdf Digits example has plot. 2011-07-29 22:56:10 +10:00
Robert Layton f7ee93fc20 kmeans example renamed 2011-07-29 22:46:52 +10:00