Fleet  0.0.9
Inference in the LOT
Classes
BaseGrammarHypothesis.h File Reference

This class does grammar inference with some collection of HumanData and fixed set of hypotheses. More...

#include <assert.h>
#include <utility>
#include <regex>
#include <signal.h>
#include <unordered_map>
#include "EigenLib.h"
#include "Errors.h"
#include "Numerics.h"
#include "DiscreteDistribution.h"
#include "Vector2D.h"
#include "HumanDatum.h"
#include "Control.h"
#include "TopN.h"
#include "MCMCChain.h"
#include "VectorHalfNormalHypothesis.h"
#include "VectorNormalHypothesis.h"
#include "TNormalVariable.h"
#include "Batch.h"
#include "LOTHypothesis.h"
#include "Grammar.h"
Include dependency graph for BaseGrammarHypothesis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BaseGrammarHypothesis< this_t, _HYP, datum_t, data_t, _Predict_t >
 

Detailed Description

This class does grammar inference with some collection of HumanData and fixed set of hypotheses.

NOTE: This is set up in way that it recomputes variables only when necessary, allowing it to make copies (mostly of pointers) to components needed for the likelihood. This means, proposals maintain pointers to old values of Eigen matrices and these are tracked using shared_ptr NOTE: Without likelihood decay, this would be much faster. It should work fine if likelihood decay is just set once.