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 120 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 124 of file spherical_kernel.hpp.

◆ UsesSquaredDistance

const bool UsesSquaredDistance = false
static

The spherical kernel doesn't include a squared distance.

Definition at line 126 of file spherical_kernel.hpp.


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