Hi folks, I've recently started research about Graph Neural Networks (GNN) applied on Knowledge Graphs. Is there already any initiative (as Graph Data Science Library) that facilitate the usage of GNN in Neo4j? Currently, I'm extracting data from Neo4j using Python and running GNN models with DGL.
Ok, it seems there is no initiative like that. So, is there anyone needing it too? If so, are you interested in work together to create such tool/library in a collaborative way?
Hi @jggomez, thanks for the reply. It seems the course you've linked is about classical ML methods with Graph Data Science Library. Actually, I'm interested in something specific for Graph Neural Networks (GNN). I mean, a library that I can use inside Neo4j to be able to create GNN models and also train and run them inside Neo4j. I need something similar to GDS but for GNNs.
Even i have started by research in the same. trying to implement GNN with DGL extracting from neo4j. I have no ideas how to do it. can you please help me with resource or codes how to extract data from neo4j to implement GNN
Hi. So can I say that, I can compute the node embeddings using the Node2Vec or GraphSAGE function provided by gds, and use the node embeddings to fit into different machine learning models. Not necessary to use the DGL, right?
@cwingho That's correct: you can use Node2Vec, GraphSAGE, or FastRP to generate graph embeddings in Neo4j, without having to use DGL.
The advantage with using a Neo4j procedure, instead of DGL, is that you don't have to do the ETL - exporting all the data to your python environment, reshaping it for DGL, and then sorting out where to save the results. That means its typically much simpler, faster, and less error prone.
hello sir,I also start the rearch about the application of GNN on neo4j,but I do not know how to extract data from Neo4j and use Python to run GNN models.Could you give me some help?