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

Implement mix discrete and continuous sampling #187

Open
kazewong opened this issue Oct 14, 2024 · 0 comments
Open

Implement mix discrete and continuous sampling #187

kazewong opened this issue Oct 14, 2024 · 0 comments

Comments

@kazewong
Copy link
Owner

In some use cases, the users may want to switch between discrete sampling and continuous sampling.

There are two parts to this problem:

  1. Let the user defining an objective function that support both continuous and discrete variables.
  2. Sample the variables.

The second step can be done with some thing like
https://num.pyro.ai/en/latest/_modules/numpyro/infer/hmc_gibbs.html#DiscreteHMCGibbs

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