This is documentation for an old release of SciPy (version 0.10.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.cluster.hierarchy.ClusterNode.get_count

ClusterNode.get_count()

The number of leaf nodes (original observations) belonging to the cluster node nd. If the target node is a leaf, 1 is returned.

Returns :

c : int

The number of leaf nodes below the target node.

Previous topic

scipy.cluster.hierarchy.ClusterNode

Next topic

scipy.cluster.hierarchy.ClusterNode.get_id

This Page