SHOGUN v0.9.0
|
ScatterSVM - Multiclass SVM.
The ScatterSVM is an unpublished experimental true multiclass SVM. Details are availabe in the following technical report.
This code is currently experimental.
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第50行定义。
公有成员 | |
CScatterSVM (void) | |
CScatterSVM (SCATTER_TYPE type) | |
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 |
保护属性 | |
SCATTER_TYPE | scatter_type |
svm_problem | problem |
svm_parameter | param |
struct svm_model * | model |
float64_t * | norm_wc |
float64_t * | norm_wcw |
float64_t | rho |
int32_t | m_num_classes |
CScatterSVM | ( | void | ) |
default constructor
在文件ScatterSVM.cpp第20行定义。
CScatterSVM | ( | SCATTER_TYPE | type | ) |
constructor
在文件ScatterSVM.cpp第27行定义。
CScatterSVM | ( | float64_t | C, |
CKernel * | k, | ||
CLabels * | lab | ||
) |
constructor (using NO_BIAS as default scatter_type)
C | constant C |
k | kernel |
lab | labels |
在文件ScatterSVM.cpp第33行定义。
~CScatterSVM | ( | ) | [virtual] |
default destructor
在文件ScatterSVM.cpp第39行定义。
float64_t classify_example | ( | int32_t | num | ) | [virtual] |
classify one example
num | number of example to classify |
在文件ScatterSVM.cpp第447行定义。
CLabels * classify_one_vs_rest | ( | ) | [virtual] |
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
virtual const char* get_name | ( | void | ) | 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第45行定义。
int32_t m_num_classes [protected] |
struct svm_model* model [protected] |
SVM model
在文件ScatterSVM.h第118行定义。
norm of w_c
在文件ScatterSVM.h第121行定义。
norm of w_cw
在文件ScatterSVM.h第124行定义。
svm_parameter param [protected] |
SVM param
在文件ScatterSVM.h第115行定义。
svm_problem problem [protected] |
SVM problem
在文件ScatterSVM.h第113行定义。
ScatterSVM rho
在文件ScatterSVM.h第127行定义。
SCATTER_TYPE scatter_type [protected] |
type of scatter SVM
在文件ScatterSVM.h第110行定义。