Expand description
Traits§
- Cluster
Summary - The trait you need to implement to provide the algorithm a distance and merging strategy.
- Indexable
Data - The trait you need to implement for the clustering algorithm to access your data.
Functions§
- assign_
rows_ to_ clusters - This assigns a cluster number to each row under the constraint that all clusters must have the same size or be smaller than the provided size.
- create_
dendrogram - This function groups input data into clusters and returns the corresponding dendrogram.
- find_
clusters - This traverses the dendrogram until it finds clusters of the same size or smaller than the given size, and returns these clusters.