Nighttime Pachinko Marathon
Wondering what’s next for npm?Check out our public roadmap! »

ml-hclustTypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

hclust

NPM version build status npm download

Hierarchical clustering algorithms in JavaScript.

Installation

npm i ml-hclust

API Documentation

Usage

AGNES

const { agnes } = require('ml-hclust');
 
const tree = agnes(data, {
  method: 'ward',
});

Implemented algorithms

  • AGNES (AGglomerative NESting): Continuously merge nodes that have the least dissimilarity.
  • DIANA (Divisive ANAlysis): The process starts at the root with all the points as one cluster and recursively splits the higher level clusters to build the dendrogram.
  • BIRCH (Balanced Iterative Reducing and Clustering using Hierarchies): Incrementally construct a CF (Clustering Feature) tree, a hierarchical data structure for multiphase clustering
  • CURE (Clustering Using REpresentatives):
  • CHAMELEON

Test

npm install
npm test

Authors

License

MIT

Install

npm i ml-hclust

DownloadsWeekly Downloads

246

Version

3.0.0

License

MIT

Unpacked Size

30.7 kB

Total Files

10

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar