Skip to content
ml-recall

#certainty

2 questions from Nearest Neighbors & Kernel Methods, Decision Trees & Ensembles

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

easyAI-checkedNearest Neighbors & Kernel Methods

A 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?

a probability, e.g. 0.6