mrc-ide / odin.dust

Compile odin to dust
https://mrc-ide.github.io/odin.dust
Other
3 stars 1 forks source link

Generate models with derivatives #134

Open richfitz opened 1 year ago

richfitz commented 1 year ago

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~

codecov[bot] commented 1 year ago

Codecov Report

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!.