Socket
Socket
Sign inDemoInstall

ml-hclust

Package Overview
Dependencies
8
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml-hclust

Hierarchical clustering algorithms


Version published
Weekly downloads
1.2K
decreased by-16.51%
Maintainers
7
Install size
466 kB
Created
Weekly downloads
 

Changelog

Source

3.1.0 (2021-09-19)

Features

  • export Cluster class (#13)

Readme

Source

hclust

NPM version build status Test coverage 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

Keywords

FAQs

Last updated on 19 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc