This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Returns a list of leaf node ids
The return corresponds to the observation vector index as it appears in the tree from left to right. Z is a linkage matrix.
Parameters : | Z : ndarray
|
---|---|
Returns : | leaves_list : ndarray
|