Understanding output from kmeans clustering in python
问题 I have two distance matrices, each 232*232 where the column and row labels are identical. So this would be an abridged version of the two where A, B, C and D are the names of the points between which the distances are measured: A B C D ... A B C D ... A 0 1 5 3 A 0 5 3 9 B 4 0 4 1 B 2 0 7 8 C 2 6 0 3 C 2 6 0 1 D 2 7 1 0 D 5 2 5 0 ... ... The two matrices therefore represent the distances between pairs of points in two different networks. I want to identify clusters of pairs that are close