Abstract class that implements some of the functionality for common loss functions
A loss function determines the loss term L(w) of the objective function f(w) = L(w) +
lambda*R(w) for prediction tasks, the other being regularization, R(w).
The regularization is specific to the used optimization algorithm and, thus, implemented there.
We currently only support differentiable loss functions, in the future this class
could be changed to DiffLossFunction in order to support other types, such as absolute loss.
Abstract class that implements some of the functionality for common loss functions
A loss function determines the loss term
L(w)
of the objective functionf(w) = L(w) + lambda*R(w)
for prediction tasks, the other being regularization,R(w)
.The regularization is specific to the used optimization algorithm and, thus, implemented there.
We currently only support differentiable loss functions, in the future this class could be changed to DiffLossFunction in order to support other types, such as absolute loss.