Skip to content

ENH: support non-overlapping switch logp transforms with non-zero thresholds (x ? k) #8052

@eclipse1605

Description

@eclipse1605

Description

Current non-overlapping switch logp support is limited to zero-threshold conditions (e.g. switch(x > 0, …, …)), where the branch can often be inferred from the sign of the observed value. Extend this to non-zero thresholds:

y = switch(x > k, f_true(x), f_false(x))

with k a scalar constant (or non-measurable scalar), and constraints ensuring the branch images do not overlap so the observed value implies the originating branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions