williamleif / GraphSAGE

Representation learning on large graphs using stochastic graph convolutions.
Other
3.42k stars 843 forks source link

What is difference between transductive and inductive in GNN? #126

Closed guotong1988 closed 4 years ago

guotong1988 commented 4 years ago

It seems in GNN(graph neural network), in transductive situation, we input the whole graph and we mask the label of valid data and predict the label for the valid data.

But is seems in inductive situation, we also input the whole graph(but sample to batch) and mask the label of the valid data and predict the label for the valid data.

Thank you very much. @RexYing @williamleif

guotong1988 commented 4 years ago

https://github.com/PetarV-/GAT/issues/48