|
4 | 4 | [](https://PyDataBlog.github.io/ParallelKMeans.jl/dev) |
5 | 5 | [](https://www.travis-ci.org/PyDataBlog/ParallelKMeans.jl) |
6 | 6 | [](https://coveralls.io/github/PyDataBlog/ParallelKMeans.jl?branch=master) |
| 7 | +[](https://app.fossa.com/projects/git%2Bgithub.com%2FPyDataBlog%2FParallelKMeans.jl?ref=badge_shield) |
| 8 | +_________________________________________________________________________________________________________ |
| 9 | +**Authors:** [Bernard Brenyah](https://www.linkedin.com/in/bbrenyah/) & [Andrey Oskin](https://www.linkedin.com/in/andrej-oskin-b2b03959/) |
| 10 | +_________________________________________________________________________________________________________ |
| 11 | + |
| 12 | +## Table Of Content |
| 13 | + |
| 14 | +1. [Motivation](#Motivatiion) |
| 15 | +2. [Installation](#Installation) |
| 16 | +3. [Features](#Features) |
| 17 | +4. [Benchmarks](#Benchmarks) |
| 18 | +5. [Pending Features](#Pending-Features) |
| 19 | +6. [How To Use](#How-To-Use) |
| 20 | +7. [Release History](#Release-History) |
| 21 | +8. [How To Contribute](#How-To-Contribute) |
| 22 | +9. [Credits](#Credits) |
| 23 | +10. [License](#License) |
| 24 | + |
| 25 | +_________________________________________________________________________________________________________ |
| 26 | + |
| 27 | +### Motivation |
| 28 | +It's a funny story actually led to the development of this package. |
| 29 | +What started off as a personal toy project trying to re-construct the K-Means algorithm in native Julia blew up after into a heated discussion on the Julia Discourse forums after I asked for Julia optimizaition tips. Long story short, Julia community is an amazing one! Andrey Oskin offered his help and together, we decided to push the speed limits of Julia with a parallel implementation of the most famous clustering algorithm. The initial results were mind blowing so we have decided to tidy up the implementation and share with the world. |
| 30 | + |
| 31 | +Say hello to our baby, `ParallelKMeans`! |
| 32 | +_________________________________________________________________________________________________________ |
| 33 | + |
| 34 | +### Installation |
| 35 | +You can grab the latest stable version of this package by simply running in Julia. |
| 36 | +Don't forget to Julia's package manager with `]` |
| 37 | + |
| 38 | +```julia |
| 39 | +pkg> add TextAnalysis |
| 40 | +``` |
| 41 | + |
| 42 | +For the few (and selected) brave ones, one can simply grab the current experimental features by simply adding the experimental branch to your development environment after invoking the package manager with `]`: |
| 43 | + |
| 44 | +```julia |
| 45 | +dev git@github.com:PyDataBlog/ParallelKMeans.jl.git |
| 46 | +``` |
| 47 | + |
| 48 | +Don't forget to checkout the experimental branch and you are good to go with bleeding edge features and breaks! |
| 49 | +```bash |
| 50 | +git checkout experimental |
| 51 | +``` |
| 52 | +_________________________________________________________________________________________________________ |
| 53 | + |
| 54 | +### Features |
| 55 | + |
| 56 | +- Lightening fast implementation of Kmeans clustering algorithm even on a single thread in native Julia. |
| 57 | +- Support for multi-theading implementation of Kmeans clustering algorithm. |
| 58 | +- Kmeans++ initialization for faster and better convergence. |
| 59 | +- Modified version of Elkan's Triangle inequality to speed up K-Means algorithm. |
| 60 | + |
| 61 | +_________________________________________________________________________________________________________ |
| 62 | + |
| 63 | +### Benchmarks |
| 64 | + |
| 65 | +_________________________________________________________________________________________________________ |
| 66 | + |
| 67 | +### Pending Features |
| 68 | +- [X] Implementation of Triangle inequality based on [Elkan C. (2003) "Using the Triangle Inequality to Accelerate |
| 69 | +K-Means"](https://www.aaai.org/Papers/ICML/2003/ICML03-022.pdf) |
| 70 | +- [ ] Support for DataFrame inputs. |
| 71 | +- [ ] Refactoring and finalizaiton of API desgin. |
| 72 | +- [ ] GPU support. |
| 73 | +- [ ] Even faster Kmeans implementation based on current literature. |
| 74 | +- [ ] Optimization of code base. |
| 75 | + |
| 76 | +_________________________________________________________________________________________________________ |
| 77 | + |
| 78 | +### How To Use |
| 79 | + |
| 80 | +```Julia |
| 81 | + |
| 82 | +``` |
| 83 | + |
| 84 | +_________________________________________________________________________________________________________ |
| 85 | + |
| 86 | +### Release History |
| 87 | + |
| 88 | +- 0.1.0 Initial release |
| 89 | + |
| 90 | +_________________________________________________________________________________________________________ |
| 91 | + |
| 92 | +### How To Contribue |
| 93 | + |
| 94 | +_________________________________________________________________________________________________________ |
| 95 | + |
| 96 | +### Credits |
| 97 | + |
| 98 | +_________________________________________________________________________________________________________ |
| 99 | + |
| 100 | +### License |
| 101 | + |
| 102 | +[](https://app.fossa.com/projects/git%2Bgithub.com%2FPyDataBlog%2FParallelKMeans.jl?ref=badge_large) |
0 commit comments