Is the best way to specify a logarithmic prior in PyMC the following?
import pymc as pm
pm.CustomDist(
"std",
logp=lambda tensor: -pm.math.log(tensor),
transform=pm.distributions.transforms.log,
initval=1.0,
)
Is the best way to specify a logarithmic prior in PyMC the following?
import pymc as pm
pm.CustomDist(
"std",
logp=lambda tensor: -pm.math.log(tensor),
transform=pm.distributions.transforms.log,
initval=1.0,
)