Skip to content

LB1304/HyperSBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stochastic Blockmodel for Hypergraphs

Luca Brusa · Catherine Matias


The HyperSBM package contains functions to specify and fit Stochastic Blockmodel for hypergraphs. It allows performing model-based clustering when the relationship among nodes are not limited to pairwise interactions (edges in graphs), but include higher-order interactions among three or more nodes (hyperedges). The main function relies on a variational implementation of the expectation-maximization algorithm to perform model parameters and latent groups estimation. It also provides tools for generating hypergraphs according to a simplified latent structure (affiliation sub-model). See the package documentation for a more detailed description of all functions.

To install the HyperSBM package directly from GitHub:

# install.packages("devtools")
require(devtools)
devtools::install_github("LB1304/HyperSBM")

To download the .tar.gz file (for manual installation) use this link.

You will find examples of use at this link. The main functions of the package are sample_Hypergraph (to generate data under the model), import_Hypergraph (to import your dataset), and HSBM (to estimate the model parameters). More on the options is accessible with the commands

help("sample_Hypergraph")
help("import_Hypergraph")
help("HSBM")

About

Stochastic Blockmodel for Hypergraphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published