Let denote a classifier on . Nonparametric classification is concerned with estimating without making parametric assumptions on it’s form.
The optimal ominiscient classifier is the Bayes classifier, given by
and it is typically against this standard that we judge our solutions.
We can use nonparametric density estimation methods for this setting. By Bayes rule,
The term can be estimated using nonparametric regression (simply throw out everything that did not have label ), and the term can be estimated by simple looking at the fraction of training data with the label .
Suppose is just a binary classifier. Then the Bayes optimal classifier is
Since , we can thus approximate by using nonparametric regression to estimate with and defining