| Part of a series on |
| Machine learning anddata mining |
|---|
Learning with humans |
Model diagnostics |
Inmachine learning,kernel machines are a class of algorithms forpattern analysis, whose best known member is thesupport-vector machine (SVM). These methods involve using linear classifiers to solve nonlinear problems.[1] The general task ofpattern analysis is to find and study general types of relations (for exampleclusters,rankings,principal components,correlations,classifications) in datasets. For many algorithms that solve these tasks, the data in raw representation have to be explicitly transformed intofeature vector representations via a user-specifiedfeature map: in contrast, kernel methods require only a user-specifiedkernel, i.e., asimilarity function over all pairs of data points computed usinginner products. The feature map in kernel machines is infinite dimensional but only requires a finite dimensional matrix from user-input according to therepresenter theorem. Kernel machines are slow to compute for datasets larger than a couple of thousand examples without parallel processing.
Kernel methods owe their name to the use ofkernel functions, which enable them to operate in a high-dimensional,implicitfeature space without ever computing the coordinates of the data in that space, but rather by simply computing theinner products between theimages of all pairs of data in the feature space. This operation is often computationally cheaper than the explicit computation of the coordinates. This approach is called the "kernel trick".[2] Kernel functions have been introduced for sequence data,graphs, text, images, as well as vectors.
Algorithms capable of operating with kernels include thekernel perceptron, support-vector machines (SVM),Gaussian processes,principal components analysis (PCA),canonical correlation analysis,ridge regression,spectral clustering,linear adaptive filters and many others.
Most kernel algorithms are based onconvex optimization oreigenproblems and are statistically well-founded. Typically, their statistical properties are analyzed usingstatistical learning theory (for example, usingRademacher complexity).
Kernel methods can be thought of asinstance-based learners: rather than learning some fixed set of parameters corresponding to the features of their inputs, they instead "remember" the-th training example and learn for it a corresponding weight. Prediction for unlabeled inputs, i.e., those not in the training set, are treated by the application of asimilarity function, called akernel, between the unlabeled input and each of the training inputs. For instance, a kernelizedbinary classifier typically computes a weighted sum of similaritieswhere
Kernel classifiers were described as early as the 1960s, with the invention of thekernel perceptron.[3] They rose to great prominence with the popularity of thesupport-vector machine (SVM) in the 1990s, when the SVM was found to be competitive withneural networks on tasks such ashandwriting recognition.

The kernel trick avoids the explicit mapping that is needed to get linearlearning algorithms to learn a nonlinear function ordecision boundary. For all and in the input space, certain functions can be expressed as aninner product in another space. The function is often referred to as akernel or akernel function. The word "kernel" is used in mathematics to denote a weighting function for a weighted sum orintegral.
Certain problems in machine learning have more structure than an arbitrary weighting function. The computation is made much simpler if the kernel can be written in the form of a "feature map" which satisfiesThe key restriction is that must be a proper inner product. On the other hand, an explicit representation for is not necessary, as long as is aninner product space. The alternative follows fromMercer's theorem: an implicitly defined function exists whenever the space can be equipped with a suitablemeasure ensuring the function satisfiesMercer's condition.
Mercer's theorem is similar to a generalization of the result from linear algebra thatassociates an inner product to any positive-definite matrix. In fact, Mercer's condition can be reduced to this simpler case. If we choose as our measure thecounting measure for all, which counts the number of points inside the set, then the integral in Mercer's theorem reduces to a summationIf this summation holds for all finite sequences of points in and all choices of real-valued coefficients (cf.positive definite kernel), then the function satisfies Mercer's condition.
Some algorithms that depend on arbitrary relationships in the native space would, in fact, have a linear interpretation in a different setting: the range space of. The linear interpretation gives us insight about the algorithm. Furthermore, there is often no need to compute directly during computation, as is the case withsupport-vector machines. Some cite this running time shortcut as the primary benefit. Researchers also use it to justify the meanings and properties of existing algorithms.
Theoretically, aGram matrix with respect to (sometimes also called a "kernel matrix"[4]), where, must bepositive semi-definite (PSD).[5] Empirically, for machine learning heuristics, choices of a function that do not satisfy Mercer's condition may still perform reasonably if at least approximates the intuitive idea of similarity.[6] Regardless of whether is a Mercer kernel, may still be referred to as a "kernel".
If the kernel function is also acovariance function as used inGaussian processes, then the Gram matrix can also be called acovariance matrix.[7]
Application areas of kernel methods are diverse and includegeostatistics,[8]kriging,inverse distance weighting,3D reconstruction,bioinformatics,cheminformatics,information extraction andhandwriting recognition.