SG++-Doxygen-Documentation
sgpp::datadriven::KDEMaximumLikelihoodCrossValidation Class Reference

#include <KernelDensityEstimator.hpp>

Inheritance diagram for sgpp::datadriven::KDEMaximumLikelihoodCrossValidation:
sgpp::optimization::ScalarFunction

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...
 

Constructor & Destructor Documentation

◆ KDEMaximumLikelihoodCrossValidation()

sgpp::datadriven::KDEMaximumLikelihoodCrossValidation::KDEMaximumLikelihoodCrossValidation ( KernelDensityEstimator kde,
size_t  kfold = 10,
std::uint64_t  seedValue = std::mt19937_64::default_seed 
)
explicit

Member Function Documentation

◆ clone()

virtual void sgpp::datadriven::KDEMaximumLikelihoodCrossValidation::clone ( std::unique_ptr< sgpp::optimization::ScalarFunction > &  clone) const
inlinevirtual
Parameters
[out]clonepointer to cloned object

Implements sgpp::optimization::ScalarFunction.

◆ eval()

double sgpp::datadriven::KDEMaximumLikelihoodCrossValidation::eval ( const sgpp::base::DataVector x)
virtual

Pure virtual method for calculating \(f(\vec{x})\).

Parameters
xevaluation point \(\vec{x} \in [0, 1]^d\)
Returns
\(f(\vec{x})\)

Implements sgpp::optimization::ScalarFunction.

References sgpp::datadriven::KernelDensityEstimator::getKernel(), sgpp::datadriven::Kernel::getType(), sgpp::datadriven::NONE, and sgpp::datadriven::KernelDensityEstimator::setBandwidths().


The documentation for this class was generated from the following files: