Random state parameter for non-deterministic equivalence oracles #83
steve-anunknown
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Hi, To be honest, I think this adds complexity that is better kept outside of the oracle. Maybe fix the seed once again just before the learning algorithm starts or something like that. What is the differance to doing seed(1) before algorithm invocation? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking that it would be appropriate for non-deterministic equivalence oracles, like those that perform random walks for example, to accept a 'random state' or 'seed' parameter and initialize their own random number generator using this parameter. That way, users of the library can have reproducible results even when running multiple learning experiments in parallel.
For example, the StatePrefixEqOracle would be modified like this:
and sampling would be done like this:
Beta Was this translation helpful? Give feedback.
All reactions