Description Usage Arguments Value Author(s) See Also Examples
View source: R/ComputePerformances.R
This function computes the performances of the l1-spectral clustering algorithm in terms of Normalized Mutualized Information (NMI).
1 | ComputePerformances(Results, A)
|
Results |
Output of the function |
A |
The adjacency matrix of the graph to cluster. |
The Normalized Mutualized Information (NMI), Adjusted Mutualized Information (AMI) and Adjusted Rand Index (ARI) scores.
Camille Champion, Magali Champion
l1_spectralclustering
, l1spectral
.
1 2 3 4 5 6 7 8 9 10 | #############################################################
# Computing the performances
#############################################################
data(ToyData)
results <- l1_spectralclustering(A = ToyData$A_hat, pen = "lasso",
k=2, elements = c(1,4))
ComputePerformances(Results=results,A=ToyData$A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.