Skip to content

Enable inheritance from Prior class to the specialized priors #1941

@daniel-saunders-phil

Description

@daniel-saunders-phil

follow up to #1939

That PR adds special_priors, which are a collection of objects that closely resembles the Prior class but with some differences. Right now, special priors don't inherit from the Prior class. But they should: they are required to have many of the same methods and inheritance is a good way to enforce that.

To get to inheritance, we'd need to refactor the Prior class over in the pymc-extras repo so there is a shared base class with abstract methods. Then we'd want to rewrite special priors to inherit from that base class.

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