|
SHOGUN
v1.1.0
|

Public Member Functions | |
| CMPDSVM () | |
| CMPDSVM (float64_t C, CKernel *k, CLabels *lab) | |
| virtual | ~CMPDSVM () |
| virtual EClassifierType | get_classifier_type () |
| virtual const char * | get_name () const |
Protected Member Functions | |
| virtual bool | train_machine (CFeatures *data=NULL) |
| float64_t | compute_H (int32_t i, int32_t j) |
| KERNELCACHE_ELEM * | lock_kernel_row (int32_t i) |
| void | unlock_kernel_row (int32_t i) |
Protected Attributes | |
| CCache< KERNELCACHE_ELEM > * | kernel_cache |
| CMPDSVM | ( | ) |
default constructor
Definition at line 18 of file MPDSVM.cpp.
| ~CMPDSVM | ( | ) | [virtual] |
Definition at line 28 of file MPDSVM.cpp.
| virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
| virtual const char* get_name | ( | ) | const [virtual] |
| KERNELCACHE_ELEM* lock_kernel_row | ( | int32_t | i | ) | [protected] |
| bool train_machine | ( | CFeatures * | data = NULL | ) | [protected, virtual] |
train SVM 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 CMachine.
Definition at line 32 of file MPDSVM.cpp.
| void unlock_kernel_row | ( | int32_t | i | ) | [protected] |
CCache<KERNELCACHE_ELEM>* kernel_cache [protected] |