autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <result.hpp>
Public Types | |
using | cont_samples_t = Eigen::Matrix< util::cont_param_t, Eigen::Dynamic, Eigen::Dynamic, Major > |
using | disc_samples_t = Eigen::Matrix< util::disc_param_t, Eigen::Dynamic, Eigen::Dynamic > |
Public Member Functions | |
MCMCResult ()=default | |
MCMCResult (size_t n_samples, size_t n_cont_params, size_t n_disc_params) | |
Public Attributes | |
cont_samples_t | cont_samples |
disc_samples_t | disc_samples |
std::string | name |
double | warmup_time = 0 |
double | sampling_time = 0 |
MCMC Output object when a sampling algorithm returns. Stores useful information from MCMC sampling routine such as:
using ppl::MCMCResult< Major >::cont_samples_t = Eigen::Matrix<util::cont_param_t, Eigen::Dynamic, Eigen::Dynamic, Major> |
using ppl::MCMCResult< Major >::disc_samples_t = Eigen::Matrix<util::disc_param_t, Eigen::Dynamic, Eigen::Dynamic> |
|
default |
|
inline |
cont_samples_t ppl::MCMCResult< Major >::cont_samples |
disc_samples_t ppl::MCMCResult< Major >::disc_samples |
std::string ppl::MCMCResult< Major >::name |
double ppl::MCMCResult< Major >::sampling_time = 0 |
double ppl::MCMCResult< Major >::warmup_time = 0 |