|
Darwin
1.10(beta)
|
Utility class for generating conditonal gaussian distribution. More...
Public Member Functions | |
| drwnConditionalGaussian (const VectorXd &mu, const MatrixXd &Sigma, const MatrixXd &SigmaGain) | |
| construct a conditional gaussian object with given mean, covariance and gain matrix | |
| drwnConditionalGaussian (const drwnConditionalGaussian &model) | |
| copy constructor | |
| const char * | type () const |
| returns object type as a string (e.g., Foo::type() { return "Foo"; }) | |
| drwnConditionalGaussian * | clone () const |
| returns a copy of the class usually implemented as virtual Foo* clone() { return new Foo(*this); } | |
| bool | save (drwnXMLNode &xml) const |
| write object to XML node (see also write) | |
| bool | load (drwnXMLNode &xml) |
| read object from XML node (see also read) | |
| drwnGaussian | reduce (const VectorXd &x) |
construct a gaussian conditioned on obeserving x | |
| drwnGaussian | reduce (const vector< double > &x) |
construct a gaussian conditioned on obeserving x | |
Public Member Functions inherited from drwnWriteable | |
| bool | write (const char *filename) const |
| write object to file (calls save) | |
| bool | read (const char *filename) |
| read object from file (calls load) | |
| void | dump () const |
| print object's current state to standard output (for debugging) | |
Protected Attributes | |
| int | _n |
| dimensionality of unobserved features | |
| int | _m |
| dimensionality of observed features (i.e., those conditioned on) | |
| VectorXd | _mu |
n element mean vector | |
| MatrixXd | _mSigma |
n-by-n element covariance matrix | |
| MatrixXd | _mSigmaGain |
m-by-n gain matrix | |
Utility class for generating conditonal gaussian distribution.
The conditional gaussian is given by
1.8.6