Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphSAGE sampling operation #9328

Open
1234238 opened this issue May 18, 2024 · 1 comment
Open

GraphSAGE sampling operation #9328

1234238 opened this issue May 18, 2024 · 1 comment

Comments

@1234238
Copy link

1234238 commented May 18, 2024

馃摎 Describe the documentation issue

Hello, I recently tried adding some nodes to a graph to observe changes in the original nodes, such as from A to B, where A is the inserted node. I want to see the changes in B, but I found that using GraphSAGE, the output of node B does not change. I also couldn't find the controls for the sampling operation in GraphSAGE. Could you explain which part controls the node sampling operation in GraphSAGE?

Suggest a potential alternative/fix

No response

@rusty1s
Copy link
Member

rusty1s commented May 27, 2024

The GraphSAGE model is separated into a sampling module (see NeighborLoader), and the corresponding GNN layer (see SAGEConv). Any sampling arguments can be controlled at the NeighborLoader level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants