I try to create something like this: plotting results of hierarchical clustering ontop of a matrix of data in python
Unfortunatelly when I try to execute the code, I get the following warnings:
Warning (from warnings module):
File "C:\Users\USER1\Desktop\test.py", line 15
Y = sch.linkage(D, method='centroid')
ClusterWarning: scipy.cluster: The symmetric non-negative hollow observation matrix looks suspiciously like an uncondensed distance matrix
Warning (from warnings module):
File "C:\Users\USER1\Desktop\test.py", line 22
Y = sch.linkage(D, method='single')
ClusterWarning: scipy.cluster: The symmetric non-negative hollow observation matrix looks suspiciously like an uncondensed distance matrix
In addition, a small window opens but crashes ...