This repository accompanies our paper linked above. The code is split into two repositories:
- This repository contains the evaluation code and snakemake workflow.
- Cell FLOWer is a separate package that contains only the code required for the inference and is published to PyPI.
@InProceedings{hoppe2024representing,
title = {Representing Edge Flows on Graphs via Sparse Cell Complexes},
author = {Hoppe, Josef and Schaub, Michael T},
booktitle = {Proceedings of the Second Learning on Graphs Conference},
pages = {1:1--1:22},
year = {2024},
editor = {Villar, Soledad and Chamberlain, Benjamin},
volume = {231},
series = {Proceedings of Machine Learning Research},
month = {27--30 Nov},
publisher = {PMLR},
pdf = {https://proceedings.mlr.press/v231/hoppe24a/hoppe24a.pdf},
url = {https://proceedings.mlr.press/v231/hoppe24a.html},
}
This project uses Snakemake. To run the experiments:
- Install Miniconda (or mamba)
- Create a new conda environment and install dependencies:
conda env create -n cell-inference -f workflow/envs/environment.yaml
- Activate environment:
conda activate cell-inference
- Run snakemake:
snakemake -c20 all
For us, running all experiments takes approximately three hours, so you may want to build individual artifacts instead, for example snakemake -c20 figures/approx_exp_error.pdf
.
The Rulegraph gives a rough overview of the structure:
Generally, we aimed to give rules names that are short and easily understood. For the different kinds of experiments, we used the following naming system:
- approx_exp - approximation experiment on synthetic data, i.e., how large is the approximation error?
- inference_exp - inference experiment on synthetic data, i.e., how many ground-truth cells have been recovered?
- realworld_exp - approximation experiment on realworld-data.
- time_exp - experiment to measure runtime performance.
- heuristic_exp - experiment to see how many ground-truth cells are detected by the heuristic (first iteration).
Funded by the European Union (ERC, HIGH-HOPeS, 101039827). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.