Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Thomas J. Fan
9a13bdfaf1
MNT Adds black config and fixes formatting before black ( #19031 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Nicolas Hug
839a2a2fbf
MNT import kmeans from sklearn.cluster ( #15407 )
2019-10-30 16:34:27 +01:00
surgan12
62d2059804
MNT remove __future__ imports ( #12791 )
2019-02-02 22:05:06 +08:00
Hanmin Qin
60be46cd33
API Deprecate externals.six ( #12916 )
2019-01-27 19:16:42 +11:00
Andreas Mueller
952ef6637a
MRG Drop legacy python / remove six dependencies ( #12639 )
2019-01-03 15:50:05 +02:00
Loïc Estève
037f505a9e
MAING make benchmarks scripts Python 3 compatible
2016-11-25 18:45:17 +01:00
Thierry Guillemot
78a674875e
Correct the deprecation of the random_integers numpy function. ( #6712 )
2016-04-26 16:08:48 +02:00
Ken Geis
ca2142ebba
ENH lots of benchmarks fixes
...
* add a title to all benchmark figures/windows
* "bench" is non-standard slang for benchmarking
* remove calls to pyplot.clf because the previous call
to pyplot.figure sets the current figure
* standardize on "Time (s)" as time axis label
* move some benchmark plot legends to the upper left corner of the plot:
most benchmarks expand from (0,0) up and to the right
* simplified plot titles and moved constant info from legend into title
* fixed typos
* made some labels more viewer-friendly
Fixes #2023 .
2013-06-30 17:06:46 +02:00
Ken Geis
dc28e23e4b
FIX mbkmeans benchmark bug (k instead of n_clusters)
2013-06-30 16:51:18 +02:00
Lars Buitinck
541987802f
P3K range vs. xrange
2013-02-14 02:05:35 +01:00
Lars Buitinck
85ec0fd1ae
P3K death to the print statement
2013-02-11 23:11:57 +01:00
Vlad Niculae
fc3e680cf3
Remove chunk_size from k_means
...
This was deprecated in 0.10 as far as I can tell.
2012-09-01 20:02:12 +02:00
Bala Subrahmanyam Varanasi
36d0adb8c1
pep8 compliant
2011-12-17 00:48:40 +05:30
Olivier Grisel
a57c2ae933
more scikits.learn => sklearn updates
2011-09-03 12:57:53 +02:00
Gael varoquaux
ccacfb382b
Cosmit: Fix (some) pyflakes warnings
2011-07-16 23:53:10 +02:00
Nelle Varoquaux
cebecf8335
[MiniBatchKMeans] Added labels and scaled the axis properly on the benchmark plot
2011-05-17 20:46:55 +01:00
Nelle Varoquaux
a56ca0b2ad
[MiniBatchKMeans] PEP8 compliance and small fixed
2011-05-08 14:14:51 +01:00
Nelle Varoquaux
5bb104f59f
[MiniBatchKMeans] Added a fit method to the MiniBatchKMeans
2011-05-07 17:21:50 +01:00
Nelle Varoquaux
632b97b1ea
[MiniBatchKMeans] Added chart showing the speed and the inertia / total number of points depending on the chunk size and number of iteration
2011-05-04 18:41:01 +01:00
Nelle Varoquaux
f890a41958
[MiniBatchKMeans] Added a benchmark
2011-05-01 19:24:50 +01:00