search for: mcsweeny

Displaying 2 results from an estimated 2 matches for "mcsweeny".

2006 Apr 19
1
determining optimal # of clusters for a given dataset (e.g. between 2 and K)
...e code I've been using: library(cluster) avgsil <- c() for (k in kseq){ clarares <- clara(data, k, rngR = TRUE) savg <- clarares$silinfo$avg.width print(c(k,savg)) avgsil[k] <- savg } k<-kseq plot(k,avgsil[k]) lines(k,avgsil[k]) Sincerely, Andrew McSweeny grad student Medical University of Ohio [[alternative HTML version deleted]]
2006 Apr 15
0
clustering genes / automatically determining # of clusters
...e code I've been using: library(cluster) avgsil <- c() for (k in kseq){ clarares <- clara(data, k, rngR = TRUE) savg <- clarares$silinfo$avg.width print(c(k,savg)) avgsil[k] <- savg } k<-kseq plot(k,avgsil[k]) lines(k,avgsil[k]) Sincerely, Andrew McSweeny grad student Medical University of Ohio [[alternative HTML version deleted]]