Skip to content

Re-use choices scores from trace when computing MH transition probabilities #906

@null-a

Description

@null-a

Since #905 was merged, we are storing the score of each individual choice/sample as part of the trace. (See here.) It looks like we can re-use these (rather than re-scoring) when computing MH transition probabilities, saving some work. i.e. here I guess we can replace choice.dist.score(choice.val) with choice.choiceScore.

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