Implements normal (gaussian) model. More...
#include <model_normal.hpp>
Public Types | |
typedef boost::shared_ptr < DATAACCESSOR > | PDataAccessor |
typedef boost::shared_ptr< SUBSET > | PSubset |
Public Member Functions | |
Model_Normal (const Model_Normal &mn) | |
virtual void | learn (PDataAccessor da) |
virtual void | learn (PDataAccessor da, const PSubset sub) |
void | narrow_to (const PSubset sub) |
void | denarrow () |
DIMTYPE | get_n_max () const |
DIMTYPE | get_n () const |
DIMTYPE | get_d () const |
DIMTYPE | get_classes () const |
REALTYPE | get_Pc (const DIMTYPE c) const |
Protected Member Functions | |
const boost::scoped_array < Indexed_Vector< REALTYPE, DIMTYPE, SUBSET > > & | get_mean () const |
const boost::scoped_array < Indexed_Matrix< REALTYPE, DIMTYPE, SUBSET > > & | get_cov () const |
Protected Attributes | |
DIMTYPE | _classes |
DIMTYPE | _n_max |
DIMTYPE | _n |
boost::scoped_array< REALTYPE > | _Pc |
boost::scoped_array < Indexed_Vector< REALTYPE, DIMTYPE, SUBSET > > | _mean |
boost::scoped_array < Indexed_Matrix< REALTYPE, DIMTYPE, SUBSET > > | _cov |
DIMTYPE | _d |
boost::scoped_array< DIMTYPE > | _learn_index |
Friends | |
class | Classifier_Normal_Bayes |
class | Criterion_Normal_Bhattacharyya |
class | Criterion_Normal_GMahalanobis |
class | Criterion_Normal_Divergence |
Implements normal (gaussian) model.