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

Marginalize Probability Density Function. More...

#include <OperationDensityMarginalizeKDE.hpp>

Public Member Functions

void doMarginalize (size_t mdim, datadriven::KernelDensityEstimator &marginalizedKDE)
 Marginalizes (Density) functions in dimension mdim. More...
 
void doMarginalize (std::vector< size_t > &mdims, datadriven::KernelDensityEstimator &marginalizedKDE)
 Marginalizes (Density) functions in all dimensions mdims. More...
 
void margToDimX (size_t mdim, datadriven::KernelDensityEstimator &marginalizedKDE)
 Keep applying marginalizes to (Density) Functions, until it's reduced to 1 dimension (dim_x) More...
 
void margToDimXs (std::vector< size_t > &mdims, datadriven::KernelDensityEstimator &marginalizedKDE)
 Keep applying marginalizes to (Density) Functions, until it's reduced to the dimensions in mdims. More...
 
 OperationDensityMarginalizeKDE (datadriven::KernelDensityEstimator &kde)
 
virtual ~OperationDensityMarginalizeKDE ()
 

Detailed Description

Marginalize Probability Density Function.

Constructor & Destructor Documentation

◆ OperationDensityMarginalizeKDE()

sgpp::datadriven::OperationDensityMarginalizeKDE::OperationDensityMarginalizeKDE ( datadriven::KernelDensityEstimator kde)
explicit

◆ ~OperationDensityMarginalizeKDE()

sgpp::datadriven::OperationDensityMarginalizeKDE::~OperationDensityMarginalizeKDE ( )
virtual

Member Function Documentation

◆ doMarginalize() [1/2]

void sgpp::datadriven::OperationDensityMarginalizeKDE::doMarginalize ( size_t  mdim,
datadriven::KernelDensityEstimator marginalizedKDE 
)

Marginalizes (Density) functions in dimension mdim.

Parameters
mdimmarginalize in dimension mdim
marginalizedKDEmarginalized kernel density

References sgpp::datadriven::KernelDensityEstimator::initialize().

◆ doMarginalize() [2/2]

void sgpp::datadriven::OperationDensityMarginalizeKDE::doMarginalize ( std::vector< size_t > &  mdims,
datadriven::KernelDensityEstimator marginalizedKDE 
)

Marginalizes (Density) functions in all dimensions mdims.

Parameters
mdimsmarginalized in all dimensions in mdims
marginalizedKDEmarginalized kernel density

References sgpp::datadriven::KernelDensityEstimator::initialize().

◆ margToDimX()

void sgpp::datadriven::OperationDensityMarginalizeKDE::margToDimX ( size_t  mdim,
datadriven::KernelDensityEstimator marginalizedKDE 
)

Keep applying marginalizes to (Density) Functions, until it's reduced to 1 dimension (dim_x)

Parameters
mdimTarget dimension, all other dimensions will be marginalized
marginalizedKDEresult of marginalization

References sgpp::datadriven::KernelDensityEstimator::initialize().

Referenced by sgpp::datadriven::OperationDensityConditionalKDE::condToDimX().

◆ margToDimXs()

void sgpp::datadriven::OperationDensityMarginalizeKDE::margToDimXs ( std::vector< size_t > &  mdims,
datadriven::KernelDensityEstimator marginalizedKDE 
)

Keep applying marginalizes to (Density) Functions, until it's reduced to the dimensions in mdims.

Parameters
mdimsTarget dimensions, all other dimensions will be marginalized
marginalizedKDEresult of marginalization

References sgpp::datadriven::KernelDensityEstimator::initialize().

Referenced by sgpp::datadriven::OperationDensityConditionalKDE::doConditional().


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