You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / cluster / hierarchy / ClusterNode / get_id

function

scipy.cluster.hierarchy:ClusterNode.get_id

source: /scipy/cluster/hierarchy.py:1144

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