Class GMNPSVM implements a one vs. rest MultiClass SVM.
It uses CGMNPLib for training (in true multiclass-SVM fashion).
Definition at line 24 of file GMNPSVM.h.

Public Member Functions | |
| CGMNPSVM () | |
| CGMNPSVM (float64_t C, CKernel *k, CLabels *lab) | |
| virtual | ~CGMNPSVM () |
| virtual bool | train (CFeatures *data=NULL) |
| virtual EClassifierType | get_classifier_type () |
| float64_t * | get_basealphas_ptr (index_t *y, index_t *x) |
| virtual const char * | get_name () const |
Protected Attributes | |
| float64_t * | m_basealphas |
| index_t | m_basealphas_y |
| index_t | m_basealphas_x |
| CGMNPSVM | ( | ) |
default constructor
Definition at line 23 of file GMNPSVM.cpp.
| ~CGMNPSVM | ( | ) | [virtual] |
default destructor
Definition at line 35 of file GMNPSVM.cpp.
required for CMKLMulticlass constraint computation
| y | height of basealphas | |
| x | width of basealphas |
Definition at line 182 of file GMNPSVM.cpp.
| virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
| virtual const char* get_name | ( | void | ) | const [virtual] |
| bool train | ( | CFeatures * | data = NULL |
) | [virtual] |
train SVM
| data | training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data) |
Reimplemented from CClassifier.
Definition at line 51 of file GMNPSVM.cpp.
float64_t* m_basealphas [protected] |
index_t m_basealphas_x [protected] |
index_t m_basealphas_y [protected] |