Skip to content

Implement __getattr__ for Prior class #500

Description

@williambdean

I would be nice to be able to dot into Prior class and get the parameter. For instance dist.mu. Would be similar or same implementation to this:

https://github.com/pymc-labs/pymc-marketing/blob/96848210a982279c50529ee828191cc9725b1c7f/pymc_marketing/prior.py#L396-L398


This issue was transferred from pymc-labs/pymc-marketing#1352

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions