KernelTraits< SphericalKernel > Class Template Reference

Kernel traits for the spherical kernel. More...

Static Public Attributes

static const bool IsNormalized = true
 The spherical kernel is normalized: K(x, x) = 1 for all x. More...

 
static const bool UsesSquaredDistance = false
 The spherical kernel doesn't include a squared distance. More...

 

Detailed Description


template
<
>

class mlpack::kernel::KernelTraits< SphericalKernel >

Kernel traits for the spherical kernel.

Definition at line 123 of file spherical_kernel.hpp.

Member Data Documentation

◆ IsNormalized

const bool IsNormalized = true
static

The spherical kernel is normalized: K(x, x) = 1 for all x.

Definition at line 127 of file spherical_kernel.hpp.

◆ UsesSquaredDistance

const bool UsesSquaredDistance = false
static

The spherical kernel doesn't include a squared distance.

Definition at line 129 of file spherical_kernel.hpp.


The documentation for this class was generated from the following file: