Skip to content

Implement mix discrete and continuous sampling #187

@kazewong

Description

@kazewong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions