MLPACK
1.0.4
|
Kernel functions. More...
Classes | |
class | CosineDistance |
The cosine distance (or cosine similarity). More... | |
class | EpanechnikovKernel |
The Epanechnikov kernel, defined as. More... | |
class | ExampleKernel |
An example kernel function. More... | |
class | GaussianKernel |
The standard Gaussian kernel. More... | |
class | HyperbolicTangentKernel |
Hyperbolic tangent kernel. More... | |
class | LaplacianKernel |
The standard Laplacian kernel. More... | |
class | LinearKernel |
The simple linear kernel (dot product). More... | |
class | PolynomialKernel |
The simple polynomial kernel. More... | |
class | PSpectrumStringKernel |
The p-spectrum string kernel. More... | |
class | SphericalKernel |
class | TriangularKernel |
The trivially simple triangular kernel, defined by. More... |
Kernel functions.
This namespace contains kernel functions, which evaluate some kernel function for some arbitrary vectors
and
of the same dimension. The single restriction on the function
is that it must satisfy Mercer's condition:
for all square integrable functions .
The kernels in this namespace all implement the same methods as the ExampleKernel class. Any additional custom kernels should implement all the methods that class implements; in addition, any method using a kernel should rely on any arbitrary kernel function class having a default constructor and a function
double Evaluate(arma::vec&, arma::vec&);