Abstract trait for any (sub)differentiable objective function used to train predictors. More accurately, this defines a family of objective functions indexed by each possible label. Note that these are concave objective functions, not convex loss functions.
The type of the prediction: is it a tensor or a scalar?
The type of the output/label: is it integer or real-valued or tensor-valued?