SG++-Doxygen-Documentation
|
#include <KernelDensityEstimator.hpp>
Public Member Functions | |
virtual void | clone (std::unique_ptr< sgpp::optimization::ScalarFunction > &clone) const |
double | eval (const sgpp::base::DataVector &x) |
Pure virtual method for calculating \(f(\vec{x})\). More... | |
KDEMaximumLikelihoodCrossValidation (KernelDensityEstimator &kde, size_t kfold=10, std::uint64_t seedValue=std::mt19937_64::default_seed) | |
Constructor. More... | |
Public Member Functions inherited from sgpp::optimization::ScalarFunction | |
size_t | getNumberOfParameters () const |
ScalarFunction (size_t d) | |
Constructor. More... | |
virtual | ~ScalarFunction () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sgpp::optimization::ScalarFunction | |
size_t | d |
dimension of the domain More... | |
|
explicit |
|
inlinevirtual |
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::ScalarFunction.
|
virtual |
Pure virtual method for calculating \(f(\vec{x})\).
x | evaluation point \(\vec{x} \in [0, 1]^d\) |
Implements sgpp::optimization::ScalarFunction.
References sgpp::datadriven::KernelDensityEstimator::getKernel(), sgpp::datadriven::Kernel::getType(), sgpp::datadriven::NONE, and sgpp::datadriven::KernelDensityEstimator::setBandwidths().