Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-218/4/c/solution

This is a normalized perceptron algorithm. Because , an update on a misclassified point obeys
Here the two inequalities use the update condition and the assumed unit margin . A squared distance cannot become negative, so there can be at most updates. The algorithm then returns a vector that correctly separates every training point. The estimate is the comparison vector for the proof; without an additional uniqueness condition the returned separator need not equal that particular vector.

New to topics? Read the docs here!