Displaying 2 results from an estimated 2 matches for "numberofcluster".
2013 Jun 24
1
K-means results understanding!!!
Dear members.
I am having problems to understand the kmeans- results in R. I am applying
kmeans-algorithms to my big data file, and it is producing the results of
the clusters.
Q1) Does anybody knows how to find out in which cluster (I have fixed
numberofclusters = 5 ) which data have been used?
COMMAND
(kmeans.results <- kmeans(mydata,centers =5, iter.max= 1000, nstart =10000))
Q2) When I call kmeans.results I have the following output:
K-means clustering with 5 clusters of sizes 17, 1, 6, 4, 32
Cluster means:
[,1] [,2] [,3] [,4] [,5] [,6] [,7]...
2001 Oct 06
1
tcltk
...1)
build <- function()
{
x <- parse(text=tclvar$cdata) [[1]]
y <- parse(text=tclvar$k) [[1]]
result <- substitute(fanny(x,y))
}
tkgrid(tklabel(tt,text="Fuzzy-Cluster"),columnspan=4)
tkgrid(tklabel(tt,text="data"),cdata.entry)
tkgrid(tklabel(tt,text="numberOfCluster"),k.entry)
tkgrid(submit.but, reset.but)
tkbind(tt, "<Destroy>", function()tclvar$done<-2)
tkwait.variable("done")
if(tclvar$done=="2") stop("aborted")
tkdestroy(tt)
cmd <- build()
cat("### Command executed via Tk ###\n")
cat(dep...