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

1271 predictions=true for sample posterior predictive throws error #1272

Conversation

wd60622
Copy link
Contributor

@wd60622 wd60622 commented Dec 13, 2024

Description

The extracted group is conditional on the kwargs if predictions=True

Related Issue

  • Closes #
  • Related to #

Checklist

Modules affected

  • MMM
  • CLV

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

@wd60622 wd60622 linked an issue Dec 13, 2024 that may be closed by this pull request
@wd60622 wd60622 requested a review from juanitorduz December 13, 2024 14:00
@github-actions github-actions bot added MMM bug Something isn't working labels Dec 13, 2024
Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.02%. Comparing base (45d03ea) to head (6985350).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1272   +/-   ##
=======================================
  Coverage   95.02%   95.02%           
=======================================
  Files          42       42           
  Lines        4439     4440    +1     
=======================================
+ Hits         4218     4219    +1     
  Misses        221      221           

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

@github-actions github-actions bot added the tests label Dec 13, 2024
@wd60622
Copy link
Contributor Author

wd60622 commented Dec 13, 2024

This has the mypy issues. But I think they are the same as the other PR

@wd60622
Copy link
Contributor Author

wd60622 commented Dec 13, 2024

Or maybe not 😆
Happens locally

@wd60622 wd60622 merged commit 250a8ee into main Dec 13, 2024
13 checks passed
@wd60622 wd60622 deleted the 1271-predictions=true-for-sample_posterior_predictive-throws-error branch December 13, 2024 16:26
aseyboldt pushed a commit to aseyboldt/pymc-marketing that referenced this pull request Dec 20, 2024
…ymc-labs#1272)

* group conditional on the kwargs

* flip the case

* test for predictions kwarg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MMM tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

predictions=True for sample_posterior_predictive throws error
2 participants