-
I've noticed that most of the examples include a test phase to evaluate the trained model. For example, in examples/tgn.py this is achieved through knowing One thought I had was to loop predict every possible edge combination and infer the strongest cases for edges that way. For example:
My reasoning being that these probabilities can then be compared somehow to arrive at the "strongest" probabilities associated with specific edges. However, I fear that this may not be correct or appropriately comparable in this way. Is there a recommended way to make a completely unseen inference using a trained model? Thank you (forgive my lack of a mathematical foundation; slowly and amateurishly learning about all of this)! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
There is sadly no good answer to this. If you have no further knowledge and simply want to predict the next state of the graph, you need to compute the probability of every potential edge, which obviously does not scale well and is kind of a limitation of link prediction models. However, often, you may be only interested in a set of candidates or the existence of a single edge. |
Beta Was this translation helpful? Give feedback.
There is sadly no good answer to this. If you have no further knowledge and simply want to predict the next state of the graph, you need to compute the probability of every potential edge, which obviously does not scale well and is kind of a limitation of link prediction models. However, often, you may be only interested in a set of candidates or the existence of a single edge.