This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.cluster.hierarchy.ClusterNode.get_id

ClusterNode.get_id()

The identifier of the target node. For 0 \leq i < n, i corresponds to original observation i. For n \leq i < 2n-1, i corresponds to non-singleton cluster formed at iteration i-n.

Returns :
id : int

The identifier of the target node.

This Page