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
Currently MCMCChains automatically displays our diagnostics for Chains. But for chains with less than 10 draws, each diagnostic that calls ess_rhat will error at the following line due to splitting:
throw(ArgumentError("number of draws after splitting must >4 but is $niter."))
This erroring is a nuisance to handle in either PosteriorStats or MCMCChains. I suggest we instead return NaNs in such cases and raise an informative warning about why ess_rhat failed. This would probably resolve TuringLang/MCMCChains.jl#447 and TuringLang/MCMCChains.jl#410
The text was updated successfully, but these errors were encountered:
Currently MCMCChains automatically displays our diagnostics for
Chains
. But for chains with less than 10 draws, each diagnostic that callsess_rhat
will error at the following line due to splitting:MCMCDiagnosticTools.jl/src/ess_rhat.jl
Line 465 in 7d78e5d
This erroring is a nuisance to handle in either PosteriorStats or MCMCChains. I suggest we instead return
NaN
s in such cases and raise an informative warning about whyess_rhat
failed. This would probably resolve TuringLang/MCMCChains.jl#447 and TuringLang/MCMCChains.jl#410The text was updated successfully, but these errors were encountered: