Skip to content

Add unconstrained/transformed variables to InferenceData #230

@ColCarroll

Description

@ColCarroll

@ahartikainen suggested adding unconstrained variables to the schema somewhere. It seems like they could go

  1. Make new unconstrained_posterior group
    Good:
    • Explicit is better than implicit: it is clear what this group is for
      Bad:
    • Should there also be unconstrained_prior?
  2. Add them to the existing posterior group
    Good:
    • Can reuse existing coords/dims
    • Can add to prior in the same way
      Bad:
    • Would need a naming convention, which we've managed to avoid so far
    • PyMC3 currently does this, and it is kind of a pain to have a flag everywhere to include or exclude these variables.
  3. Don't include them at all
    Good:
    • No work :)
      Bad:
    • Bounds and domain information are not captured anywhere currently

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestNew functionality requests from users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions