KernelTraits< TriangularKernel > Class Template Reference

Kernel traits for the triangular kernel. More...

Static Public Attributes

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

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

 

Detailed Description


template
<
>

class mlpack::kernel::KernelTraits< TriangularKernel >

Kernel traits for the triangular kernel.

Definition at line 108 of file triangular_kernel.hpp.

Member Data Documentation

◆ IsNormalized

const bool IsNormalized = true
static

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

Definition at line 112 of file triangular_kernel.hpp.

◆ UsesSquaredDistance

const bool UsesSquaredDistance = false
static

The triangular kernel doesn't include a squared distance.

Definition at line 114 of file triangular_kernel.hpp.


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