Commit Graph

21 Commits

Author SHA1 Message Date
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +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
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Hanmin Qin 6f7394953b EXA avoid use of matplotlib.cm.spectral which has been removed (#10764) 2018-03-07 16:49:45 +11:00
Vrishank Bhardwaj ed5a0cac6b [MRG+1] Update docstrings of KMeans.inertia_ (#9920)
[MRG+2] Update docstrings of KMeans.inertia_
2017-10-15 18:56:18 -07:00
Hanmin Qin 32ac22870d [MRG+1] Fix warnings in lgtm.com (remove redundant code) (#9719) 2017-09-14 11:42:58 +02:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
bwignall 34fc4d4214 CLN: Capitalize "Gaussian" in example docstrings 2014-06-01 16:53:23 -04: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
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +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 54385c7565 COSMIT featuers -> features typo 2012-12-22 16:48:17 +01:00
Andreas Mueller d9a6243c98 ENH rename k in clustering examples and doctests to n_clusters 2012-05-30 07:41:34 +02:00
Olivier Grisel 8f7cfdf259 cosmit 2011-12-21 11:16:18 +01:00
Olivier Grisel d3533317eb enable the kmeans stability as an auto examples as the speed is now fast enough 2011-12-21 10:50:31 +01:00
Olivier Grisel f9aacbad22 example script is not meant to be executed when building the doc as it is slow 2011-12-19 19:15:00 +01:00
Olivier Grisel 6db1ff8d0b WIP: n_init refactoring 2011-12-19 16:28:41 +01:00
Olivier Grisel 3f1901cade second experiment on reinit that does not work on high dim sparse data either 2011-11-07 10:37:48 +01:00
Olivier Grisel f87248dcec new example to emphasize issues with current naive reinit scheme on sparse data 2011-11-06 23:50:12 +01:00