#include <loss_functions.h>
|
virtual std::string | get_type () const =0 |
|
virtual float | get_parameter () const |
|
virtual float | get_loss (const shared_data *, float prediction, float label) const =0 |
|
virtual float | get_update (float prediction, float label, float update_scale, float pred_per_update) const =0 |
|
virtual float | get_unsafe_update (float prediction, float label, float update_scale) const =0 |
|
virtual float | get_square_grad (float prediction, float label) const =0 |
|
virtual float | first_derivative (const shared_data *, float prediction, float label) const =0 |
|
virtual float | second_derivative (const shared_data *, float prediction, float label) const =0 |
|
virtual | ~loss_function ()=default |
|
◆ ~loss_function()
virtual VW::loss_function::~loss_function |
( |
| ) |
|
|
virtualdefault |
◆ first_derivative()
virtual float VW::loss_function::first_derivative |
( |
const shared_data * |
, |
|
|
float |
prediction, |
|
|
float |
label |
|
) |
| const |
|
pure virtual |
◆ get_loss()
virtual float VW::loss_function::get_loss |
( |
const shared_data * |
, |
|
|
float |
prediction, |
|
|
float |
label |
|
) |
| const |
|
pure virtual |
◆ get_parameter()
virtual float VW::loss_function::get_parameter |
( |
| ) |
const |
|
inlinevirtual |
◆ get_square_grad()
virtual float VW::loss_function::get_square_grad |
( |
float |
prediction, |
|
|
float |
label |
|
) |
| const |
|
pure virtual |
◆ get_type()
virtual std::string VW::loss_function::get_type |
( |
| ) |
const |
|
pure virtual |
◆ get_unsafe_update()
virtual float VW::loss_function::get_unsafe_update |
( |
float |
prediction, |
|
|
float |
label, |
|
|
float |
update_scale |
|
) |
| const |
|
pure virtual |
◆ get_update()
virtual float VW::loss_function::get_update |
( |
float |
prediction, |
|
|
float |
label, |
|
|
float |
update_scale, |
|
|
float |
pred_per_update |
|
) |
| const |
|
pure virtual |
◆ second_derivative()
virtual float VW::loss_function::second_derivative |
( |
const shared_data * |
, |
|
|
float |
prediction, |
|
|
float |
label |
|
) |
| const |
|
pure virtual |
The documentation for this class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/loss_functions.h