ensmallen
mlpack
fast, flexible C++ machine learning library
KDEDefaultParams Struct Reference

KDEDefaultParams contains the default input parameter values for KDE. More...

Static Public Attributes

static constexpr double absError = 0
 Absolute error tolerance. More...

 
static constexpr size_t initialSampleSize = 100
 Initial sample size for Monte Carlo estimations. More...

 
static constexpr double mcBreakCoef = 0.4
 Monte Carlo break coefficient. More...

 
static constexpr double mcEntryCoef = 3
 Monte Carlo entry coefficient. More...

 
static constexpr double mcProb = 0.95
 Probability of a Monte Carlo estimation to be bounded by the relative error tolerance. More...

 
static constexpr KDEMode mode = KDEMode::DUAL_TREE_MODE
 KDE algorithm mode. More...

 
static constexpr bool monteCarlo = false
 Whether to use Monte Carlo estimations when possible. More...

 
static constexpr double relError = 0.05
 Relative error tolerance. More...

 

Detailed Description

KDEDefaultParams contains the default input parameter values for KDE.

Definition at line 32 of file kde.hpp.

Member Data Documentation

◆ absError

◆ initialSampleSize

◆ mcBreakCoef

constexpr double mcBreakCoef = 0.4
static

◆ mcEntryCoef

◆ mcProb

constexpr double mcProb = 0.95
static

◆ mode

◆ monteCarlo

◆ relError


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