-
A natural input type to support would be a dictionary, e.g.,
```
H = xgi.Hypergraph()
H.add_nodes_from({1, {"name": "a"}, 2: {"name": "b"}, 3: {"name": "c"}, 4: {"name": "d"}})
```
This input t…
-
I am wondering if discopy has any rewriting tools for removing redundant swaps? Specifically, I am trying to automatically remove this kind of redundant swaps:
![download](https://user-images.githubu…
-
SimpleHypergraphs.jl version v1.6.0
https://github.com/pszufe/SimpleHypergraphs.jl/blob/1b03ab32977b96ff0be8553b82e596fcd5aaef56/src/modularity.jl#L62
This line takes time. I succeeded accelerat…
-
-
Given a large corpus of computer programs, create a graph / hypergraph where functions are linked if they are called within the same function.
e.g.
```
function nngraph(idxs::Matrix{Int32})
…
-
(This is intended mainly for Rodas.)
Look at the code for Linas's previous OpenCog-based chatbot,
https://github.com/opencog/opencog/tree/master/opencog/nlp/chatbot
There is nothing too deep AI-wis…
-
@staticmethod
def _e_list_from_feature_kNN(features: torch.Tensor, k: int):
r"""Construct hyperedges from the feature matrix. Each hyperedge in the hypergraph is constructed by the central verte…
-
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…
-
```db=new HyperGraph("~/dbHello")``` creates dbHello in subdirectory with tilde name
using user home directory is conventional practice used very often (created in current app directory).
need som…
-
![image](https://github.com/iMoonLab/DeepHypergraph/assets/61580241/4b5e8ce7-4271-4433-919b-98f56f5725d0)