Open richfitz opened 1 year ago
All modified lines are covered by tests :white_check_mark:
Files | Coverage Δ | |
---|---|---|
R/generate_dust.R | 100.00% <100.00%> (ø) |
|
R/generate_dust_equation.R | 100.00% <100.00%> (ø) |
:loudspeaker: Thoughts on this report? Let us know!.
This PR pulls in the differentiation support added in https://github.com/mrc-ide/odin/pull/299 to create models where we can compute the derivative of the likelihood with respect to a subset of parameters.
Only works for discrete time models, and only when they do not use any arrays (this restriction enforced by odin at present). More changes will come!
Depends on https://github.com/mrc-ide/odin/pull/299 ~and https://github.com/mrc-ide/dust/pull/410~