question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No way to fix the result(random_state or random_seed)

See original GitHub issue

Searching the documentation and API shows no way to fix the result

example: study = optuna.create_study(); study.optimize(opt,random_state=123)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Aug 15, 2019

Thank you very much for your kind support! All resoleved!!

1reaction
ghostcommented, Aug 5, 2019

Thank you very much for your kind support! All resoleved!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is numpy random seed not remaining fixed but ...
Giving each thread its own PRNG ( RandomState ) solves this problem because there is no longer any state that's shared by multiple...
Read more >
Setting random_state and np.random.seed does not ensure ...
I set the np.random.seed as well as each algorithms random state, however the results are still a bit different each time a run...
Read more >
Should you use random state or random seed in machine ...
Your intuition is correct. You can set the random_state or seed for a few reasons: For repeatability, if you want to publish your...
Read more >
Stop Using NumPy's Global Random Seed - Built In
You can do this by not relying on the global random state (which can be reset or used without knowing). Passing around a...
Read more >
Manipulating machine learning results with random state
1) Fix the random state from the start. Commit to a fixed random state for everything or better yet, fix a global random...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found