cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Set a specific seed value in gds.node2vec

Hello, I've tried to run gds.node2vec.write in my graph but when I recreate the graph (after restarting the database), the result changes..
I saw the configuration of the algorithm but nothing different appears. Then, in the parameters i saw the Seedvalue parameter that isn't reffered in configuration. Is there a way to set seedvalue in a specific number? I tried the traditional way Seedvalue:'15' but nothing changed.

2 REPLIES 2

Hi @cookie,
According to node2vec documentation, you can provide a Map configuration and set the randomSeed as a parameter.

Hope it helps

Hello @tfontanella011 and thank you for your answer. If I provide it, nothing changes... the same seed in two runs leads to two different results.