12 #ifndef MLPACK_METHODS_KDE_STAT_HPP 13 #define MLPACK_METHODS_KDE_STAT_HPP 36 template<
typename TreeType>
45 inline double MCBeta()
const {
return mcBeta; }
48 inline double&
MCBeta() {
return mcBeta; }
63 inline double MCAlpha()
const {
return mcAlpha; }
66 inline double&
MCAlpha() {
return mcAlpha; }
69 template<
typename Archive>
72 ar(CEREAL_NVP(mcBeta));
73 ar(CEREAL_NVP(mcAlpha));
74 ar(CEREAL_NVP(accumAlpha));
75 ar(CEREAL_NVP(accumError));
void serialize(Archive &ar, const uint32_t)
Serialize the statistic to/from an archive.
double AccumAlpha() const
Get accumulated Monte Carlo alpha of the node.
Linear algebra utility functions, generally performed on matrices or vectors.
double MCBeta() const
Get accumulated Monte Carlo alpha of the node.
The core includes that mlpack expects; standard C++ includes and Armadillo.
double & MCBeta()
Modify accumulated Monte Carlo alpha of the node.
double & AccumAlpha()
Modify accumulated Monte Carlo alpha of the node.
Extra data for each node in the tree for the task of kernel density estimation.
KDEStat(TreeType &)
Initialization for a fully initialized node.
double & MCAlpha()
Modify Monte Carlo alpha of the node.
double & AccumError()
Modify accumulated error tolerance of the node.
double MCAlpha() const
Get Monte Carlo alpha of the node.
KDEStat()
Initialize the statistic.
double AccumError() const
Get accumulated error tolerance of the node.