{ } Raw JSON

bundles / scipy 1.18.0 / scipy / cluster / hierarchy / _hierarchy_impl / ClusterNode / get_id

function

scipy.cluster.hierarchy._hierarchy_impl:ClusterNode.get_id

source: /scipy/cluster/hierarchy/_hierarchy_impl.py:1047

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