Scroll to navigation

mlpack::kernel::KernelTraits< CosineDistance >(3) MLPACK mlpack::kernel::KernelTraits< CosineDistance >(3)

NAME

mlpack::kernel::KernelTraits< CosineDistance > -
Kernel traits for the cosine distance.

SYNOPSIS

Static Public Attributes


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

Detailed Description

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

Kernel traits for the cosine distance.
Definition at line 66 of file cosine_distance.hpp.

Member Data Documentation

const bool mlpack::kernel::KernelTraits< CosineDistance >::IsNormalized = true [static]

The cosine kernel is normalized: K(x, x) = 1 for all x.
Definition at line 70 of file cosine_distance.hpp.

Author

Generated automatically by Doxygen for MLPACK from the source code.
Tue Sep 9 2014 Version 1.0.10