Skip to content

Port Prior class from PyMC-Marketing #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
cache-environment: true
- name: Install pymc-extras
run: |
pip install -e .
pip install -e ".[dev]"
python --version
- name: Run tests
run: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
cache-environment: true
- name: Install pymc-extras
run: |
pip install -e .
pip install -e ".[dev]"
python --version
- name: Run tests
# This job uses a cmd shell, therefore the environment variable syntax is different!
Expand Down
2 changes: 2 additions & 0 deletions conda-envs/environment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ dependencies:
- pytest
- pytest-cov
- libgcc<15
- pydantic>=2.0.0
- preliz
- pip
- pip:
- jax
Expand Down
15 changes: 15 additions & 0 deletions docs/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ Distributions
Skellam
histogram_approximation

Prior
=====

.. currentmodule:: pymc_extras.prior
.. autosummary::
:toctree: generated/

create_dim_handler
handle_dims
Prior
VariableFactory
sample_prior
Censored
Scaled


Transforms
==========
Expand Down
Loading