SciPy

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

scipy.cluster.hierarchy.ClusterNode.get_id

ClusterNode.get_id(self)[source]

The identifier of the target node.

For 0 <= i < n, i corresponds to original observation i. For n <= i < 2n-1, i corresponds to non-singleton cluster formed at iteration i-n.

Returns
idint

The identifier of the target node.

Previous topic

scipy.cluster.hierarchy.ClusterNode.get_count

Next topic

scipy.cluster.hierarchy.ClusterNode.get_left