17. Kernel Methods
In this chapter, we consider nonparametric methods for classification and regression. These methods don’t assume fixed parametric form for the prediction function, but try to estimate the function itself (rather than its parameters) directly from the data.
They key idea is to memorize a training dataset and compare a new input to each of the training points . We can then predict that is a weighted combinations of the values.
In section 17.1, we explain that the similarity between and each is computed using a kernel function, . This approach is similar to RBF network, except we use the datapoints themselves as anchors rather than learning centroids .
In section 17.2, we discuss an approach called Gaussian processes, in which the kernel define a prior over functions, which we can update given data to get a posterior over functions.
Alternatively, we can use the kernel with a Support Vector Machines to compute the MAP estimate of the function, as explained in section 17.3.