Displaying 2 results from an estimated 2 matches for "rngr".
Did you mean:
engr
2006 Apr 19
1
determining optimal # of clusters for a given dataset (e.g. between 2 and K)
...uot; were developed decades ago. By the way, I have alot of missing values in my dataset, coded as "NA", so some software packages don't work.
Here is the 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
...uot; were developed decades ago. By the way, I have alot of missing values in my dataset, coded as "NA", so some software packages don't work.
Here is the 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]]