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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

williambdean
Copy link
Contributor

@williambdean williambdean commented May 4, 2025

This ports the Prior class from PyMC-Marketing to pymc_extras.

The deserialize module is coming along for the ride as well.

Closes #448

CC: @drbenvincent

TODO:

  • Get rid of any PyMC-Marketing references

@williambdean
Copy link
Contributor Author

test_prior file isn't being run? At least what the action logs are showing

@drbenvincent
Copy link

First time playing around with pymc-extras. I did:

conda env create -f conda-envs/environment-test.yml
conda activate pymc-extras-test
pytest tests/test_prior.py

and I got

=============================================================== test session starts ===============================================================
platform darwin -- Python 3.12.10, pytest-8.3.5, pluggy-1.6.0 -- /Users/benjamv/miniforge3/envs/pymc-extras-test/bin/python3.12
cachedir: .pytest_cache
rootdir: /Users/benjamv/git/pymc-extras
configfile: pyproject.toml
plugins: cov-6.1.1
collected 0 items / 2 skipped                                                                                                                     

=============================================================== 2 skipped in 35.11s ===============================================================

I'm probably doing something wrong with the environment setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

port pymc-marketing.prior module
2 participants