Commit Graph

41 Commits

Author SHA1 Message Date
Jordan Silke f9321be779
DOC convert examples/cluster/plot_mini_batch_kmeans.py to notebook style (#22900) 2022-03-19 15:04:32 +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 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
mbillingr bbcd153b77 DOC fix cluster ordering in example comparing KMeans and MiniBatchKMeans (#14509) 2019-07-30 16:50:54 +02: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
MechCoder ad758d2069 FIX: Cluster centers after fir in KMeans and MBKMeans need not be ordered in the same way 2015-12-19 23:59:32 -05:00
Qimu Zheng 0e074a009a Fix bug in mini batch kmeans example 2015-12-16 14:19:31 +08: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
Mathieu Blondel 3d772e9034 Add pairwise_distances_argmin. 2013-08-30 22:31:09 +09:00
Mathieu Blondel 70695caf78 Use pairwise_distances_argmin_min in examples. 2013-08-30 22:21:55 +09:00
Jaques Grobler dbf1e54ca3 rename example title 2013-03-25 20:36:08 +01:00
Jaques Grobler a71f616d3e typo fix and heading changes 2013-03-18 13:52:20 +01:00
Jaques Grobler 122849008c example title change 2013-03-18 13:51:36 +01: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 8199bfd348 ENH fixed ``n_cluster`` to ``n_clusters`` in examples. Thanks @agramfort 2012-05-30 07:41:35 +02: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 30cdbb8da7 fix text position in example 2011-12-21 10:13:46 +01:00
Olivier Grisel 2cbcc1e813 example tweaks 2011-12-20 20:18:08 +01:00
Olivier Grisel 738891562c Merge branch 'master' into minibatch-kmeans-optim 2011-12-20 16:00:31 +01:00
Alexandre Gramfort 3f330f2967 STY : pep8 2011-12-20 15:34:17 +01:00
Andreas Mueller 8d5fd79690 ENH adjust subplots to look good on the web. 2011-12-20 12:38:45 +01:00
Andreas Mueller 48a650000c ENH prettify kmeans vs minibatch kmeans example 2011-12-20 12:38:41 +01:00
Olivier Grisel 6db1ff8d0b WIP: n_init refactoring 2011-12-19 16:28:41 +01:00
Olivier Grisel 3d58c49c06 refactored the init logic for MiniBatchKMeans 2011-11-06 13:43:34 +01:00
Olivier Grisel d17fba0de7 optimize label assignment for dense minibatch and new test 2011-11-03 00:30:53 +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
Lars Buitinck 47f59c304e s/euclidian/euclidean/g 2011-07-23 21:14:10 +02:00
Alexandre Gramfort b2818993c3 ENH : using make_blobs in plot_mini_batch_kmeans 2011-05-18 22:18:40 -04:00
Olivier Grisel fd9919de3a ENH: better / simpler handling of shuffling in MiniBatchKMeans 2011-05-18 02:16:38 +02:00
Gael varoquaux cd9e727492 DOC: cosmit in MiniBatchKMeans docs 2011-05-17 22:57:11 +02:00
Gael varoquaux 08340af0d4 DOC: Prettify MiniBatchKmean example 2011-05-17 21:50:16 +02:00
Nelle Varoquaux 582fa8248c [MiniBatchKMeans] Minor modifications on the examples
Deleted redondant examples
2011-05-17 19:52:38 +01:00
Nelle Varoquaux 1d0b8df77b [MiniBatchKMeans] Updated the example to compare BatchKMeans and MiniBatchKMeans - added the copy_x option to the BatchKMeans 2011-05-15 12:03:24 +01:00
Nelle Varoquaux a3521a5b84 [MiniBatchKMeans] Added an example 2011-05-09 23:00:11 +01:00
Nelle Varoquaux 5bb104f59f [MiniBatchKMeans] Added a fit method to the MiniBatchKMeans 2011-05-07 17:21:50 +01:00
Nelle Varoquaux b6ab08a4d7 [MiniBatchKMeans] PEP8 compliance 2011-05-04 22:00:41 +01:00