In
machine learning
Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence.
Machine ...
, the
radial basis function kernel, or RBF kernel, is a popular
kernel function used in various
kernelized learning algorithms. In particular, it is commonly used in
support vector machine
In machine learning, support vector machines (SVMs, also support vector networks) are supervised learning models with associated learning algorithms that analyze data for classification and regression analysis. Developed at AT&T Bell Laboratories ...
classification Classification is a process related to categorization, the process in which ideas and objects are recognized, differentiated and understood.
Classification is the grouping of related facts into classes.
It may also refer to:
Business, organizat ...
.
The RBF kernel on two samples
and x', represented as feature vectors in some ''input space'', is defined as
[Jean-Philippe Vert, Koji Tsuda, and Bernhard Schölkopf (2004)]
"A primer on kernel methods".
''Kernel Methods in Computational Biology''.
:
may be recognized as the
squared Euclidean distance between the two feature vectors.
is a free parameter. An equivalent definition involves a parameter
:
:
Since the value of the RBF kernel decreases with distance and ranges between zero (in the limit) and one (when ), it has a ready interpretation as a
similarity measure
In statistics and related fields, a similarity measure or similarity function or similarity metric is a real-valued function that quantifies the similarity between two objects. Although no single definition of a similarity exists, usually such mea ...
.
The
feature space of the kernel has an infinite number of dimensions; for
, its expansion using the
multinomial theorem is:
:
:
where
,
:
Approximations
Because support vector machines and other models employing the
kernel trick
In machine learning, kernel machines are a class of algorithms for pattern analysis, whose best known member is the support-vector machine (SVM). The general task of pattern analysis is to find and study general types of relations (for example c ...
do not scale well to large numbers of training samples or large numbers of features in the input space, several approximations to the RBF kernel (and similar kernels) have been introduced.
Typically, these take the form of a function ''z'' that maps a single vector to a vector of higher dimensionality, approximating the kernel:
:
where
is the implicit mapping embedded in the RBF kernel.
One way to construct such a ''z'' is to randomly sample from the
Fourier transformation of the kernel. Another approach uses the
Nyström method to approximate the
eigendecomposition of the
Gram matrix ''K'', using only a random sample of the training set.
See also
*
Gaussian function
In mathematics, a Gaussian function, often simply referred to as a Gaussian, is a function of the base form
f(x) = \exp (-x^2)
and with parametric extension
f(x) = a \exp\left( -\frac \right)
for arbitrary real constants , and non-zero . It i ...
*
Kernel (statistics)
*
Polynomial kernel
*
Radial basis function
*
Radial basis function network
*
Obst Kernel network
References
{{reflist, 30em
Kernel methods for machine learning
Support vector machines