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
I'm getting NaNs when I call ExGaussian.logcdf. I don't think this is arising as a result of invalid values of mu / nu / sigma and interestingly the values of x that cause the NaNs in logcdf appear to be clustered around a specific value suggesting some kind of boundary condition. See reproducible example below:
I'm not sure if this is my error in calling, is a result of the mathematical definition of logcdf implemented in PyMC3, or is an arithmetic precision error to do with numpy / theano.
Also, if I set theano.config.floatX = "float64" the values of x that cause NaNs all cluster around approx. -0.72 instead of approx. -0.44.
Any help would be greatly appreciated. Thanks!
Versions and main components
PyMC3 Version: 3.9.3
Theano Version: 1.0.5
Python Version: 3.7.9
Operating system: MacOS
How did you install PyMC3: pip
The text was updated successfully, but these errors were encountered:
Description of your problem
I'm getting NaNs when I call ExGaussian.logcdf. I don't think this is arising as a result of invalid values of mu / nu / sigma and interestingly the values of x that cause the NaNs in logcdf appear to be clustered around a specific value suggesting some kind of boundary condition. See reproducible example below:
I'm not sure if this is my error in calling, is a result of the mathematical definition of logcdf implemented in PyMC3, or is an arithmetic precision error to do with numpy / theano.
Also, if I set theano.config.floatX = "float64" the values of x that cause NaNs all cluster around approx. -0.72 instead of approx. -0.44.
Any help would be greatly appreciated. Thanks!
Versions and main components
The text was updated successfully, but these errors were encountered: