neo4j / graph-data-science

Source code for the Neo4j Graph Data Science library of graph algorithms.
https://neo4j.com/docs/graph-data-science/current/
Other
596 stars 157 forks source link

The same GraphSage model give different results between the runs. #220

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe the bug

To Reproduce

GDS version: 2.1.12 Neo4j version: 4.4.11 Operating system: Debian (run into docker)

Steps to reproduce the behavior:

Across runs: sometimes embeddings of node n are the same in two consecutive runs, sometimes they are different. There is no deterministic behaviour. As I am employing such embeddings in a ML pipeline, I do need embeddings of a node n to be always the same if the graph and the model do not change.

Am I doing something wrong or is there a bug?