ConsensusClust | R Documentation |
community detection by concensus (majority voting) initialized by regularized spectral clustering
ConsensusClust(A,K,tau=0.25,lap=TRUE)
A |
adjacency matrix |
K |
number of communities |
tau |
reguarlization parameter for regularized spectral clustering. Default value is 0.25. Typically set between 0 and 1. If tau=0, no regularization is applied. |
lap |
indicator. If TRUE, the Laplacian matrix for initializing clustering. If FALSE, the adjacency matrix will be used. |
Community detection algorithm by majority voting algorithm of Gao et. al. (2016). When initialized by regularized spectral clustering, it is shown that the clustering accuracy of this algorithm gives minimax rate under the SBM. However, it can slow compared with spectral clustering.
cluster labels
Tianxi Li, Elizaveta Levina, Ji Zhu
Maintainer: Tianxi Li <tianxili@virginia.edu>
Gao, C.; Ma, Z.; Zhang, A. Y. & Zhou, H. H. Achieving optimal misclassification proportion in stochastic block models The Journal of Machine Learning Research, JMLR. org, 2017, 18, 1980-2024
reg.SP
dt <- BlockModel.Gen(15,50,K=2,beta=0.2,rho=0)
A <- dt$A
cc <- ConsensusClust(A,K=2,lap=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.