xgi
xgi copied to clipboard
CompleX Group Interactions (XGI) is a Python package for higher-order networks.
For example, `H.edges.members` doesn't have an `asdict()` or `aslist` method.
There are [many benefits](https://realpython.com/lessons/pros-and-cons-type-hints/) to type hints that we can go over our next call. I've been holding off on proposing type hints until now because the main classes were...
The stats package was designed so that users could immediately access stats from the main hypergraph object: ```python3 >>> H.degree() {1: 1, 2: 1, 3: 1, 4: 1, 5: 1,...
We have discussed this multiple times in one way or another. Essentially, it'd be great to have calls such as ```python >>> H.nodes.degree(order=1).aslist() [0, 0, 0, 0, 1, 1, 0,...
Some generators have the "hypergraph" in the name, some have acronyms, etc. It would be good to have a more consistent naming scheme. See #286.
Currently, we have a way of seeing all attributes: ```python3 H.nodes.attrs[0] # -> {"name": "Leo", "color": "green"} ``` What I'd love to have is a way of seeing all stats...
Currently, some XGI methods support empty edges and some do not. Ones that do: * `dual()`: the dual of a hypergraph with isolated nodes must have empty edges. * `add_edges_from()`...
A collaborator would be interested if we had hyperedge adjacency matrices (see definition in page 10 of this [preprint](https://www.biorxiv.org/content/10.1101/2023.02.10.528083v1.full.pdf)). Basically, two k-edges are : - lower adjacent if they share...
It would be nice to have the ability to specify weights for node-edge pairs so that we could, among other things, implement something like this: https://dl.acm.org/doi/abs/10.1145/3340531.3412034
According to https://github.com/conda/conda, to do this, we need to * make a recipe: https://docs.conda.io/projects/conda-build/en/stable/concepts/recipe.html * have an account on anaconda.org and have anaconda-client downloaded * build the recipe * upload...