mlpack
|
This is a template class that can provide information about various kernels. More...
#include <kernel_traits.hpp>
Static Public Attributes | |
static const bool | IsNormalized = false |
If true, then the kernel is normalized: K(x, x) = K(y, y) = 1 for all x. | |
static const bool | UsesSquaredDistance = false |
If true, then the kernel include a squared distance, ||x - y||^2 . | |
This is a template class that can provide information about various kernels.
By default, this class will provide the weakest possible assumptions on kernels, and each kernel should override values as necessary. If a kernel doesn't need to override a value, then there's no need to write a KernelTraits specialization for that class.