A multi class bayes classifier -- maximizes the likelihood of each class separately using a trainer for distribution.
Inheritance:
Public Fields
-
BayesClassifierMachine* bayesmachine
- the bayes machine
-
int n_classes
- the number of different classes
-
int** classes
- all the example indices of each class
-
int* classes_n
- the number of examples per class
Public Methods
-
BayesClassifier( BayesClassifierMachine* )
- you need to define a BayesClassifierMachine to use this class
Inherited from Trainer:
Public Methods
-
virtual void train(DataSet* data_, MeasurerList* measurers)
-
virtual void test(MeasurerList* measurers)
-
static Allocator* extractMeasurers(MeasurerList* measurers, DataSet* train, DataSet*** datas, Measurer**** meas, int** n_meas, int* n_datas)
-
virtual void loadXFile(XFile* file)
-
virtual void saveXFile(XFile* file)
Inherited from Object:
Public Fields
-
Allocator* allocator
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="")
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="")
-
void addROption(const char* name, real* ptr, real init_value, const char* help="")
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
-
void addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
void setOOption(const char* name, Object* option)
-
void load(const char* filename)
-
void save(const char* filename)
-
void* operator new(size_t size, Allocator* allocator_=NULL)
-
void* operator new(size_t size, Allocator* allocator_, void* ptr_)
-
void operator delete(void* ptr)
Documentation
A multi class bayes classifier -- maximizes the likelihood of each class
separately using a trainer for distribution. When testing, the predicted
class corresponds to the trainer giving the maximum output, weighted by
its prior probability.
- BayesClassifierMachine* bayesmachine
- the bayes machine
- int n_classes
- the number of different classes
- int** classes
- all the example indices of each class
- int* classes_n
- the number of examples per class
- BayesClassifier( BayesClassifierMachine* )
- you need to define a BayesClassifierMachine to use this class
- This class has no child classes.
- Author:
- Samy Bengio (bengio@idiap.ch)
Bison Ravi (francois.belisle@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.