This project derives a simple graphical model for the objective function of the mincut approach.
For more detail your may refer to chapter 3 of my master thesis.
Note: Inference algorithms are mostly implemented as they are.
- Install requirements.txt
- All test cases are implemented in
source.py
as individual functions.
data/...
defines data processing scriptsgraph_construction
constructs graph from input data, supports some simple graph construction methods?_inference
defines graph-based model inference.