Replies: 1 comment
-
Hi @dynova, did you figure this out? I can't quite follow all of your example, I'm trying to because I want to do something similar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an ODE model with a model-constrained custom gradient and a custom method to calculate adjoint sensitivities for use with NUTS.
I would like to know how I can properly feed in the gradient and sensitivities into the NUTS sampler.
I went through the documentation here: https://blackjax-devs.github.io/blackjax/examples/howto_custom_gradients.html
But am still confused as to whether I'm doing it correctly or not.
In contrast to the example in the documentation, my sensitivities have no closed-form analytical expression.
Thanks in advance for any help.
The relevant excerpt of my code is below:
Beta Was this translation helpful? Give feedback.
All reactions