Fleet  0.0.9
Inference in the LOT
Functions
Batch.h File Reference
#include "HumanDatum.h"
#include "Control.h"
#include "TopN.h"
#include "MCMCChain.h"
#include "Vectors.h"
Include dependency graph for Batch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename HYP >
std::vector< std::set< HYP > > get_hypotheses_from_mcmc (const HYP &h0, const std::vector< typename HYP::data_t *> &mcmc_data, Control c, const std::vector< size_t > ntop)
 Runs MCMC on hypotheses, resampling when the data stops being incremental and returns a unioned vector of all the tops. NOTE the wrapper for just singles. More...
 
template<typename HYP >
std::set< HYP > get_hypotheses_from_mcmc (const HYP &h0, const std::vector< typename HYP::data_t *> &mcmc_data, Control c, const size_t ntop)
 

Function Documentation

◆ get_hypotheses_from_mcmc() [1/2]

template<typename HYP >
std::vector<std::set<HYP> > get_hypotheses_from_mcmc ( const HYP &  h0,
const std::vector< typename HYP::data_t *> &  mcmc_data,
Control  c,
const std::vector< size_t >  ntop 
)

Runs MCMC on hypotheses, resampling when the data stops being incremental and returns a unioned vector of all the tops. NOTE the wrapper for just singles.

Parameters
hypotheses
Returns

◆ get_hypotheses_from_mcmc() [2/2]

template<typename HYP >
std::set<HYP> get_hypotheses_from_mcmc ( const HYP &  h0,
const std::vector< typename HYP::data_t *> &  mcmc_data,
Control  c,
const size_t  ntop 
)