{ } Raw JSON

bundles / scipy latest / 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