ComputePerformances {l1spectral} | R Documentation |
This function computes the performances of the l1-spectral clustering algorithm in terms of Normalized Mutualized Information (NMI).
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
.
#############################################################
# 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)