## S3 method for class 'formula':
specc(x, data = NULL, na.action = na.omit, ...)## S3 method for class 'matrix':
specc(x, centers, kernel = "rbfdot", kpar =
list(sigma = 0.1), iterations = 200, na.action = na.omit, ...)
sigma
(inverse kernel width for the Radial specc
k
(number of clusters) eigenvectors of a matrix derived
from the distance between points. Very good results are obtained by
using a standard clustering technique
to cluster the resulting eigenvector matrixes.kpca
, kcca
## Cluster the spirals data set.
data(spirals)
sc <- specc(spirals, centers=2, kernel="rbfdot", kpar=list(sigma=400))
centers(sc)
size(sc)
plot(spirals, col=cluster(sc))
Run the code above in your browser using DataLab