Skip to content

Save samples as we go #2015

@JaimeRZP

Description

@JaimeRZP

Dear Tuing team,

I feel like Turing would benefit form adding the possibility of saving the samples on the go. For example in Astronomy, where likelihood evaluations can take of the order of seconds and chains converge in a couple of weeks, people really like saving the samples on the go and periodically checking the convergence.

At the moment I think the user can only save the samples once Turing is done sampling. However, we could offer saving samples as go with by adding a simple callback function that activates if the user provides a "chain_name" as a keyword to sample.

I have drafted how this could be done for HMC samplers in this branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions