powered by
The Spectral Clustering Class
Objects can be created by calls of the form new("specc", ...). or by calling the function specc.
new("specc", ...)
specc
.Data
Object of class "vector" containing the cluster assignments
"vector"
centers
Object of class "matrix" containing the cluster centers
"matrix"
size
Object of class "vector" containing the number of points in each cluster
withinss
Object of class "vector" containing the within-cluster sum of squares for each cluster
kernelf
Object of class kernel containing the used kernel function.
kernel
signature(object = "specc"): returns the cluster centers
signature(object = "specc")
signature(object = "specc"): returns the within-cluster sum of squares for each cluster
signature(object = "specc"): returns the number of points in each cluster
Alexandros Karatzoglou alexandros.karatzoglou@ci.tuwien.ac.at
specc, kpca-class
kpca-class
## Cluster the spirals data set. data(spirals) sc <- specc(spirals, centers=2) centers(sc) size(sc)
Run the code above in your browser using DataLab