Graph Data #8827
Replies: 2 comments
-
Could you please share a code snippet, because its not clear to we what Further, your graph seems to a temporal graph, so you might want to check PyG Temporal |
Beta Was this translation helpful? Give feedback.
-
@wsad1 I attached the snippet of my code and thank you I'll look into PyG Temporal. unique nodes in the sense I have NBA Player Trajectories where i have 30 columns which is of the form Player_name x_0,y_0 till player_9 x_9 y_9 since in the name of player_0 it consider first name a node and take 31 history trajectory and 50 future trajectory and ignores rest. class STP_Datapre():
os.makedirs('./pyg_data', exist_ok=True) if name == 'main':
` |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone! I Have one more question I've been working on a project involving a graph neural network and I've encountered a specific issue with the data representation. My dataset contains 155,640 data points. However, when I convert this dataset into a graph data object, the GNN seems to only consider unique nodes. As a result, the final graph representation is significantly reduced (Data(edge index=[2, 100], y=[1, 50, 2], node features=[10, 31, 2])). The data points represent different steps of the same entity, similar to having multiple data points for 'Kobe Bryant' with varying x and y values Do you have any suggestions on how to handle this situation and 50 and 30 are the future and history timestep
Beta Was this translation helpful? Give feedback.
All reactions