Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ii/paper-4/30l/c/solution

The hypothesis class and margin loss are
and
Thus this is a positive semidefinite quadratic-form classifier with logistic loss. Its empirical risk, viewed as a function of the matrix parameter, is
Differentiating under the sum shows that
Hence the displayed is exactly , and the algorithm is projected gradient descent on the positive semidefinite trace ball.
The scalar factor multiplying each lies in . Since
we have the uniform gradient bound
Let parametrize the empirical minimizer . Positive semidefiniteness gives
Thus the initial distance from to is at most , while the gradient bound is .
The averaged projected-gradient bound, in its slightly looser form
applies because is convex. Choose
Substitution gives

New to topics? Read the docs here!