Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-218/5/d/solution

A weighted nearest-neighbours classifier predicts one when
where neighbours are distance ordered. Under the usual smooth-density and smooth-regression assumptions, asymptotically optimal weights downweight distant neighbours, for example normalized positive parts of . The optimal weighted-nearest-neighbour theorem gives smaller leading asymptotic regret than equal weights.

New to topics? Read the docs here!