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 1 year 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

Welcome Banner] :tada: Welcome to PyMC! :tada: We're really excited to have your input into the project! :sparkling_heart:
If you haven't done so already, please make sure you check out our Contributing Guidelines and Code of Conduct.

welcome[bot] avatar May 12 '24 14:05 welcome[bot]

Sounds fine to me

ricardoV94 avatar May 13 '24 07:05 ricardoV94