Hypergraph representing using DGL?

How to represent Hypergraph in DGL? If I am using bipartite representation for hypergraphs with nodes in the right and hyperedge indexes in the left. How can can we create a negative graph by randomly corrupting hyperedges? For examples given hyperedge s { (3, 4, 5,6), (1, 3), (3,41,0) }, its bipartite graph is { (3,0), (4,0), (5,0), (6,0), (1,1), (3,1), (3,2), (41,2), (0,2) }. Here, (3, 4, 5,6), (1, 3), (3,41,0) has hyperedge indexes (0,1,2), respectively. How to create a negative graph for this hyperedge by randomly changing nodes in a hyperedge with random nodes? For example corrupt (3,4,5,6) by changing one node to create a negative hyperedge (3,10,5,6).

Hi,

Thank you for your interest in using DGL for Hypergraph. Could you give more details about what models and tasks you are using? Then we may have some suggestions accordingly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.