Sampling and network creation |
|
---|---|
Sample from a DCER |
|
Sample from a DCLVM |
|
Sample from a DCPP |
|
Sample from a DCSBM |
|
Sample truncated DCSBM (fast) |
|
Sample from a SBM (fast) |
|
Generate randomly permuted connectivity matrix |
|
Calculate the expected average degree of a DCSBM |
|
Generate planted partition (PP) connectivity matrix |
|
Community detectionAlgorithms for community detection |
|
CPL algorithm for community detection (fast) |
|
Spectral clustering (fast) |
|
Model selection and testingTools for selecting the number of communities and testing goodness-of-fit of models |
|
Beth-Hessian model selection |
|
Compute BIC score |
|
Log-likelihood ratio of two DCSBMs (fast with poi = T) |
|
Estimate community number with SNAC+ |
|
Adjusted spectral test |
|
NAC test |
|
SNAC test |
|
Resampled SNAC+ |
|
Model estimation |
|
Block sum of an adjacency matrix |
|
Estimate model parameters of a DCSBM |
|
Log likelihood of a DCSBM (fast with poi = T) |
|
Network representation |
|
Spectral Representation |
|
Performance Evaluation |
|
Compute confusion matrix |
|
Compute normalized mutual information (NMI) |
|
Simulate data to estimate ROC curves |
|
Plotting |
|
Plot degree distribution |
|
Plot a network |
|
Plot ROC curves |
|
Plot community profiles |
|
Utilities |
|
Extract largest component |
|
Extract low-degree component |
|
Convert label matrix to vector |
|
Convert label vector to matrix |
|
The usual "printf" function |
|
Generate random symmetric permutation matrix |
|
Sinkhorn--Knopp matrix scaling |
|
Data |
|
Political blogs network |