Vowpal Wabbit
|
Public Member Functions | |
std::string | getType () |
float | getLoss (shared_data *sd, float prediction, float label) |
float | getUpdate (float prediction, float label, float update_scale, float pred_per_update) |
float | getUnsafeUpdate (float prediction, float label, float update_scale) |
float | getRevertingWeight (shared_data *sd, float prediction, float eta_t) |
float | getSquareGrad (float prediction, float label) |
float | first_derivative (shared_data *sd, float prediction, float label) |
float | second_derivative (shared_data *sd, float prediction, float) |
![]() | |
virtual | ~loss_function () |
Definition at line 15 of file loss_functions.cc.
|
inlinevirtual |
Implements loss_function.
Definition at line 66 of file loss_functions.cc.
References shared_data::max_label, and shared_data::min_label.
Referenced by hingeloss::getSquareGrad(), logloss::getSquareGrad(), and quantileloss::getSquareGrad().
|
inlinevirtual |
Implements loss_function.
Definition at line 20 of file loss_functions.cc.
References shared_data::max_label, and shared_data::min_label.
|
inlinevirtual |
Implements loss_function.
Definition at line 58 of file loss_functions.cc.
References shared_data::max_label, and shared_data::min_label.
|
inlinevirtual |
Implements loss_function.
Definition at line 65 of file loss_functions.cc.
|
inlinevirtual |
|
inlinevirtual |
Implements loss_function.
Definition at line 53 of file loss_functions.cc.
|
inlinevirtual |
Implements loss_function.
Definition at line 40 of file loss_functions.cc.
References correctedExp, and f.
|
inlinevirtual |
Implements loss_function.
Definition at line 74 of file loss_functions.cc.
References shared_data::min_label.