
Public Member Functions | |
| CSVMSGD (float64_t C) | |
| CSVMSGD (float64_t C, CSparseFeatures< float64_t > *traindat, CLabels *trainlab) | |
| ~CSVMSGD () | |
| virtual EClassifierType | get_classifier_type () |
| virtual bool | train () |
| 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 () |
Protected Member Functions | |
| void | calibrate () |
Definition at line 31 of file SVMSGD.h.
| CSVMSGD::CSVMSGD | ( | float64_t | C | ) |
| CSVMSGD::CSVMSGD | ( | float64_t | C, | |
| CSparseFeatures< float64_t > * | traindat, | |||
| CLabels * | trainlab | |||
| ) |
constructor
| C | constant C | |
| traindat | training features | |
| trainlab | labels for training features |
Definition at line 109 of file SVMSGD.cpp.
| CSVMSGD::~CSVMSGD | ( | ) |
Definition at line 119 of file SVMSGD.cpp.
| void CSVMSGD::calibrate | ( | ) | [protected] |
calibrate
Definition at line 203 of file SVMSGD.cpp.
| bool CSVMSGD::get_bias_enabled | ( | ) |
| virtual EClassifierType CSVMSGD::get_classifier_type | ( | ) | [virtual] |
| int32_t CSVMSGD::get_epochs | ( | ) |
| bool CSVMSGD::get_regularized_bias_enabled | ( | ) |
| void CSVMSGD::set_bias_enabled | ( | bool | enable_bias | ) |
| void CSVMSGD::set_epochs | ( | int32_t | e | ) |
| void CSVMSGD::set_regularized_bias_enabled | ( | bool | enable_bias | ) |
| bool CSVMSGD::train | ( | ) | [virtual] |
train SVM
Reimplemented from CClassifier.
Definition at line 125 of file SVMSGD.cpp.