We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi developer,
I have met a problem regarding the setting of random seeds, below is the walk configuration:
transformer = RDF2VecTransformer( Word2Vec(), walkers=[RandomWalker(max_depth=8, max_walks=20, sampler=PageRankSampler(), # random_state=RANDOM_STATE, with_reverse=True, md5_bytes=None, )], verbose=2 )
after i set with_reverse=True, i tryed to use below individualy or Simultaneously :
to make the embedding Reproducible,but it doesn`t work, i want to ask whether i did some thing wrong, or missed something.
Best Regards
The text was updated successfully, but these errors were encountered:
Hi, this is due to the internal hashing of Python. To ensure determinism, you need to run it from command line as documented in our README:
PYTHONHASHSEED=42 python generate_embeddings.py
Sorry, something went wrong.
No branches or pull requests
❓ Question
Hi developer,
I have met a problem regarding the setting of random seeds, below is the walk configuration:
random.seed(22)
RANDOM_STATE = 22
transformer = RDF2VecTransformer(
Word2Vec(),
walkers=[RandomWalker(max_depth=8,
max_walks=20,
sampler=PageRankSampler(),
# random_state=RANDOM_STATE,
with_reverse=True,
md5_bytes=None,
)],
verbose=2
)
after i set with_reverse=True, i tryed to use below individualy or Simultaneously :
random.seed(22) and
RANDOM_STATE = 22
to make the embedding Reproducible,but it doesn`t work, i want to ask whether i did some thing wrong, or missed something.
Best Regards
The text was updated successfully, but these errors were encountered: