SPECTRAL | R Documentation |
Run a Spectral clustering algorithm.
SPECTRAL(d, k, sigma = 1, graph = TRUE, ...)
d |
The dataset ( |
k |
The number of cluster. |
sigma |
Width of the gaussian used to build the affinity matrix. |
graph |
A logical indicating whether or not a graphic should be plotted (projection on the spectral space of the affinity matrix). |
... |
Other parameters. |
spectral-class
## Not run:
require (datasets)
data (iris)
SPECTRAL (iris [, -5], k = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.