class LibSVMOneClass
Definition at line 23 of file LibSVMOneClass.h.
Public Member Functions | |
CLibSVMOneClass () | |
CLibSVMOneClass (float64_t C, CKernel *k) | |
virtual | ~CLibSVMOneClass () |
virtual EClassifierType | get_classifier_type () |
virtual const char * | get_name () const |
Protected Member Functions | |
virtual bool | train_machine (CFeatures *data=NULL) |
Protected Attributes | |
svm_problem | problem |
svm_parameter | param |
struct svm_model * | model |
CLibSVMOneClass | ( | ) |
default constructor
Definition at line 17 of file LibSVMOneClass.cpp.
CLibSVMOneClass | ( | float64_t | C, | |
CKernel * | k | |||
) |
~CLibSVMOneClass | ( | ) | [virtual] |
Definition at line 27 of file LibSVMOneClass.cpp.
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
get classifier type
Reimplemented from CMachine.
Definition at line 41 of file LibSVMOneClass.h.
virtual const char* get_name | ( | ) | const [virtual] |
bool train_machine | ( | CFeatures * | data = NULL |
) | [protected, 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 CMachine.
Definition at line 32 of file LibSVMOneClass.cpp.
struct svm_model* model [protected] |
SVM model
Definition at line 64 of file LibSVMOneClass.h.
svm_parameter param [protected] |
SVM parameter
Definition at line 61 of file LibSVMOneClass.h.
svm_problem problem [protected] |
SVM problem
Definition at line 59 of file LibSVMOneClass.h.