-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Transformed variable failure during Metropolis sampling #1235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did this stop working after #1215 was merged? |
I don't know, as this is a new model, but it seems unlikely since transformations have always been renamed to something. I will try it though. |
Verified that this is not the issue. After reverting to before the pull request was merged:
NUTS also fails, but because it receives NaNs in the gradient. So, I believe something deeper is the issue. |
Running the same model with ADVI yields:
|
It's quite a complex model it seems, perhaps try to work backwards? |
I've come across a curious error related to using transformed variables in Metropolis sampling. Specifically, a
MissingInputError
is raised whensample
is called. Replacing the variable in question with a constant results in the next transformed variable failing for the same reason.Here is an example of a model that fails because of this
BTW, setting
exception_verbisity
to "high" does nothing to improve the verbosity of the output.The text was updated successfully, but these errors were encountered: