pymc icon indicating copy to clipboard operation
pymc copied to clipboard

ENH: Update reported sampler diagnostics for `pm.Slice()` step method

Open AlexanderFengler opened this issue 9 months ago • 2 comments

Before

with model:
    pm.sample(step=pm.Slice())

After

with model:
    pm.sample(step=pm.Slice(full_diagnostics = True)

Context for the issue:

Currently the pm.Slice() step method doesn't seem to include the final slice-widths in it's diagnostics. Including either the final w array after tuning, or draw-wise could help understand the sampler behavior better and help users with settings after some initial test-runs.

If ram is an issue, it may be an option to set an extra argument as suggested above.

AlexanderFengler avatar May 12 '24 14:05 AlexanderFengler