Displaying 1 result from an estimated 1 matches for "r_mutual".
Did you mean:
mutual
2005 Apr 01
4
error in kmeans
I am trying to generate kmean of 10 clusters for a 165 x 165 matrix.
i do not see any errors known to me. But I get this error on running the
script
Error: empty cluster: try a better set of initial centers
the commands are
M <-matrix(scan("R_mutual",n = 165 * 165),165,165,byrow = T)
cl <- kmeans(M,centers=10,20)
len = dim(M)[1]
....
....
I ran the same script last night and it was working prefectly. I have not
made any changes at all !!!And this is very strange. This evening when I ran
the same script i am getting this error. My m...