-
Hello, For 1D case, I'd define a model function and wrap it with the loss function:
When the fit converges, the solutions are: I'm struggling from the JAX docs how to correctly implement the Hessian of the cost function. The idea is to test a few simple examples before building a much more complex model and many more constraints, but I'm stuck at the simplest case. How do I compute the Hessian matrix for optimal solution? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Thanks for the question! Can you just use |
Beta Was this translation helpful? Give feedback.
Thanks for the question!
Can you just use
jax.hessian
?