Displaying 1 result from an estimated 1 matches for "7_0".
Did you mean:
70
2002 Oct 23
0
Obtaining covariance matrices for kmeans output clusters
...ut by kmeans(). My input looks like:
> imagedat <- read.table("table", header=TRUE)
> imagedat
Red Green Blue
0_0 5 7 8
1_0 5 5 18
2_0 7 8 49
3_0 22 8 76
4_0 54 10 67
5_0 50 9 28
6_0 18 10 15
7_0 9 7 6
8_0 2 5 7
...
I cluster using
> cl <- kmeans(imagedat, nclust, maxsteps)
> cl
$cluster
[1] 1 1 9 8 2 9 1 1 1 1 1 1 1 1 1 8 8 8 8 4
[25] 9 9 8 8 8 2 2 9 1 1 9 9 7 10 10 10 10 10 10 10 10
...
$centers...