31 #ifndef _HUBERLOSS_H__
32 #define _HUBERLOSS_H__
146 virtual const char*
get_name()
const {
return "HuberLoss"; }
void set_delta(float64_t delta)
Class CLossFunction is the base class of all loss functions.
float64_t get_delta() const
virtual float64_t get_update(float64_t prediction, float64_t label, float64_t eta_t, float64_t norm)
all of classes and functions are contained in the shogun namespace
float64_t second_derivative(float64_t prediction, float64_t label)
virtual float64_t get_square_grad(float64_t prediction, float64_t label)
virtual const char * get_name() const
CHuberLoss implements the Huber loss function. It behaves like SquaredLoss function at values below H...
float64_t first_derivative(float64_t prediction, float64_t label)
ELossType
shogun loss type
float64_t loss(float64_t prediction, float64_t label)
virtual ELossType get_loss_type()