I am trying to clustering some words based on their similarities(between two words) Some part of my data is as below (it's just example "animal.txt", it's similar with adjacency matrix).
cat dog horse ostrich
cat 5 4 3 2
dog 4 5 1 2
horse 3 1 5 4
ostrich 2 2 4 5
The bigger number means that the similarity between two words is higher. Based on this kind of format data, I want to make a clusters. (for example, if I want to make 2 clusters then the result will be (cat, dog), (horse,ostrich)).
I tried to use CLUTO... to make some clusters.
At first, I have to re-construct the input file before doing CLUTO clustering. So, I used the doc2mat (http://glaros.dtc.umn.edu/gkhome/files/fs/sw/cluto/doc2mat.html).. but I don't know how I can use this properly for making CLUTO input files (like mat, label files) And after making CLUTO input files, then how I can make clusters based on above data?