Skip to content

Potential speed-up for NUTS #1020

@twiecki

Description

@twiecki

Debugging NUTS with @jsalvatier yesterday we noticed that the computation of the energy E0 in NUTS, can be moved outside of the leapfrog loop: f332b1c to yield a potential speed-up. Unfortunately the code isn't quite working because of an issue with the logp function that requires a dict input rather than the array. It's probably easy to fix. I'll leave this here in case someone wants to pick it up.

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