Cell FLOWer
Cell FLOWer processes edge flows using cell complexes. It was developed for the paper Representing Edge Flows on Graphs via Sparse Cell Complexes. You can find the evaluation workflow here. Install it using:
pip install cell-flower
How to use it (Also check out the complete examples):
import cell_flower as cf
import networkx as nx
G = ... # nx.Graph
CC, node_list, node_index_map = cf.nx_graph_to_cc(G) # converts nodes in G to int and also returns the mapping
flows = ... # np.ndarray, shape (samples, edges)
CC_prime = cf.cell_inference_approximation(CC, flows, 2, 2, n_clusters=5)
# Check to see the cells that were recovered; map back to node labels
[ cf.index_to_cell(cell, node_list) for cell in CC_prime.get_cells(2) ]
If you use Cell FLOWer, please cite the following paper:
@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},
}
Acknowledgements
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.
Release files for cell-flower 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cell_flower-1.0.1.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cell_flower-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.7 kB
Release files / cell_flower-1.0.1.tar.gz
| Download URL | cell_flower-1.0.1.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97f8d3f9afb09c5d3e9b8f4a2021dc890e958e4201dc22f96c47e24673fa41b0
|
|
BLAKE2b-256 checksum How to use checksums |
29f4726bb4d78646f1c4710efeeeaf04bcb380294c86af792441aeb8eea6ee5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / cell_flower-1.0.1-py3-none-any.whl
| Download URL | cell_flower-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ae19cfd5f9c9d86984aeecc829720088053b1f3f0e0b1007a05eca2ac8503ee
|
|
BLAKE2b-256 checksum How to use checksums |
ea84f963422f7cfe8f681857ed2a353fe99f49bb9c6cf969e72345ea109fb945
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|