mapequation / mapping-hypergraphs

Data and source code for the paper "How choosing random-walk model and network representation matters for flow-based community detection in hypergraphs"

Home Page:https://doi.org/10.1038/s42005-021-00634-z

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mapping flows on hypergraphs

Requirements

Requirements are specified in the included Pipfile:

  • Python 3.8
  • Infomap Python package 1.3.0

Install with pipenv:

pipenv install

Running

Main entrypoint is in hypergraph/main.py.

Activate the environment with

pipenv shell

Then, run the code

python -m hypergraph --help

See the Makefile for example usage.

Author

Anton Eriksson

About

Data and source code for the paper "How choosing random-walk model and network representation matters for flow-based community detection in hypergraphs"

https://doi.org/10.1038/s42005-021-00634-z

License:MIT License


Languages

Language:Jupyter Notebook 42.5%Language:TeX 38.6%Language:Python 13.3%Language:Rust 5.2%Language:Makefile 0.5%