Question 1: Short answer
easyAI-checkedNearest Neighbors & Kernel MethodsA 5-nearest-neighbour classifier labels the SMS "Good. No cellphones allowed :)". Its five nearest training messages have the labels ham, spam, ham, ham, ham. With uniform weights, what probability does the classifier give to its predicted class?