ward_tree
- sklearn.cluster.ward_tree(X, *, connectivity=None, n_clusters=None, return_distance=False)
Ward clustering based on a Feature matrix.
Recursively merges the pair of clusters that minimally increases within-cluster variance.
The inertia matrix uses a Heapq-based representation.
This is the structured version, that takes into account some topological structure between samples.