Skip to content

Commit e584cfc

Browse files
committed
Draft release of v0.1.3
1 parent fa8cca8 commit e584cfc

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ParallelKMeans"
22
uuid = "42b8e9d4-006b-409a-8472-7f34b3fb58af"
33
authors = ["Bernard Brenyah", "Andrey Oskin"]
4-
version = "0.1.2"
4+
version = "0.1.3"
55

66
[deps]
77
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"

docs/src/index.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# [ParallelKMeans.jl Package](https://github.com/PyDataBlog/ParallelKMeans.jl)
22

3-
```@contents
4-
Depth = 4
5-
```
6-
73
## Motivation
84

95
It's actually a funny story led to the development of this package.
@@ -61,13 +57,14 @@ git checkout experimental
6157
- [X] Interface for inclusion in Alan Turing Institute's [MLJModels](https://github.com/alan-turing-institute/MLJModels.jl#who-is-this-repo-for).
6258
- [X] Full Implementation of Triangle inequality based on [Elkan - 2003 Using the Triangle Inequality to Accelerate K-Means"](https://www.aaai.org/Papers/ICML/2003/ICML03-022.pdf).
6359
- [ ] Implementation of [Geometric methods to accelerate k-means algorithm](http://cs.baylor.edu/~hamerly/papers/sdm2016_rysavy_hamerly.pdf).
60+
- [ ] Support for other distance metrics supported by [Distances.jl](https://github.com/JuliaStats/Distances.jl#supported-distances).
6461
- [ ] Native support for tabular data inputs outside of MLJModels' interface.
6562
- [ ] Refactoring and finalizaiton of API desgin.
6663
- [ ] GPU support.
67-
- [ ] Even faster Kmeans implementation based on recent literature.
64+
- [ ] Implementation of other K-Means algorithm variants based on recent literature.
6865
- [ ] Optimization of code base.
6966
- [ ] Improved Documentation
70-
- [ ] More benchmark tests
67+
- [ ] More benchmark tests.
7168

7269
## How To Use
7370

@@ -105,8 +102,8 @@ r.converged # whether the procedure converged
105102

106103
- [Lloyd()](https://cs.nyu.edu/~roweis/csc2515-2006/readings/lloyd57.pdf)
107104
- [Hamerly()](https://www.researchgate.net/publication/220906984_Making_k-means_Even_Faster)
105+
- [Elkan()](https://www.aaai.org/Papers/ICML/2003/ICML03-022.pdf)
108106
- [Geometric()](http://cs.baylor.edu/~hamerly/papers/sdm2016_rysavy_hamerly.pdf) - (Coming soon)
109-
- [Elkan()](https://www.aaai.org/Papers/ICML/2003/ICML03-022.pdf) - (Coming soon)
110107
- [MiniBatch()](https://www.eecs.tufts.edu/~dsculley/papers/fastkmeans.pdf) - (Coming soon)
111108

112109
### Practical Usage Examples
@@ -175,9 +172,10 @@ ________________________________________________________________________________
175172

176173
## Release History
177174

178-
- 0.1.0 Initial release
179-
- 0.1.1 Added interface for MLJ
180-
- 0.1.2 Added Elkan algorithm
175+
- 0.1.0 Initial release.
176+
- 0.1.1 Added interface for MLJ.
177+
- 0.1.2 Added Elkan algorithm.
178+
- 0.1.3 Faster & optimized execution.
181179

182180
## Contributing
183181

src/mlj_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function MMI.transform(m::KMeans, fitresult, Xnew)
142142
DMatrix = convert(Array{Float64, 2}, MMI.matrix(Xnew, transpose=true))
143143
end
144144

145-
# TODO: Warn users if fitresult is from a `non-converged` fit?
145+
# Warn users if fitresult is from a `non-converged` fit
146146
if !fitresult[end].converged
147147
@warn "Failed to converged. Using last assignments to make transformations."
148148
end

0 commit comments

Comments
 (0)