Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-kmeans

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-kmeans - npm Package Versions

2

6.0.0

Diff

Changelog

Source

6.0.0 (2023-02-24)

⚠ BREAKING CHANGES

  • remove withIterations options and instead export generatorKmeans

Miscellaneous Chores

targos
published 5.0.0 •

Changelog

Source

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.

<a name="4.2.1"></a>

stropitek
published 4.2.1 •

Changelog

Source

4.2.1 (2018-08-15)

<a name="4.2.0"></a>

stropitek
published 4.2.0 •

Changelog

Source

4.2.0 (2018-08-15)

<a name="4.1.0"></a>

stropitek
published 4.1.0 •

Changelog

Source

4.1.0 (2018-08-11)

<a name="4.0.1"></a>

stropitek
published 4.0.1 •

Changelog

Source

4.0.1 (2018-05-24)

Bug Fixes

  • keep initial value for empty centroids (94b0de9)

<a name="4.0.0"></a>

stropitek
published 4.0.0 •

Changelog

Source

4.0.0 (2018-05-23)

Features

  • implement kmeans++ initialization algorithm (007f3b1)

BREAKING CHANGES

  • kmeans++ is now the default initialization algorithm instead of mostDistant

<a name="3.1.0"></a>

stropitek
published 3.1.0 •

Changelog

Source

3.1.0 (2018-05-16)

<a name="3.0.1"></a>

targos
published 3.0.1 •

Changelog

Source

3.0.1 (2018-05-04)

<a name="3.0.0"></a>

maasencioh
published 3.0.0 •

Changelog

Source

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)

<a name="2.0.0"></a>

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc