-
Notifications
You must be signed in to change notification settings - Fork 50
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
Intermittent error when plotting chains. #127
Comments
@fisherc2 If you could provide the chain that would be helpful. |
@bdeonovic I could not upload the file here. I sent it to the email listed on your profile. Please let me know if that email is no longer active. |
@fisherc2 Hi Chris, could you also send it to me? |
@fisherc2 I was able to plot and draw your code. No errors (just some Gadfly warnings) must be an issue with your setup. What version of julia are you on and what version of Gadfly do you have? Also how did you try to plot. I did: dat = deserialize(open("Downloads\\Samples_1124543.jls"))
p = plot(dat)
draw(p, fmt=:png, filename="test") |
@bdeonovic I am using Julia .6 and Gadfly .6.4. After seeing your code, I think I may have identified the source of the error. Here is the code that produces the error based on @goedman Stan walk through:
However, if I remove argument |
error seems to be with autocor. I will investigate further |
Issue is one of your variables (divergent__) is all 0s for all iterations and chains. This caused the autocor function to produce all NaNs which caused ChainSummary to error out. We should probably have an error catch somewhere in the plotting to catch this and handle it more elegantly. @brian-j-smith |
Hi-
I've been using the mamba plotting functions with Stan.jl. Sometimes I receive the following error when I plot my chains using the plot() function:
I cannot share the code at this moment, but I would be willing to share the .jls file of the chain object if that is helpful.
Thanks,
-Chris
The text was updated successfully, but these errors were encountered: