Skip to content
New issue

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

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

Already on GitHub? # to your account

Transform to remove Minibatch from model #7746

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

zaxtax
Copy link
Contributor

@zaxtax zaxtax commented Apr 1, 2025

Description

This is a model transform to remove Minibatched variables in a model and replace them with the full underlying data.

This is very handy for posterior predictive checks, prediction, and other out-of-sample uses of the fitted model

Closes #7521

Checklist

Type of change

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

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

@zaxtax zaxtax marked this pull request as draft April 1, 2025 00:02
@zaxtax zaxtax force-pushed the provide_minibatch_removal_transform branch from fcbabb3 to 5866f02 Compare April 1, 2025 00:46
@zaxtax zaxtax marked this pull request as ready for review April 5, 2025 22:10
Copy link

codecov bot commented Apr 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.83%. Comparing base (6ef135b) to head (ec3b377).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7746   +/-   ##
=======================================
  Coverage   92.82%   92.83%           
=======================================
  Files         107      107           
  Lines       18324    18342   +18     
=======================================
+ Hits        17010    17027   +17     
- Misses       1314     1315    +1     
Files with missing lines Coverage Δ
pymc/model/transform/basic.py 97.29% <100.00%> (+2.29%) ⬆️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement model transform to remove minibatching operations from graph
1 participant