classPiiGaussianKernel
#include <PiiGaussianKernel.h>
Gaussian kernel function.
Description
The Gaussian kernel is defined as
, where x and y are
vectors of any dimensionality. It is also known as the radial basis
function (RBF) kernel.
Constructors and destructor
|
Constructs a new Gaussian kernel function. |
Public member functions
|
double
|
(
|
|
void
|
(
Sets the |
|
double
|
( )
Returns the value of |
Function details
-
PiiGaussianKernel
()[inline]Constructs a new Gaussian kernel function.
-
double operator()
(- FeatureIterator sample
- FeatureIterator model
- int length
[inline] -
void setSigma
(- double sigma
[inline]Sets the
of the Gaussian
function to sigma.
This value controls the "width" of the Gaussian bell curve. A large sigma means generates a wide, flat curve. As sigma approaches zero, the curve will approach the delta function. The default value is 1.
-
double sigma
()[inline]Returns the value of
.
Add a note
Not a single note added yet. Be the first, add yours.