Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-02-2020 10:21 PM
Hi, everyone
I try to use PyTorch Geometric combine with Neo4j, and PyTorch Geometric needs to use the COO formate (coordinate format).
Could I ask how should I deal with the relationship property of the edge in Neo4j?
05-07-2020 07:41 AM
Just to check I understand...are you saying that you want to return a Neo4j query and use the results in PyTorch?
Can you share an example of what the COO format looks like?
05-08-2020 09:49 AM
Hi, Needham
I just try to follow below link to use PyTorch Geometric :
https://towardsdatascience.com/hands-on-graph-neural-networks-with-pytorch-pytorch-geometric-359487e...
It mentions the COO format the example is just like:
https://scipy-lectures.org/advanced/scipy_sparse/coo_matrix.html
I'm trying to transform my Labeled Property Graphs model to that COO format, but it seems the COO format only could be used in the triple situation.
I'm not sure how should I deal with the property of edges when trying to transform the data.
Thanks for your reply
All the sessions of the conference are now available online