Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 918 Bytes

hierarchy.rst

File metadata and controls

40 lines (27 loc) · 918 Bytes

Hierarchy

Hierarchical clustering algorithms.

The attribute dendrogram_ gives the dendrogram.

A dendrogram is an array of size (n − 1) × 4 representing the successive merges of nodes. Each row gives the two merged nodes, their distance and the size of the resulting cluster. Any new node resulting from a merge takes the first available index (e.g., the first merge corresponds to node n).

Paris

sknetwork.hierarchy.Paris

Louvain

sknetwork.hierarchy.LouvainHierarchy

Ward

sknetwork.hierarchy.Ward

Metrics

sknetwork.hierarchy.dasgupta_cost

sknetwork.hierarchy.dasgupta_score

sknetwork.hierarchy.tree_sampling_divergence

Cuts

sknetwork.hierarchy.cut_straight

sknetwork.hierarchy.cut_balanced