38 return loss(prediction*label);
48 return -label*
loss(prediction,label);
58 return label*label*
loss(prediction,label);
double norm(double *v, double p, int n)
virtual float64_t get_square_grad(float64_t prediction, float64_t label)
#define SG_NOTIMPLEMENTED
virtual float64_t get_update(float64_t prediction, float64_t label, float64_t eta_t, float64_t norm)
float64_t first_derivative(float64_t prediction, float64_t label)
float64_t second_derivative(float64_t prediction, float64_t label)
all of classes and functions are contained in the shogun namespace
float64_t loss(float64_t prediction, float64_t label)
static float64_t exp(float64_t x)