Answers for "hierarchy dendrogram"

0

hierarchy dendrogram

>>> ytdist = np.array([662., 877., 255., 412., 996., 295., 468., 268.,
...                    400., 754., 564., 138., 219., 869., 669.])
>>> Z = hierarchy.linkage(ytdist, 'single')
>>> plt.figure()
>>> dn = hierarchy.dendrogram(Z)
Posted by: Guest on April-29-2021

Code answers related to "hierarchy dendrogram"

Python Answers by Framework

Browse Popular Code Answers by Language