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
It seems that there is an error in the documentation regarding the save_iterations argument as generated quantities are computed at each iteration of the optimizer by default, but not when save_iterations is explicitly set to FALSE. However, no matter what the value of save_iterations is, no iterations are saved.
Output of the case without explicitly setting save_iterations should match the one with save_iterations = FALSE as per documentation, and using save_iterations = TRUE should return the saved iterations.
RStan Version:
2.32.6
R Version:
4.3.0
Operating System:
Windows 10
The text was updated successfully, but these errors were encountered:
Summary:
It seems that there is an error in the documentation regarding the
save_iterations
argument as generated quantities are computed at each iteration of the optimizer by default, but not whensave_iterations
is explicitly set toFALSE
. However, no matter what the value ofsave_iterations
is, no iterations are saved.Reproducible Steps:
Current Output:
And
both return
TRUE
. The generated files in case of `sample_file = "output.txt" are also identical, having the following contents:Expected Output:
Output of the case without explicitly setting
save_iterations
should match the one withsave_iterations = FALSE
as per documentation, and usingsave_iterations = TRUE
should return the saved iterations.RStan Version:
2.32.6
R Version:
4.3.0
Operating System:
Windows 10
The text was updated successfully, but these errors were encountered: