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
According to the InferenceData spec, the log_likelihood group is unique in that the dims or coords of a variable can be different from its dims or coords in observed_data, prior_predictive, and posterior_predictive. e.g. if the likelihood of a variable y is a multivariate normal, then in observed_data, the shape might be (nchains, ndraws, length_y), while in log_likelihood, the shape would be (nchains, ndraws). Currently from_namedtuple and from_mcmcchains don't handle this correctly.
The text was updated successfully, but these errors were encountered:
According to the
InferenceData
spec, thelog_likelihood
group is unique in that the dims or coords of a variable can be different from its dims or coords inobserved_data
,prior_predictive
, andposterior_predictive
. e.g. if the likelihood of a variabley
is a multivariate normal, then inobserved_data
, the shape might be(nchains, ndraws, length_y)
, while inlog_likelihood
, the shape would be(nchains, ndraws)
. Currentlyfrom_namedtuple
andfrom_mcmcchains
don't handle this correctly.The text was updated successfully, but these errors were encountered: