Skip to content
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

use maxent from preliz instead of find_constrained_prior #1011

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Conversation

aloctavodia
Copy link
Contributor

@aloctavodia aloctavodia commented Sep 9, 2024

PyMC's find_constrained_prior has been deprecated. This PR changes constrain function to use PreliZ's maxent.


📚 Documentation preview 📚: https://pymc-marketing--1011.org.readthedocs.build/en/1011/

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.56%. Comparing base (55ee1f8) to head (5687a79).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pymc_marketing/prior.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1011      +/-   ##
==========================================
- Coverage   95.58%   95.56%   -0.02%     
==========================================
  Files          38       38              
  Lines        3690     3696       +6     
==========================================
+ Hits         3527     3532       +5     
- Misses        163      164       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@juanitorduz juanitorduz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @aloctavodia !

Copy link

review-notebook-app bot commented Sep 9, 2024

View / edit / reply to this conversation on ReviewNB

cetagostini commented on 2024-09-09T21:10:39Z
----------------------------------------------------------------

LOVE THIS!!! Amazing feature!


@juanitorduz juanitorduz merged commit 3f862cb into main Sep 9, 2024
10 of 11 checks passed
@juanitorduz juanitorduz deleted the maxent branch September 9, 2024 21:16
twiecki pushed a commit that referenced this pull request Sep 10, 2024
* use maxent from preliz instead of find_contrained_prior

* update tests

---------

Co-authored-by: Juan Orduz <[email protected]>
twiecki pushed a commit that referenced this pull request Sep 10, 2024
* use maxent from preliz instead of find_contrained_prior

* update tests

---------

Co-authored-by: Juan Orduz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants