mlpack
Static Public Attributes | List of all members
mlpack::kernel::KernelTraits< CosineDistance > Class Template Reference

Kernel traits for the cosine distance. More...

#include <cosine_distance.hpp>

Static Public Attributes

static const bool IsNormalized = true
 The cosine kernel is normalized: K(x, x) = 1 for all x.
 
static const bool UsesSquaredDistance = false
 The cosine kernel doesn't include a squared distance.
 

Detailed Description

template<>
class mlpack::kernel::KernelTraits< CosineDistance >

Kernel traits for the cosine distance.


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