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

scipy.spatial.distance.num_obs_y

scipy.spatial.distance.num_obs_y(Y)

Returns the number of original observations that correspond to a condensed distance matrix Y.

Parameters :

Y : ndarray

The number of original observations in the condensed observation Y.

Returns :

n : int

The number of observations in the condensed distance matrix passed.

Previous topic

scipy.spatial.distance.num_obs_dm

Next topic

scipy.spatial.distance.braycurtis

This Page