barkincavdaroglu / Link-Prediction-Mesh-Network

PyTorch Implementation of a Deep Learning Model for Temporal Link Prediction in MANETs
2 stars 1 forks source link

[icebox] Handle making predictions on graph sequences with varying nodes #20

Closed barkincavdaroglu closed 1 year ago

barkincavdaroglu commented 1 year ago

Since the model is outputting the predicted adjacency matrix, all graphs in the dataset must have the same number of nodes. However, we can fix this by padding each target adjacency matrix by 0s to the max number of nodes in the dataset and set the output dimension of the model to max_num_nodes * max_num_nodes.

barkincavdaroglu commented 1 year ago

Not possible for adjacency matrix prediction task.