single_linkage_tree_¶
- property PLSCAN.single_linkage_tree_: ndarray[tuple[int, int], dtype[float64]]¶
The full single-linkage dendrogram in scipy linkage format.
A float64 array of shape
(n_samples - 1, 4)(or fewer rows when the input contains multiple connected components). Columns are:0— parent node index1— child node index (leaf indices are in[0, n_samples))2— merge distance (mutual reachability distance)3— size of the child subtree
This format is compatible with
scipy.cluster.hierarchy.dendrogram()and related scipy functions.