pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Roll HSGPPeriodic into HSGP

Open maresb opened this issue 1 year ago • 7 comments

Description

Not much here yet, but the intention is to eliminate HSGPPeriodic in favor of HSGP as a first step to implementing boundary conditions.

Related Issue

  • [ ] Closes #
  • [ ] Related to #

Checklist

Type of change

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

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

maresb avatar Aug 21 '24 16:08 maresb

Ping @bwengals @AlexAndorra

maresb avatar Aug 21 '24 16:08 maresb

TODO: why is it sqrt_psd in HSGP and psd in HSGPPeriodic? Which is it, or is the psd just not square rooted in the periodic version?

maresb avatar Aug 21 '24 16:08 maresb

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.17%. Comparing base (68a7578) to head (5362113).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7470      +/-   ##
==========================================
+ Coverage   87.49%   92.17%   +4.67%     
==========================================
  Files         103      103              
  Lines       17215    17220       +5     
==========================================
+ Hits        15063    15872     +809     
+ Misses       2152     1348     -804     
Files Coverage Δ
pymc/gp/hsgp_approx.py 88.70% <100.00%> (+0.31%) :arrow_up:

... and 8 files with indirect coverage changes

codecov[bot] avatar Aug 21 '24 17:08 codecov[bot]

TODO: why is it sqrt_psd in HSGP and psd in HSGPPeriodic? Which is it, or is the psd just not square rooted in the periodic version?

The goal was a direct implementation appendix B from this paper

bwengals avatar Aug 23 '24 17:08 bwengals

A GP model with a periodic covariance function does no fit in the framework of the HSGP approximation covered in this study

I'm pretty sure it fits in with the manifold HSGP framework outlined in ... that paper. So I think that if we cite that as well we could remove the comment about it not being a real HSGP.

maresb avatar Aug 23 '24 17:08 maresb

Oh!!! Sorry @bwengals, I wasn't reading that closely enough. They're not quite doing what I expected. I'm 99% sure it's not qualitatively different from what I had in mind, but I need to read up and figure exactly how what they're doing differs from the canonical manifolds-based approach.

maresb avatar Aug 23 '24 18:08 maresb

I just did a rebase because I was accidentally working from an old version of the main branch. There are no new changes relative to the rebase.

maresb avatar Aug 23 '24 20:08 maresb