JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10105
  • Score
    100M100P100Q140703F
  • License MIT

Hierarchical clustering algorithms

Package Exports

  • ml-hclust

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ml-hclust) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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