I\'m using the module hcluster to calculate a dendrogram from a distance matrix. My distance matrix is an array of arrays generated like this:
I\'m trying to use hcluster library in python. I have no enough python knowledges to use sparse matrix in hcluster. Please help me anybody. So, that what I\'m 开发者_运维问答doing:
I tried my hand at this Google Codejam Africa problem (the contest is already finished, I just did it to improve my programming skills).