Skip to content

Commit aed4560

Browse files
committed
Updated benchmarks with mlpack
1 parent db40ab7 commit aed4560

File tree

5 files changed

+587
-750
lines changed

5 files changed

+587
-750
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ ________________________________________________________________________________
5858

5959
_________________________________________________________________________________________________________
6060

61+
### Benchmarks
62+
63+
Currently, this package is benchmarked against similar implementations in both Python, R, and Julia. All reproducible benchmarks can be found in [ParallelKMeans/extras](https://github.com/PyDataBlog/ParallelKMeans.jl/tree/master/extras) directory.
64+
65+
![benchmark_image.png](docs/src/benchmark_image.png)
66+
6167
### License
6268

6369
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FPyDataBlog%2FParallelKMeans.jl.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FPyDataBlog%2FParallelKMeans.jl?ref=badge_large)

docs/src/benchmark_image.png

189 KB
Loading

docs/src/index.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,17 @@ Currently, the benchmark speed tests are based on the search for optimal number
192192

193193
_________________________________________________________________________________________________________
194194

195-
|1 million (ms)|100k (ms)|10k (ms)|1k (ms)|package |language|
196-
|:------------:|:-------:|:------:|:-----:|:---------------------:|:------:|
197-
| 666840 | 34034 |709.049 |17.686 | Clustering.jl | Julia |
198-
| 21730 | 2975 |163.771 | 6.444 | ParallelKMeans Lloyd | Julia |
199-
| 11784 | 1339 | 94.233 | 6.6 |ParallelKMeans Hamerly | Julia |
200-
| 17591 | 1074 | 81.995 | 6.953 | ParallelKMeans Elkan | Julia |
201-
| 1430000 | 146000 | 5770 | 344 | Sklearn Kmeans | Python |
202-
| 30100 | 3750 | 613 | 201 |Sklearn MiniBatchKmeans| Python |
203-
| 218200 | 15510 | 733.7 | 19.47 | Knor | R |
195+
|1 million (ms)|100k (ms)|10k (ms)|1k (ms)|package |language |
196+
|:------------:|:-------:|:------:|:-----:|:---------------------:|:---------:|
197+
| 580079 | 47804 |882.486 |17.424 | Clustering.jl | Julia |
198+
| 238716 | 20224 | 721.43 |24.581 | mlpack |C++ Wrapper|
199+
| 22946 | 2844 |177.329 | 6.403 | Lloyd | Julia |
200+
| 11084 | 1160 | 96.67 | 6.459 | Hamerly | Julia |
201+
| 13773 | 1457 | 80.484 | 6.854 | Elkan | Julia |
202+
| 1430000 | 146000 | 5770 | 344 | Sklearn Kmeans | Python |
203+
| 30100 | 3750 | 613 | 201 |Sklearn MiniBatchKmeans| Python |
204+
| 218200 | 15510 | 733.7 | 19.47 | Knor | R |
205+
204206
_________________________________________________________________________________________________________
205207

206208
## Release History

0 commit comments

Comments
 (0)