Commit 01ddcb8
authored
HSGP periodic (#6877)
* implement periodic psd and pass test
* simplify hsgp test, set up for mark other cov_func
* attempt at if-else logic in HSGP class API
* np.pi in w0
* check arguments for period and nonperiod case
* tests run but failing
* fix one of the mypy errors
* periodic cov pytest uses J not m because mpyp
* avoid AttributeError by init parameterization
* get rid of mypy "None" error
* self.prior_linearized inside if avoids double call
* need to add the mean function in prior
* run pre-commit locally
* add docs to test about why test_prior fails
* freshen up the docs
* improve coverage of args
* mypy ignore type
* fix parameterization test
* use power_spectral_density_approx because cant sum
* tbe -> the typo docs
* expand warning and change the triggering clause
* separate into HSGP and HSGPPeriodic
* remove commented periodic in HSGP test
* appease mypy
* add scale parameter for HSGP1 parent a1dce17 commit 01ddcb8
File tree
5 files changed
+452
-33
lines changed- pymc/gp
- tests/gp
5 files changed
+452
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
793 | 815 | | |
794 | 816 | | |
795 | 817 | | |
| |||
0 commit comments