DcSbm | R Documentation |
An S4 class to represent a Degree Corrected Stochastic Block Model. Such model can be used to cluster graph vertex, and model a square adjacency matrix X with the following generative model :
π \sim Dirichlet(α)
Z_i \sim \mathcal{M}(1,π)
θ_{kl} \sim Exponential(p)
γ_i^+,γ_i^- \sim \mathcal{U}(S_k)
X_{ij}|Z_{ik}Z_{jl}=1 \sim \mathcal{P}(γ_i^+θ_{kl}γ_j^-)
The individuals parameters γ_i^+,γ_i^- allow to take into account the node degree heterogeneity.
These parameters have uniform priors over the simplex S_k ie. ∑_{i:z_{ik}=1}γ_i^+=1.
These classes mainly store the prior parameters value α,p of this generative model.
The DcSbm-class
must be used when fitting a simple Degree Corrected Stochastic Block Model whereas the DcSbmPrior-class
must be used when fitting a CombinedModels-class
.
DcSbmPrior(p = NaN, type = "guess") DcSbm(alpha = 1, p = NaN, type = "guess")
p |
Exponential prior parameter (default to NaN, in this case p will be estimated from data as the mean connection probability) |
type |
define the type of networks (either "directed", "undirected" or "guess", default to "guess") |
alpha |
Dirichlet prior parameter over the cluster proportions (default to 1) |
a DcSbmPrior-class
object
a DcSbm-class
object
DcSbmFit-class
, DcSbmPath-class
Other DlvmModels:
CombinedModels
,
DcLbm
,
DiagGmm
,
DlvmPrior-class
,
Gmm
,
Lca
,
MoM
,
MoR
,
MultSbm
,
Sbm
,
greed()
DcSbmPrior() DcSbmPrior(type = "undirected") DcSbm() DcSbm(type = "undirected")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.