Skip to content
New issue

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

associate random seed with each model #39

Open
riastradh-probcomp opened this issue Jun 10, 2015 · 1 comment
Open

associate random seed with each model #39

riastradh-probcomp opened this issue Jun 10, 2015 · 1 comment
Milestone

Comments

@riastradh-probcomp
Copy link
Contributor

Rather than use a random seed in the `engine', Crosscat should store a random seed in each model, and the state transitions performed by LocalEngine and MultiprocessingEngine should be the same given the same seed in the model. That way, the only source of nondeterminism in Crosscat will be the initial selection of random seeds, which can be provided entirely by the caller, and LocalEngine and MultiprocessingEngine will yield exactly the same results for the same inputs.

@riastradh-probcomp
Copy link
Contributor Author

Crosscat currently uses the boost Mersenne Twister for most everything. Should be replaced by a small-state PRNG, e.g. one built on ChaCha.

@raxraxraxraxrax raxraxraxraxrax added this to the analysis milestone Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants