skojaku / degree-corrected-link-prediction-benchmark

Link prediction
MIT License
3 stars 0 forks source link

Does the optimal stacking model use the whole network for training & evalution? #26

Closed skojaku closed 1 year ago

skojaku commented 1 year ago

I think this held-out network contains the test edges since it is split from the original network. It should be splitted from the train network.

https://github.com/skojaku/link-prediction/blob/b60a5f2b83f6a129412525ab621b9d3ad9589dca/workflow/generate-optimal-stacking-train-heldout-networks.py#L28-L43

Can you confirm that the test edges are not leaked into train edges?