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
Describe the bug arviz.stats.stats_utils.smooth_data(y, y_hat) smooths y along the first dimension (data dimension) and y_hat along the second dimension (sample dimension).
To Reproduce
Here's an example where we construct y_hat as identical to y in every draw. While y is successfully interpolated between data points, y_hat is unchanged, since interpolation between identical draws does nothing.
Describe the bug
arviz.stats.stats_utils.smooth_data(y, y_hat)
smoothsy
along the first dimension (data dimension) andy_hat
along the second dimension (sample dimension).To Reproduce
Here's an example where we construct
y_hat
as identical toy
in every draw. Whiley
is successfully interpolated between data points,y_hat
is unchanged, since interpolation between identical draws does nothing.Expected behavior
I'd expect
y_interp
andy_hat_interp[:, 0]
to be identical.Additional context
arviz v0.16.0.dev0
The text was updated successfully, but these errors were encountered: