Skip to content

NUTS without termination criterion#33

Open
callum-kl wants to merge 12 commits into
mainfrom
nuts
Open

NUTS without termination criterion#33
callum-kl wants to merge 12 commits into
mainfrom
nuts

Conversation

@callum-kl

@callum-kl callum-kl commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Initial implementation of NUTS but without more complex features (e.g. termination criterion).

  • Adds ability to build a binary tree with a single fixed depth.
  • Build and merge multiple binary trees of varying depth
  • transition! implementation with Multinomial Sampling
  • Modifies step! implementation to allow forward or backward in time steps

@callum-kl callum-kl changed the title NUTS binary tree datastructure NUTS without terminatino criterion May 22, 2026
@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.61%. Comparing base (34d4ce2) to head (bb974cb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   89.36%   93.61%   +4.25%     
==========================================
  Files           7        7              
  Lines         141      188      +47     
==========================================
+ Hits          126      176      +50     
+ Misses         15       12       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@callum-kl callum-kl changed the title NUTS without terminatino criterion NUTS without termination criterion May 22, 2026
Comment thread src/transition.jl

struct NUTSTransition{T} <: AbstractNUTSTransition
max_depth::Int
max_delta_h::T

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants