Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate models with derivatives #134

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Generate models with derivatives #134

wants to merge 4 commits into from

Conversation

richfitz
Copy link
Member

@richfitz richfitz commented Jul 12, 2023

This PR pulls in the differentiation support added in mrc-ide/odin#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 mrc-ide/odin#299 and mrc-ide/dust#410

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
R/generate_dust.R 100.00% <100.00%> (ø)
R/generate_dust_equation.R 100.00% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant