Skip to content

Latest commit

 

History

History
120 lines (64 loc) · 3.62 KB

File metadata and controls

120 lines (64 loc) · 3.62 KB

Changelog

5.0.0 (2019-06-29)

chore

  • update dependencies and remove support for Node.js 6 (5efe565)

BREAKING CHANGES

  • Node.js 6 is no longer supported.

7.0.0 (2025-11-14)

⚠ BREAKING CHANGES

  • migrate to type:module

Features

6.0.0 (2023-02-24)

⚠ BREAKING CHANGES

  • remove withIterations options and instead export generatorKmeans

Miscellaneous Chores

4.2.1 (2018-08-15)

4.2.0 (2018-08-15)

4.1.0 (2018-08-11)

4.0.1 (2018-05-24)

Bug Fixes

  • keep initial value for empty centroids (94b0de9)

4.0.0 (2018-05-23)

Features

  • implement kmeans++ initialization algorithm (007f3b1)

BREAKING CHANGES

  • 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)

Bug Fixes

  • remove unneeded array creations in updateClusterID (b2957d5)

Features

  • 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)

Features

  • initialize the points as parameter (fbe993d)
  • initialization: moreDistant initialization (d098f43)
  • initialization: random initialization (9e58baf)

BREAKING CHANGES

  • instead of asking for a manual initialization, ask for k and the initialization method

1.0.0 (2016-09-15)

Chores

BREAKING CHANGES

  • rename option variables to more understandable names

0.1.0 (2015-07-22)