pymc.model.core.Model.dlogp#
- Model.dlogp(vars=None, jacobian=True)[source]#
Gradient 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.
- vars
- Returns:
See also
compile_dlogp()gradient of log-probability density as a compiled function.
logp()log-probability density as a Variable (in a symbolic form).
d2logp()Hessian of log-probability density as a Variable (in a symbolic form).