KernelNormalizer Class Reference

KernelNormalizer holds a set of methods to normalize estimations applying in each case the appropiate kernel normalizer function. More...

Static Public Member Functions

template
<
typename
KernelType
>
static void ApplyNormalizer (KernelType &, const size_t, arma::vec &, const typename std::enable_if< !HasNormalizer< KernelType, double(KernelType::*)(size_t)>::value >::type *=0)
 Normalization not needed. More...

 
template
<
typename
KernelType
>
static void ApplyNormalizer (KernelType &kernel, const size_t dimension, arma::vec &estimations, const typename std::enable_if< HasNormalizer< KernelType, double(KernelType::*)(size_t)>::value >::type *=0)
 Normalize kernels that have normalizer. More...

 

Detailed Description

KernelNormalizer holds a set of methods to normalize estimations applying in each case the appropiate kernel normalizer function.

Definition at line 34 of file kde_model.hpp.

Member Function Documentation

◆ ApplyNormalizer() [1/2]

static void ApplyNormalizer ( KernelType &  ,
const size_t  ,
arma::vec &  ,
const typename std::enable_if< !HasNormalizer< KernelType, double(KernelType::*)(size_t)>::value >::type *  = 0 
)
inlinestatic

Normalization not needed.

Definition at line 43 of file kde_model.hpp.

◆ ApplyNormalizer() [2/2]

static void ApplyNormalizer ( KernelType &  kernel,
const size_t  dimension,
arma::vec &  estimations,
const typename std::enable_if< HasNormalizer< KernelType, double(KernelType::*)(size_t)>::value >::type *  = 0 
)
inlinestatic

Normalize kernels that have normalizer.

Definition at line 54 of file kde_model.hpp.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/kde/kde_model.hpp