This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / cluster / hierarchy / _hierarchy_impl / ClusterNode / get_id

function

scipy.cluster.hierarchy._hierarchy_impl:ClusterNode.get_id

source: build-install/usr/lib/python3.14/site-packages/scipy/cluster/hierarchy/_hierarchy_impl.py:1052

Signature

def get_id(self)

Summary

The identifier of the target node.

Extended Summary

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

id : int

The identifier of the target node.

Aliases

  • scipy.cluster.hierarchy.ClusterNode.get_id