GraphSAGE icon indicating copy to clipboard operation
GraphSAGE copied to clipboard

Why do we need two loop in aggregate?

Open lihuiliullh opened this issue 5 years ago • 5 comments

image

lihuiliullh avatar Nov 02 '19 01:11 lihuiliullh

Hi, do you figure out this?

liujian19911023 avatar Nov 21 '19 09:11 liujian19911023

You can refer to the original algorithm in the paper. It doesn't mean a simple message passing from k-hop neighbors, but a l-layer transformation of all nodes (without the consideration of scalability). In each layer, all nodes are convolved with their neighbors.

doujiang-zheng avatar Dec 30 '19 13:12 doujiang-zheng

I don't understand either... Anyone who knows please help.

mxydls avatar Nov 03 '22 11:11 mxydls

I think this implementation is too obsecure to understand. I would recommend you refer to DGL GraphSAGE or PyG GraphSAGE, which are easier to use.

doujiang-zheng avatar Nov 03 '22 11:11 doujiang-zheng

I think this implementation is too obsecure to understand. I would recommend you refer to DGL GraphSAGE or PyG GraphSAGE, which are easier to use.

That's helpful. Thanks a lot!

mxydls avatar Nov 04 '22 03:11 mxydls