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

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

#include <kde.hpp>

Static Public Attributes

static constexpr double relError = 0.05
 Relative error tolerance.
 
static constexpr double absError = 0
 Absolute error tolerance.
 
static constexpr KDEMode mode = KDEMode::DUAL_TREE_MODE
 KDE algorithm mode.
 
static constexpr bool monteCarlo = false
 Whether to use Monte Carlo estimations when possible.
 
static constexpr double mcProb = 0.95
 Probability of a Monte Carlo estimation to be bounded by the relative error tolerance. More...
 
static constexpr size_t initialSampleSize = 100
 Initial sample size for Monte Carlo estimations.
 
static constexpr double mcEntryCoef = 3
 Monte Carlo entry coefficient.
 
static constexpr double mcBreakCoef = 0.4
 Monte Carlo break coefficient.
 

Detailed Description

KDEDefaultParams contains the default input parameter values for KDE.

Member Data Documentation

◆ mcProb

constexpr double mlpack::kde::KDEDefaultParams::mcProb = 0.95
static

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


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