|
STK++ 0.9.13
|
In this sub-project, we compute the usual positive kernels used by rkhs methods. More...

Classes | |
| class | STK::Kernel::Gaussian< Array > |
| The Gaussian Kernel is a kernel of the form. More... | |
| class | STK::Kernel::Hamming< Array > |
| The Hamming Kernel is a kernel of the form. More... | |
| class | STK::Kernel::IKernel |
| Interface class for the kernels classes. More... | |
| class | STK::Kernel::IKernelBase< Array > |
| Interface Base class for the kernels classes. More... | |
| class | STK::Kernel::Laplace< Array > |
| The Laplace Kernel is a kernel of the form. More... | |
| class | STK::Kernel::Exponential< Array > |
| [Deprecated] The Exponential Kernel is a kernel of the form More... | |
| class | STK::Kernel::Linear< Array > |
| The Linear Kernel is a kernel of the form. More... | |
| class | STK::Kernel::Polynomial< Array > |
| The Polynomial Kernel is a kernel of the form. More... | |
| class | STK::Kernel::RationalQuadratic< Array > |
| The RationalQuadratic Kernel is a kernel of the form. More... | |
Enumerations | |
| enum | STK::Kernel::kernelType { STK::Kernel::laplace_ , STK::Kernel::exponential_ , STK::Kernel::gaussian_ , STK::Kernel::linear_ , STK::Kernel::polynomial_ , STK::Kernel::rationalQuadratic_ , STK::Kernel::hamming_ , STK::Kernel::unknown_kernel_ } |
| kernel types. More... | |
Functions | |
| kernelType | STK::Kernel::stringToKernelType (std::string const &type) |
| Convert a String to a kernelType. | |
| String | STK::Kernel::kernelTypeToString (kernelType const &type) |
| convert a kernelType to a String. | |
In this sub-project, we compute the usual positive kernels used by rkhs methods.
kernel types.
| Enumerator | |
|---|---|
| laplace_ | |
| exponential_ | |
| gaussian_ | |
| linear_ | |
| polynomial_ | |
| rationalQuadratic_ | |
| hamming_ | |
| unknown_kernel_ | |
Definition at line 49 of file STK_Kernel_Util.h.
|
inline |
convert a kernelType to a String.
| type | the type of kernelType we want to convert |
Definition at line 93 of file STK_Kernel_Util.h.
References _T, STK::Kernel::exponential_, STK::Kernel::gaussian_, STK::Kernel::hamming_, STK::Kernel::laplace_, STK::Kernel::linear_, STK::Kernel::polynomial_, and STK::Kernel::rationalQuadratic_.
|
inline |
Convert a String to a kernelType.
The recognized strings are
| Kernel |
|---|
| "Laplace" |
| "Gaussian" |
| "Linear" |
| "Polynomial" |
| "RationalQuadratic" |
| "Hamming" |
| type | the String we want to convert |
type. If the string does not match any known name, the unknown_kernel_ type is returned. Definition at line 76 of file STK_Kernel_Util.h.
References _T, STK::Kernel::exponential_, STK::Kernel::gaussian_, STK::Kernel::hamming_, STK::Kernel::laplace_, STK::Kernel::linear_, STK::Kernel::polynomial_, STK::Kernel::rationalQuadratic_, STK::toUpperString(), and STK::Kernel::unknown_kernel_.
Referenced by STK::KernelHandler::addKernel().