mlpack 3.4.2
Static Public Attributes | List of all members
KDEDefaultParams Struct Reference

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

#include <kde.hpp>

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

constexpr double absError = 0
staticconstexpr

Absolute error tolerance.

Definition at line 38 of file kde.hpp.

◆ initialSampleSize

constexpr size_t initialSampleSize = 100
staticconstexpr

Initial sample size for Monte Carlo estimations.

Definition at line 51 of file kde.hpp.

◆ mcBreakCoef

constexpr double mcBreakCoef = 0.4
staticconstexpr

Monte Carlo break coefficient.

Definition at line 57 of file kde.hpp.

◆ mcEntryCoef

constexpr double mcEntryCoef = 3
staticconstexpr

Monte Carlo entry coefficient.

Definition at line 54 of file kde.hpp.

◆ mcProb

constexpr double mcProb = 0.95
staticconstexpr

Probability of a Monte Carlo estimation to be bounded by the relative error tolerance.

Definition at line 48 of file kde.hpp.

◆ mode

constexpr KDEMode mode = KDEMode::DUAL_TREE_MODE
staticconstexpr

KDE algorithm mode.

Definition at line 41 of file kde.hpp.

◆ monteCarlo

constexpr bool monteCarlo = false
staticconstexpr

Whether to use Monte Carlo estimations when possible.

Definition at line 44 of file kde.hpp.

◆ relError

constexpr double relError = 0.05
staticconstexpr

Relative error tolerance.

Definition at line 35 of file kde.hpp.


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