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 / is_leaf

function

scipy.cluster.hierarchy:ClusterNode.is_leaf

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

Signature

def is_leaf(self)

Summary

Return True if the target node is a leaf.

Returns

leafness : bool

True if the target node is a leaf node.

Aliases

  • scipy.cluster.hierarchy.ClusterNode.is_leaf