Displaying 1 result from an estimated 1 matches for "cluster_distances".
2004 Jul 13
0
Calculating sum of squares deviation between 2 similar matrices
...)
#take first column of distance matrix - this column is the distance of
in_data row to all 100 centroids.
dd <- as.matrix(cc[1,2:151])
#sort dd on distance and attach the centroid number.
ee <-c(t(cbind(sort.list(dd), sort(dd))))
#write sorted distance to file
write(ee, file="C:\\cluster_distances.txt",ncol=300, append=TRUE)
}
[[alternative HTML version deleted]]