Hello all,
I am conducting an experiment to compare the different node embeddings in Link Prediction Pipelines and I ran into some errors - hopefully someone can point out what I did wrong.
Ran FastRP and Node2vec - no problems
However, ran into this problem with GraphSage and HashGNN
GraphSage:
so created separate model...but
Trying to make sense of the documentation but feeling so dumb at the moment
Hi @rosinialexander,
For HashGNN: HashGNN - Neo4j Graph Data Science
You will need to specify the two required parameters iterations
and embeddingDensity
according to the doc. In addition, since there is no featureProperties
(if it is specified, that feature will be used as the initialisation of hashGNN embeddings), you need to also specified a generateFeatures
mapping that tells the algorithms how to initialise embeddings.
For GraphSAGE:
As you pointed out, GraphSAGE needs to be trained separately and not as a step in the pipline. GraphSAGE - Neo4j Graph Data Science
The error of your separate model suggests that the features (Novel
, Session
) are not on the nodes in the projected graph Dev1
. I think you'll need to reproject a the graph with these features on them. Then GraphSAGE knows it should initialise all node embeddings as those features.
Thanks,
Brian
Hi @brian.shi1
Thank you so much for your advice - will reproject the Graph and try again.