(squared) norm between two stochastic block models
the norm is the minimal graphon distance between two stochastic block model parameters obtained with the best permutations of the parameters
sbmNorm(theta1, theta2)
theta1
: a stochastic block model parametertheta2
: a stochastic block model parameter(squared) norm between two stochastic block models
theta1 <- list(pi=c(.5,.5), gamma=matrix((1:4)/8,2,2)) theta2 <- list(pi=c(.5,.5), gamma=matrix(4:1/8,2,2)) theta3 <- list(pi=c(.5,.5), gamma=matrix(1:4/4,2,2)) sbmNorm(theta1, theta2) sbmNorm(theta1, theta3) sbmNorm(theta2, theta3)
Useful links