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

MCMC MH move proposal #379

Open
kai1991s opened this issue Feb 15, 2021 · 7 comments
Open

MCMC MH move proposal #379

kai1991s opened this issue Feb 15, 2021 · 7 comments

Comments

@kai1991s
Copy link

kai1991s commented Feb 15, 2021

Regarding the class "mcee.moves.MHMove(proposal_function, ndim=None)", I'm willing to use the MHMove for my problem but I need help in defining the proposal function. Is there a toy example from which I could learn the details?

@crhea93
Copy link

crhea93 commented Nov 24, 2021

I'm in the same boat. Is there a basic working example for this?

@dfm
Copy link
Owner

dfm commented Nov 25, 2021

There isn't a worked example anywhere, but I'd recommend checking out the GaussianMove source code because it should give you an idea of how it's all supposed to work: https://github.com/dfm/emcee/blob/main/src/emcee/moves/gaussian.py

@crhea93
Copy link

crhea93 commented Nov 25, 2021

If there is no basic working example then has this method been tested?

@dfm
Copy link
Owner

dfm commented Nov 25, 2021

Yes, it is tested.

@crhea93
Copy link

crhea93 commented Nov 25, 2021

Is it possible to see the code that was used to test it?

@dfm
Copy link
Owner

dfm commented Nov 25, 2021

@crhea93
Copy link

crhea93 commented Nov 25, 2021

This is fantastic! Thank you very much for taking the time to respond to these messages :) I'll work on getting a small working example to post here for others who may run into the same issue.

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

3 participants