bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / cluster / hierarchy / _hierarchy_impl / ClusterNode / get_count
function
scipy.cluster.hierarchy._hierarchy_impl:ClusterNode.get_count
source: build-install/usr/lib/python3.14/site-packages/scipy/cluster/hierarchy/_hierarchy_impl.py:1068
Signature
def get_count(self)Summary
The number of leaf nodes (original observations) belonging to the cluster node nd. If the target node is a leaf, 1 is returned.
Returns
get_count: intThe number of leaf nodes below the target node.
Aliases
scipy.cluster.hierarchy.ClusterNode.get_count