#include <var_adapter.hpp>
|
| VarAdapter (size_t n_params, size_t warmup, size_t init_buffer, size_t term_buffer, size_t window_base) |
|
template<class MatType1 , class MatType2 > |
bool | adapt (const Eigen::MatrixBase< MatType1 > &x, Eigen::MatrixBase< MatType2 > &var) |
|
Diagonal precision matrix M is estimated for momentum covariance matrix. M inverse is estimated as sample variance and is regularized towards identity.
Follows STAN guide: https://mc-stan.org/docs/2_18/reference-manual/hmc-algorithm-parameters.html STAN implementation: https://github.com/stan-dev/stan/blob/develop/src/stan/mcmc/windowed_adaptation.hpp
◆ VarAdapter()
◆ adapt()
template<class MatType1 , class MatType2 >
The documentation for this struct was generated from the following file: