-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
In PyMC, the Hessian of the a model is defined as
I accept that there is probably a good reason for computing the negative Hessian rather than the Hessian but, for clarity when reading the code and documentation, could these functions be renamed to indicate that this is the negative Hessian?
Context: For pedagogical/demonstration purposes, I am implementing the Laplace approximation using the logp
, dlogp
, and d2logp
functions and the sign error in d2logp
took me a long time to figure out, eventually by looking through the code and finding the definition of aesaraf.hessian
.