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

Use better-converging MCMC kernels for default transitions #148

Open
BaxterEaves opened this issue Nov 3, 2023 · 0 comments
Open

Use better-converging MCMC kernels for default transitions #148

BaxterEaves opened this issue Nov 3, 2023 · 0 comments

Comments

@BaxterEaves
Copy link
Contributor

Currently Engine::run uses slice for row and column transitions, which can be slow to converge for large tables because they don't propose large moves. We should use both slice and sams on the rows and gibbs as default for columns.

It might also be a good idea to make set of pre-made transitions to make people's lives easier. For example, in pylace

from lace import Engine

# normal
eng = Engine.load("my-metadata.lace")
eng.run(1_000, transitions="sams-slice/gibbs")

# flat
eng = Engine.load("my-flat-metadata.lace")
eng.run(1_000, transitions="sams-slice/flat")
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

1 participant