Skip to content

Commit fab8513

Browse files
committed
Improve debug for MH sampler
1 parent 4074136 commit fab8513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ment/samp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def sample_metropolis_hastings(
183183

184184
x_avg = np.mean(np.hstack([chain[:, axis] for chain in points]))
185185
x_std = np.std( np.hstack([chain[:, axis] for chain in points]))
186+
print(f"debug axis={axis} x_std =", x_std)
186187
print(f"debug axis={axis} x_avg =", x_avg)
187-
print(f"debug axis={axis} x_avg =", x_std)
188188

189189

190190
# Option to return unmerged chains:

0 commit comments

Comments
 (0)