Skip to content

Support batched constant arguments when marginalising DiscreteUniform #290

Open
@zaxtax

Description

@zaxtax

Right now, models like the following fail:

    with MarginalModel() as m:
        mu = pm.DiscreteUniform("mu", lower=[0,10,20], upper=40)
        y = pm.Normal("y", mu=mu, sigma=1.0)
    m.marginalize([mu])

Since lower here takes all constant values, it should be possible to support this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions