ComputePerformances {l1spectral} | R Documentation |
Compute the performances of the l1-spectral clustering algorithm
Description
This function computes the performances of the l1-spectral clustering algorithm in terms of Normalized Mutualized Information (NMI).
Usage
ComputePerformances(Results, A)
Arguments
Results |
Output of the function |
A |
The adjacency matrix of the graph to cluster. |
Value
The Normalized Mutualized Information (NMI), Adjusted Mutualized Information (AMI) and Adjusted Rand Index (ARI) scores.
Author(s)
Camille Champion, Magali Champion
See Also
l1_spectralclustering
, l1spectral
.
Examples
#############################################################
# 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)
[Package l1spectral version 0.99.6 Index]