Class KernelPerceptron - currently unfinished implementation of a Kernel Perceptron.
Definition at line 24 of file KernelPerceptron.h.

Public Member Functions | |
| CKernelPerceptron () | |
| virtual | ~CKernelPerceptron () | 
| virtual bool | train (CFeatures *data=NULL) | 
| virtual float64_t | classify_example (int32_t num) | 
| virtual bool | load (FILE *srcfile) | 
| virtual bool | save (FILE *dstfile) | 
| virtual EClassifierType | get_classifier_type () | 
| virtual const char * | get_name () const | 
constructor
Definition at line 17 of file KernelPerceptron.cpp.
| ~CKernelPerceptron | ( | ) |  [virtual] | 
        
Definition at line 23 of file KernelPerceptron.cpp.
| float64_t classify_example | ( | int32_t | num | ) |  [virtual] | 
        
classify one specific example
| num | which example to classify | 
Reimplemented from CKernelMachine.
Definition at line 57 of file KernelPerceptron.cpp.
| virtual EClassifierType get_classifier_type | ( | ) |  [virtual] | 
        
get classifier type
Reimplemented from CClassifier.
Definition at line 66 of file KernelPerceptron.h.
| virtual const char* get_name | ( | void | ) |  const [virtual] | 
        
Reimplemented from CKernelMachine.
Definition at line 72 of file KernelPerceptron.h.
| bool load | ( | FILE * | srcfile | ) |  [virtual] | 
        
load KernelPerceptron from file
| srcfile | file to load from | 
Reimplemented from CClassifier.
Definition at line 42 of file KernelPerceptron.cpp.
| bool save | ( | FILE * | dstfile | ) |  [virtual] | 
        
save KernelPerceptron to file
| dstfile | file to save to | 
Reimplemented from CClassifier.
Definition at line 49 of file KernelPerceptron.cpp.
| bool train | ( | CFeatures * |  data = NULL | 
          ) |  [virtual] | 
        
train kernel perceptron classifier
| 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 27 of file KernelPerceptron.cpp.