如何在gds.beta.node2vec.write中设置特定的种子值?

How to set up a specific seedvalue in gds.beta.node2vec.write?

我是 neo4j 中的 运行 node2vec,但是当算法以相同的参数再次运行时,结果发生了变化。所以,我阅读了配置,发现有一个种子值。 我尝试将种子值设置为特定数字,但没有任何变化..

https://github.com/aditya-grover/node2vec/issues/83

如果您查看文档,您会发现 randomSeed 参数可用。但是,根据文档,结果仍然是 non-deterministic:

Seed value used to generate the random walks, which are used as the training set of the neural network. Note, that the generated embeddings are still nondeterministic.