#include <IndependentBayesClassifier.hpp>
Inheritance diagram for IndependentBayesClassifier:
Purpose: Define the concept of Multi-Partition Independent Object feature Bayes Classifier in which multivalue features are handled independently.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
IndependentBayesClassifier (int nmax, int featureSize) | |
virtual | ~IndependentBayesClassifier () |
virtual void | add (AMultiClassObjectEvaluator *oClass) |
virtual AMultiClassObjectEvaluator * | get (int iObject) |
virtual int | numberOfObjects () |
virtual int | maxSize () |
virtual void | initializeClasses (DataSample *objectSample) |
virtual void | start (int iObj) |
virtual void | learn (DataSample *objectSample) |
virtual void | learn (int Oi, double value) |
virtual void | learn (int Oi, RealVector &value) |
virtual void | end (int iObj) |
virtual double | PX_O (double X, int Oi) |
virtual double | PX_O (RealVector &X, int Oi) |
virtual double | PO (int Oi) |
virtual double | PX (double X) |
virtual double | PX (RealVector &X) |
virtual double | PO_X (int Oi, double X) |
virtual double | PO_X (int Oi, RealVector &X) |
virtual int | objectName (double X) |
virtual int | objectName (RealVector &X) |
virtual double | PO_X (double value) |
virtual double | PO_X (RealVector &value) |
virtual double | LX_O (double X, int Oi) |
virtual double | LX_O (RealVector &X, int Oi) |
virtual double | PO_Xratio (int Oi, int Oj, double X) |
virtual double | LO_Xratio (int Oi, int Oj, double X) |
virtual double | PO_Xratio (int Oi, int Oj, RealVector &X) |
virtual double | LO_Xratio (int Oi, int Oj, RealVector &X) |
virtual void | output (FILE *file) |
virtual void | output () |
Private Attributes | |
char * | name |
int | xDimension |
int | n |
int | nmax |
AMultiClassObjectEvaluator ** | objectClassifier |