SHOGUN v0.9.0
|
公有成员 | |
CSVMSGD () | |
CSVMSGD (float64_t C) | |
CSVMSGD (float64_t C, CDotFeatures *traindat, CLabels *trainlab) | |
virtual | ~CSVMSGD () |
virtual EClassifierType | get_classifier_type () |
virtual bool | train (CFeatures *data=NULL) |
void | set_C (float64_t c_neg, float64_t c_pos) |
float64_t | get_C1 () |
float64_t | get_C2 () |
void | set_epochs (int32_t e) |
int32_t | get_epochs () |
void | set_bias_enabled (bool enable_bias) |
bool | get_bias_enabled () |
void | set_regularized_bias_enabled (bool enable_bias) |
bool | get_regularized_bias_enabled () |
virtual const char * | get_name () const |
保护成员 | |
void | calibrate () |
CSVMSGD | ( | ) |
default constructor
在文件SVMSGD.cpp第105行定义。
CSVMSGD | ( | float64_t | C, |
CDotFeatures * | traindat, | ||
CLabels * | trainlab | ||
) |
constructor
C | constant C |
traindat | training features |
trainlab | labels for training features |
在文件SVMSGD.cpp第120行定义。
~CSVMSGD | ( | ) | [virtual] |
在文件SVMSGD.cpp第131行定义。
void calibrate | ( | ) | [protected] |
calibrate
在文件SVMSGD.cpp第223行定义。
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
virtual const char* get_name | ( | void | ) | const [virtual] |
bool get_regularized_bias_enabled | ( | ) |
void set_bias_enabled | ( | bool | enable_bias | ) |
void set_regularized_bias_enabled | ( | bool | enable_bias | ) |
bool train | ( | CFeatures * | data = NULL | ) | [virtual] |
train 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。
在文件SVMSGD.cpp第135行定义。