|
CMP++: Uncertainty Quantification & Bayesian Calibration
|
Public Attributes | |
| Eigen::VectorXd | q_minus |
| Position at the leftmost leaf. | |
| Eigen::VectorXd | p_minus |
| Momentum at the leftmost leaf. | |
| Eigen::VectorXd | grad_minus |
| Gradient at the leftmost leaf. | |
| Eigen::VectorXd | q_plus |
| Position at the rightmost leaf. | |
| Eigen::VectorXd | p_plus |
| Momentum at the rightmost leaf. | |
| Eigen::VectorXd | grad_plus |
| Gradient at the rightmost leaf. | |
| Eigen::VectorXd | q_prime |
| Proposed next sample position. | |
| size_t | n |
| Number of valid states in the subtree. | |
| int | s |
| Trajectory validity flag (0 = U-turn/divergence, 1 = valid). | |
| double | alpha |
| Accumulated acceptance probabilities in subtree. | |
| size_t | n_alpha |
| Number of states for calculating average acceptance probability. | |
Struct to hold the state of the tree during the NUTS algorithm.
q -> Position p -> Momentum grad -> Gradient of the score function n -> Number of valid points in the subtree s -> Stop flag (1 if the subtree is valid, 0 otherwise) alpha -> Sum of acceptance probabilities n_alpha -> Number of valid points for acceptance probability
| double cmp::mcmc::HamiltonianMarkovChain::TreeState::alpha |
Accumulated acceptance probabilities in subtree.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::grad_minus |
Gradient at the leftmost leaf.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::grad_plus |
Gradient at the rightmost leaf.
| size_t cmp::mcmc::HamiltonianMarkovChain::TreeState::n |
Number of valid states in the subtree.
| size_t cmp::mcmc::HamiltonianMarkovChain::TreeState::n_alpha |
Number of states for calculating average acceptance probability.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::p_minus |
Momentum at the leftmost leaf.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::p_plus |
Momentum at the rightmost leaf.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::q_minus |
Position at the leftmost leaf.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::q_plus |
Position at the rightmost leaf.
| Eigen::VectorXd cmp::mcmc::HamiltonianMarkovChain::TreeState::q_prime |
Proposed next sample position.
| int cmp::mcmc::HamiltonianMarkovChain::TreeState::s |
Trajectory validity flag (0 = U-turn/divergence, 1 = valid).