scipy.spatial.distance.num_obs_y

scipy.spatial.distance.num_obs_y(Y)[源代码]

返回与压缩距离矩阵相对应的原始观测值的数量。

参数
Yarray_like

凝聚距离矩阵。

退货
n集成

凝聚距离矩阵中的观测值数目 Y