pymc.model.core.Model.d2logp#
- Model.d2logp(vars=None, jacobian=True, negate_output=True)[source]#
Hessian of the joint log-probability density of the model.
- Parameters:
- vars
Variable, sequence ofVariableorNone, defaultNone Compute the gradient with respect to values of these variables. If None, use all continuous free (unobserved) variables defined in the model.
- jacobianbool, default
True If True, add Jacobian contributions associated with automatic variable transformations, so that the result is the true density of transformed random variables. See
pymc.distributions.transformsfor details.- negate_outputbool, default
True If True, change the sign of the output and return the opposite of the Hessian.
- vars
- Returns:
See also
compile_d2logp()Hessian of log-probability density as a compiled function.
logp()log-probability density as a Variable (in a symbolic form).
dlogp()gradient of log-probability density as a Variable (in a symbolic form).