Replies: 3 comments 5 replies
-
Sorry for late reply. Why does your |
Beta Was this translation helpful? Give feedback.
-
Could you please explain the concept of For example, I believe
The 0s in the second row denote source nodes, and 1s denote target nodes. Transitions from 1 to 0 likely mark the beginning of new hyperedges. Could you please confirm if this understanding is in the same page as in the HypergraphConv class? |
Beta Was this translation helpful? Give feedback.
-
It is actually related to this issue: qiankunmu/HDHGN#3 |
Beta Was this translation helpful? Give feedback.
-
we have a chemical reaction network, which can be represented as a derivation graph/ directed hypergraph. I am trying to use HypergraphConv class to do convolution on it. But it seems not working.
Please see attached hypergraph. the r_i are hyperedges, molecules are nodes. and the hyperedges indicate reaction rules/types which connect reactants to products.
here is my code
but it gives error:
since currently the hypergraph only have one hyperedge which from reactants set mol 5, mol1, mol4 to products set mol3, mol2, mol6. the hypergraph conv seems can not handle this case.
I am not sure if I understand correctly about your HypergraphConv document, I assume that hyperedge_index: tensor([[5, 1, 4, 3, 2, 6],
[0, 0, 0, 1, 1, 1]]) means that the nodes 5, 1 ,4 connected with 3 ,2 ,6 by a directed hyperedge.
Looking forward to your suggestions.
summary_2.pdf
Beta Was this translation helpful? Give feedback.
All reactions