K Nearest Neighbor and Minimum Distance Classifiers

Here we first consider a set of simple supervised classification algorithms that assign an unlabeled sample ${\bf x}$ to one of the $K$ known classes based on set $N$ of training samples ${\bf X}=[{\bf x}_1,\cdots,{\bf x}_N]$, where each sample ${\bf x}_n$ is labeled by $y_n=k\in\{1,\cdots,K\}$, indicating it belongs to class $C_k$.