Description Usage Arguments Value Author(s) See Also Examples
View source: R/SPECTRALwrapper.R
Spectral clustering using an RBF kernel. The wrapper performs multiple restarts in case true labels are provided (in order to optimise cluster assignments w.r.t. the Rand index).
1 | SPECTRALwrapper(xx, k, true_labels = NULL, verbose = FALSE)
|
xx |
The data matrix (n x p). |
k |
The number of clusters. |
true_labels |
Vector of true cluster assignments (when provided, it is used to compute the Rand index). |
verbose |
Logical, when true: print progress information. |
model_fit |
Model fit (output of |
.
aRI |
Adjusted Rand index (when |
.
Bernd Taschler bernd.taschler@dzne.de
MCAPfit
,
GMMwrapper
,
specc
,
adjustedRandIndex
1 | SPECTRALwrapper(xx = matrix(rnorm(500),50), k=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.