powered by
Estimates DCSBM model by given community labels
DCSBM.estimate(A, g)
A list object of
estimated probability matrix
the B matrix with block connection probability, up to a scaling constant
vector of of degree parameter theta, up to a scaling constant
adjacency matrix
vector of community labels for the nodes
Tianxi Li, Elizaveta Levina, Ji Zhu Maintainer: Tianxi Li tianxili@virginia.edu
Estimation is based on maximum likelhood.
B. Karrer and M. E. Newman. Stochastic blockmodels and community structure in networks. Physical Review E, 83(1):016107, 2011.
SBM.estimate
dt <- BlockModel.Gen(30,300,K=3,beta=0.2,rho=0.9,simple=FALSE,power=TRUE) A <- dt$A ssc <- reg.SSP(A,K=3,lap=TRUE) est <- DCSBM.estimate(A,ssc$cluster)
Run the code above in your browser using DataLab