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
在文件ScatterSVM.h第35行定义。
公有成员 | |
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 |
保护属性 | |
svm_problem | problem |
svm_parameter | param |
struct svm_model * | model |
float64_t * | norm_wc |
float64_t * | norm_wcw |
float64_t | rho |
CScatterSVM | ( | ) |
constructor
在文件ScatterSVM.cpp第17行定义。
CScatterSVM | ( | float64_t | C, | |
CKernel * | k, | |||
CLabels * | lab | |||
) |
~CScatterSVM | ( | ) | [virtual] |
default destructor
在文件ScatterSVM.cpp第27行定义。
float64_t classify_example | ( | int32_t | num | ) | [virtual] |
classify one example
num | number of example to classify |
在文件ScatterSVM.cpp第260行定义。
CLabels * classify_one_vs_rest | ( | ) | [virtual] |
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
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) |
重载CClassifier。
在文件ScatterSVM.cpp第34行定义。
struct svm_model* model [protected] |
SVM model
在文件ScatterSVM.h第93行定义。
norm of w_c
在文件ScatterSVM.h第96行定义。
norm of w_cw
在文件ScatterSVM.h第99行定义。
svm_parameter param [protected] |
SVM param
在文件ScatterSVM.h第90行定义。
svm_problem problem [protected] |
SVM problem
在文件ScatterSVM.h第88行定义。
ScatterSVM rho
在文件ScatterSVM.h第102行定义。