ScatterSVM - Multiclass SVM.
The ScatterSVM is an unpublished experimental true multiclass SVM. Details are availabe in the following technical report.
Robert Jenssen and Marius Kloft and Alexander Zien and S\"oren Sonnenburg and Klaus-Robert M\"{u}ller, A Multi-Class Support Vector Machine Based on Scatter Criteria, TR 014-2009 TU Berlin, 2009
Definition at line 35 of file ScatterSVM.h.
Public Member Functions | |
CScatterSVM () | |
CScatterSVM (float64_t C, CKernel *k, CLabels *lab) | |
virtual | ~CScatterSVM () |
virtual bool | train (CFeatures *data=NULL) |
virtual EClassifierType | get_classifier_type () |
virtual float64_t | classify_example (int32_t num) |
virtual CLabels * | classify_one_vs_rest () |
virtual const char * | get_name () const |
Protected Attributes | |
svm_problem | problem |
svm_parameter | param |
struct svm_model * | model |
float64_t * | norm_wc |
float64_t * | norm_wcw |
float64_t | rho |
CScatterSVM | ( | ) |
constructor
Definition at line 17 of file ScatterSVM.cpp.
CScatterSVM | ( | float64_t | C, | |
CKernel * | k, | |||
CLabels * | lab | |||
) |
constructor
C | constant C | |
k | kernel | |
lab | labels |
Definition at line 22 of file ScatterSVM.cpp.
~CScatterSVM | ( | ) | [virtual] |
default destructor
Definition at line 27 of file ScatterSVM.cpp.
float64_t classify_example | ( | int32_t | num | ) | [virtual] |
classify one example
num | number of example to classify |
Reimplemented from CMultiClassSVM.
Definition at line 260 of file ScatterSVM.cpp.
CLabels * classify_one_vs_rest | ( | ) | [virtual] |
classify one vs rest
Reimplemented from CMultiClassSVM.
Definition at line 198 of file ScatterSVM.cpp.
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
get classifier type
Reimplemented from CClassifier.
Definition at line 65 of file ScatterSVM.h.
virtual const char* get_name | ( | ) | const [virtual] |
bool train | ( | CFeatures * | data = NULL |
) | [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 CClassifier.
Definition at line 34 of file ScatterSVM.cpp.
struct svm_model* model [read, protected] |
SVM model
Definition at line 93 of file ScatterSVM.h.
norm of w_c
Definition at line 96 of file ScatterSVM.h.
norm of w_cw
Definition at line 99 of file ScatterSVM.h.
svm_parameter param [protected] |
SVM param
Definition at line 90 of file ScatterSVM.h.
svm_problem problem [protected] |
SVM problem
Definition at line 88 of file ScatterSVM.h.
ScatterSVM rho
Definition at line 102 of file ScatterSVM.h.