Skip to content

Conditional sampling with vmap #157

Open
@ipashchenko

Description

@ipashchenko

Hi!

As discussed in #39 one has to use vmap with numpyro plate. But how to obtain a conditional samples (e.g. on a finer X grid) in that case? In this tutorial it is done as follows (but w/o vmaping):

numpyro.deterministic("pred", gp.condition(y, true_t).gp.loc)

However, I can't get GaussianProcess instance out of the vmap-ed function build_gp (as in #39).

Thanks in advance!
Ilya

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