- Notifications
You must be signed in to change notification settings - Fork6
Hierarchical clustering in JavaScript
License
NotificationsYou must be signed in to change notification settings
mljs/hclust
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hierarchical clustering algorithms in JavaScript.
npm i ml-hclust
const{ agnes}=require('ml-hclust');consttree=agnes(data,{method:'ward',});
- 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
npm installnpm test
About
Hierarchical clustering in JavaScript