Skip to content

Move distributions implemented here to "distributions"? #639

Open

Description

@aloctavodia

Activity

  1. jessegrabowski commented on Feb 6, 2026

    @jessegrabowski
    Member

    Distributions is not meant to be "pymc ready" right? It would be good to have all the required functions for the distributions here, but users likely still want to have model compatible implementations

  2. aloctavodia commented on Feb 6, 2026

    @aloctavodia
    MemberAuthor

    Exactly, I was very imprecise. I mean to move "the core" of the distribution, the logpdf, logcdf, etc.

  3. jessegrabowski commented on Feb 6, 2026

    @jessegrabowski
    Member

    ah yes then i support this

  4. maresb commented on Feb 6, 2026

    @maresb
    Collaborator

    I'm a bit confused. Are we AePPLing PyTensor again? 😂

    Would the desired pattern be that from PyMC we do something like:

    class Normal(Continuous):
        from distributions.normal import logp, logcdf, ...
  5. ricardoV94 commented on Feb 6, 2026

    @ricardoV94
    Member

    We're not AePPling, we are splitting the core probability expressions so they can be used elsewhere.

    Aeppl was about looking at arbitrary pytensor random graphs, and deriving probability expressions. PyMC still does that. But at the end of the day you usually derive some expression in terms of a core density function, say a normal_logpdf, that bootstraps everything.

    That bootstrapped thing will live in distributions, but the logic to derive stuff is still pymc specific.

    PyMC = PPL
    pytensor-distributions = Just a bunch of pytensor functions. No magic derivation there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hackathonSuitable for code sprint project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions