Skip to content

Research code for beta model for random hypergraphs from Despina Stasi et al

Notifications You must be signed in to change notification settings

seanfarley/beta-hypergraphs

Repository files navigation

MLE approximation for beta model of random hypergraphs

Running the code

R code

Rscript testing.R

Python (cpu version)

Install the dependencies first,

pip3 install --user -U numpy numba

Now, run the code

python3 beta_hypergraphs.py

Python (gpu version)

Install the dependencies,

pip3 install --user -U cupy

Installing and running for the first time will take a long time due to compiling. Running the code should be as easy as,

python3 beta_hypergraphs_cupy.py

To get timing and profiling output, run

nvprof python3 beta_hypergraphs_cupy.py

About

Research code for beta model for random hypergraphs from Despina Stasi et al

Topics

Resources

Stars

Watchers

Forks