class SVMSGD
公有成员 | |
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 c1, float64_t c2) |
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 | ( | float64_t | C, | |
CDotFeatures * | traindat, | |||
CLabels * | trainlab | |||
) |
constructor
C | constant C | |
traindat | training features | |
trainlab | labels for training features |
在文件SVMSGD.cpp第112行定义。
~CSVMSGD | ( | ) | [virtual] |
在文件SVMSGD.cpp第122行定义。
void calibrate | ( | ) | [protected] |
calibrate
在文件SVMSGD.cpp第216行定义。
virtual EClassifierType get_classifier_type | ( | ) | [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第128行定义。