This repository contains the source code, installation and use instructions for the method presented in the paper: Graph imbalance REduction by Adding Sets of Edges (GREASE).
We provide Python implementations of the complete GREASE model. The repository is maintained by Yoosof Mashayekhi (yoosof.mashayekhi(at)ugent.be).
Install directly from GitHub with:
$ pip install git+https://github.com/aida-ugent/GREASE.git
Note: GREASE code has been extensively tested and is stable under Python 3.6.9, thus this is the recommendend environment.
data folder:
data.csv: graph links
roles.csv: roles with start id, end id and node type in each row. It is used for the block prior
types.csv: roles with start id, end id and node type in each row. It is not used for the block prior [optional]
For the mixed-integer quadratic program solver please install Gurobi v9.1.1