Text this: Oracle inequalities for convex loss functions with nonlinear targets