Comments (4)
For example, if we have a graph with 3 nodes [0, 1, 2] and edges [(0, 1), (0, 2), (1, 0), (2, 0)]
If we sample node 0 as the target node for graph convolution, parse_minibatch would firstly fetch the adjlist of node 0, that is [(0, 1), (0, 2)]
In DGL, the natural way to do graph convolution is to let message flow from the source nodes to the target node. So here I reverse the node pairs to be [(1, 0), (2, 0)] to let message flow from node 1 and node 2 to node 0.
from magnn.
Thanks for your reply! I think I understand.
But I still want to confirm whether the basis of this operation is that the relationship between the two nodes of DBLP is always bidirectional. (e.g., write vs. written by)
For example, in the graph [(0, 1), (0, 2), (1, 0)], the relationship between nodes is not always bidirectional, so when updating the target node 0, the extracted edge should be [(1,0)] instead of [(1,0),(2,0)].
Is this understanding correct?
from magnn.
Yes, in my preprocessing and model, each relationship between two nodes is converted to two directional edges. E.g., "A writes B" would be treated as "A writes B" and "B is written by A".
from magnn.
ok, thank you very much!
from magnn.
Related Issues (20)
- Loss - only supervised? HOT 1
- what is the meaning of 'use_masks' and 'no_masks'? HOT 3
- id偏移问题请教 HOT 1
- MemoryError HOT 3
- Did you offer an unsupervised version? HOT 1
- A question about etype list in link predition HOT 2
- The issue about edges list HOT 3
- Does anyone have tensorflow version?thanks!!!
- How to project feature vectors into the same latent factor space in Equation 1 of the paper ? HOT 1
- About the graph embedding baselines HOT 1
- How can I modify the code so that only MAGNN is used to get the node embedding representation HOT 1
- how to preprocess dblp dataset? HOT 1
- How to set parameter to achieve the result in the paper HOT 3
- Last.fm is too slow when training, how can I use a smaller Last.fm? HOT 2
- OOM kill HOT 1
- what does etype_list mean? HOT 1
- 中间结点的讨论
- what does etype_list mean in LastFM?
- Cuda version
- Is this normal? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magnn.