|
SHOGUN
v1.1.0
|

Public Member Functions | |
| CSGDQN () | |
| CSGDQN (float64_t C) | |
| CSGDQN (float64_t C, CDotFeatures *traindat, CLabels *trainlab) | |
| virtual | ~CSGDQN () |
| 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 | compute_ratio (float64_t *W, float64_t *W_1, float64_t *B, float64_t *dst, int32_t dim, float64_t regularizer_lambda, float64_t loss) |
| void | combine_and_clip (float64_t *Bc, float64_t *B, int32_t dim, float64_t c1, float64_t c2, float64_t v1, float64_t v2) |
| void | set_loss_function (CLossFunction *loss_func) |
| CLossFunction * | get_loss_function () |
| virtual const char * | get_name () const |
Protected Member Functions | |
| void | calibrate () |
| CSGDQN | ( | float64_t | C, |
| CDotFeatures * | traindat, | ||
| CLabels * | trainlab | ||
| ) |
| virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
| int32_t get_epochs | ( | ) |
| virtual const char* get_name | ( | ) | const [virtual] |
| void set_epochs | ( | int32_t | e | ) |
| void set_loss_function | ( | CLossFunction * | loss_func | ) |
Set the loss function to use
| loss_func | object derived from CLossFunction |