-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix WhiteNoise
Covariance bug
#6674
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6674 +/- ##
==========================================
- Coverage 91.99% 91.97% -0.02%
==========================================
Files 94 94
Lines 15944 15944
==========================================
- Hits 14667 14664 -3
- Misses 1277 1280 +3
|
Since pymc-devs#6458, Covariance is now the base class for kernels/covariance functions with input_dim and active_dims, which does not include WhiteNoise and Constant kernels.
Hey @dehorsley, looks like tests are passing. Ready for review+merge, or is there more you were planning on doing? |
Hi @bwengals, yup ready to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you for this fix!
WhiteNoise
Covariance bug
Since #6458, Covariance is now the base class for kernels/covariance functions with input_dim and active_dims, which does not include WhiteNoise and Constant kernels. While #6458 introduced the
BaseCovariance
class to make this distinction, it looks likeWhiteNoise
was inadvertently not updated to use the new base class.Combination kernels, which use instance of
Covariance
to test for the presents of input_dim and active_dims, fail with aWhiteNoise
kernel input.Bugfixes
📚 Documentation preview 📚: https://pymc--6674.org.readthedocs.build/en/6674/