-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 757: Vectorise GP stan code (#742)
* refactor gps along approach used by aki * add some skeleton unit tests * update model * update data chunk * add r interface code * add some R side tests where missing for gp related code * get tests passing * fix tests for create_gp_data * fix tests * update docs * fix tests warnings to error for uncommon mattern orders * remove spurious plots * update EpiNow2 vignette * review kkernals * update and test * correct scaling of L * rescale lengthscale * change adapt-delta default to 0.9 * expand inits for GP as causing issues as to close to 1/0 * get rid of normalisation and use unormalised lpdf where possible (equiv) * widen optimisation sweep to include delay weight default * non-center random walk * tune prior specification * tune dispersion prior * tune phi * update vignette * get rid of rw change * revert Rt * catch update_rt * add news * revert vignette changes * fix gp_opts tests * fix create tests * update gp tests * skip tests as required on windows * fix linting * constrain delay uncertainty * correct gp stan tests * fix GP test * put the deprecition warning behind a gate * refactor gps along approach used by aki * add some skeleton unit tests * update model * update data chunk * add r interface code * add some R side tests where missing for gp related code * get tests passing * fix tests for create_gp_data * fix tests * update docs * fix tests warnings to error for uncommon mattern orders * update EpiNow2 vignette * review kkernals * update and test * correct scaling of L * rescale lengthscale * change adapt-delta default to 0.9 * expand inits for GP as causing issues as to close to 1/0 * get rid of normalisation and use unormalised lpdf where possible (equiv) * widen optimisation sweep to include delay weight default * non-center random walk * tune prior specification * tune dispersion prior * tune phi * update vignette * get rid of rw change * revert Rt * catch update_rt * add news * revert vignette changes * fix gp_opts tests * fix create tests * update gp tests * skip tests as required on windows * fix linting * constrain delay uncertainty * correct gp stan tests * fix GP test * put the deprecition warning behind a gate * fix linting * Update NEWS.md * add linear kernel support * add docs and newa * integration tests and minor issues * fixes for periodic kernel dimension differences * drop linear kernel support * lint space * catch outstanding linear tests * catch stan tests * make the eecdf in convolve test less random * Update R/create.R Co-authored-by: James Azam <[email protected]> * Update NEWS.md Co-authored-by: James Azam <[email protected]> * Update create.R - remove out of date gp type 3 check * Update opts.R - remove linear kernel references * Update R/opts.R Co-authored-by: James Azam <[email protected]> * Update opts.R - fix review suggestions * Update opts.R - remove linear reference * Update estimate_infections.stan * Update tests/testthat/test-create_gp_data.R Co-authored-by: James Azam <[email protected]> * Update NEWS.md * Update opts.R * Document --------- Co-authored-by: James Azam <[email protected]> Co-authored-by: GitHub Actions <[email protected]>
- Loading branch information
1 parent
39cdaff
commit 025693c
Showing
25 changed files
with
606 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.