PetarV- / DGI

Deep Graph Infomax (https://arxiv.org/abs/1809.10341)
MIT License
630 stars 135 forks source link

Corruption function only on node features X not graph structure A? #4

Closed zhengwang100 closed 5 years ago

zhengwang100 commented 5 years ago

Hello, the paper said: "an explicit (stochastic) corruption function (\tilde{X}, \tilde{A}) = C(X, A)." However, in the code, I only find the corruption on node attributes: idx = np.random.permutation(nb_nodes) shuf_fts = features[:, idx, :]

I can not find the corruption on the graph structure, why? Does this not affect the final result?

thanks