Definition 1≤k≤Kargmaxf^k(x)=1≤k≤Kargmaxp^k(x)π^k=1≤k≤Kargmax(n1∣H∣−1i:Yi=k∑K(H−1(x−Xi))) where p^k(x)=nk1∣H∣−1i:Yi=k∑K(H−1(x−Xi)) and π^k=nnk Bayes Classifier with an assumption that pk(x) is the Kernel Density Estimation.