You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(which is better behaved when the difference of magnitude is large), the problem disappears. Not being very familiar with PyMC3 I am not sure which linear interpolation formula would be the best choice.
The text was updated successfully, but these errors were encountered:
When the value of a bounded variable lies near the boundary, the log-posterior becomes
inf
. For example,prints
This is due to the formula used for linear interpolation in the backward transform of Interval
https://github.com/pymc-devs/pymc3/blob/b6a88f066e4d694a4cdafb1b7696772f045c9b07/pymc3/distributions/transforms.py#L273
which, when
a
andb
are of different orders of magnitude, may return values outside of the closed interval[a, b]
.To see this, run
which gives
True
.If such formula is substituted with e.g.
(which is better behaved when the difference of magnitude is large), the problem disappears. Not being very familiar with PyMC3 I am not sure which linear interpolation formula would be the best choice.
The text was updated successfully, but these errors were encountered: