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

Automatic stop #2

Open
1 of 3 tasks
gvegayon opened this issue Sep 27, 2018 · 0 comments
Open
1 of 3 tasks

Automatic stop #2

gvegayon opened this issue Sep 27, 2018 · 0 comments
Assignees

Comments

@gvegayon
Copy link
Member

gvegayon commented Sep 27, 2018

When running multiple chains, we should be able to check whether the MCMC converged in an automatic way. This would imply that, in the case of using parallel, child processes should communicate with the master process at every set of iterations. The set of functions that can be used for this are: parallel::children, parallel::readChild, etc. Some observations:

  • Data should be passed to the master process to calculate, say, gelman stat
  • Chains should be pausing during this process to avoid messing with the Pseudo-RNG sequence process in general (don't know if the function call passed by the user may be using a random chain as well).
  • The problem with the communication functions between parent/child processes is that these only work for unix based systems, i.e. it won't work on windows.
@gvegayon gvegayon self-assigned this Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant