5.0.0 (2019-06-29)
- update dependencies and remove support for Node.js 6 (5efe565)
- Node.js 6 is no longer supported.
7.0.0 (2025-11-14)
- migrate to type:module
- migrate to type:module (f6a914e)
6.0.0 (2023-02-24)
- remove withIterations options and instead export generatorKmeans
4.2.1 (2018-08-15)
4.2.0 (2018-08-15)
4.1.0 (2018-08-11)
4.0.1 (2018-05-24)
- keep initial value for empty centroids (94b0de9)
4.0.0 (2018-05-23)
- implement kmeans++ initialization algorithm (007f3b1)
- kmeans++ is now the default initialization algorithm instead of mostDistant
3.1.0 (2018-05-16)
3.0.1 (2018-05-04)
3.0.0 (2016-10-07)
- remove unneeded array creations in updateClusterID (b2957d5)
- accepts distance function as parameter (68993a1)
- allows to compute a new array of points their cluster id (254f9a9)
- return a generator in the withIterations option (3b4c7c6)
- return the number of iteration done (75fd42e)
- returns the error and the size of each cluster (e85aab7)
- when maxIterations is 0, iterates until converge (220c828)
2.0.0 (2016-09-27)
- initialize the points as parameter (fbe993d)
- initialization: moreDistant initialization (d098f43)
- initialization: random initialization (9e58baf)
- instead of asking for a manual initialization, ask for k and the initialization method
1.0.0 (2016-09-15)
- update package (10dd6be)
- rename option variables to more understandable names