-
What does the chain output On that note, what would be the number of gradient evaluations for one NUTS iteration (in terms of N)? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Indeed you can see that the number returned here is the length of the full trajectory that was built. Does that make sense? I'll open an issue to make sure this is better documented. Thank you! |
Beta Was this translation helpful? Give feedback.
integration_steps
(which really should be namednum_integration_steps
) corresponds to the number of times the symplectic integrator was run building the NUTS trajectory (including the "wasted" half). So for the velocity verlet integrator (default)N
would be the number of gradient evaluation.Indeed you can see that the number returned here is the length of the full trajectory that was built.
Does that make sense? I'll open an issue to make sure this is better documented. Thank you!