mixer(x,qmin=2,qmax=NULL,method="variational",nbiter=10,improve=FALSE)
mixer
returns an object of class mixer, which is basically a list of item,
each item containing the result of the estimation for a given number
of class q. It has the following fieldsmixer
is a R wrapper for the c++ software package mixnet
developped by Vincent Miele (2006). Erdös-Rényi Mixture Model for Graph (MixNet), which has been proposed by Daudin et. al (2008) with an associated EM estimation algorithm, and is not to be confused with Exponential Random Graph Models for Network Data (ERGM) which consider distributions ensuing from the exponential family to model the edge distribution. The MixNet model allows to capture the structure of a network and in particular to detect communities.
There exists a strong connection between Mixnet and block clustering.. Block clustering searches for homogeneous blocks in a data matrix by simultaneous clustering of rows and columns.
The proposed estimation strategies deals with undirected graphs. They are of two type:
Hugo Zanghi, Christophe Ambroise and Vincent Miele (2008), Fast online graph clustering via Erdös-Rényi mixture. Pattern Recognition, 41, 3592-3599.
Hugo Zanghi, Franck Picard, Vincent Miele, and Christophe Ambroise (2008),
Strategies for Online Inference of Network Mixture,
Pierre Latouche, Etienne Birmele, and Christophe Ambroise (2008),
Bayesian methods for graph clustering,
Vincent Miele. MixNet C++ package,
graph.affiliation(n=100,c(1/3,1/3,1/3),0.8,0.2)->g
mixer(g$x,qmin=2,qmax=6)->xout
plot(xout)
graph.affiliation(n=50,c(1/3,1/3,1/3),0.8,0.2)->g
mixer(g$x,qmin=2,qmax=5, method="bayesian")->xout
plot(xout)
plot(xout)
data(blog)
mixer(x=blog$links,qmin=2,qmax=12)->xout
plot(xout)
Run the code above in your browser using DataLab