BinaryStatistics::GaussianMixtureProbabilityDensity Class Reference

Computes the Gaussian mixture probability density of the difference. More...

#include <GaussianMixtureProbabilityDensity.h>

Inheritance diagram for BinaryStatistics::GaussianMixtureProbabilityDensity:
BinaryStatistic

Public Member Functions

double get (const std::vector< double > &, const std::vector< double > &)
 Derived types define the value returned. More...
 
unsigned get_ngaus () const
 Return the number of Gaussians.
 
GaussianMixtureProbabilityDensityclone () const
 Derived types must also define clone method.
 
- Public Member Functions inherited from BinaryStatistic
 BinaryStatistic (const std::string &name, const std::string &description)
 Construct with a name and description.
 
void set_file (FILE *f)
 Set the file to which auxiliary data will be printed.
 

Public Attributes

Reference::To< GeneralizedChiSquaredgcs
 Optionally compute the GM psd of the principal component residuals.
 
arma::gmm_diag * model
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryStatistic
static BinaryStatisticfactory (const std::string &name)
 Create a new instance of BinaryStatistic based on name.
 
static const std::vector< BinaryStatistic * > & children ()
 Returns a list of available BinaryStatistic children.
 
- Protected Attributes inherited from BinaryStatistic
FILE * fptr
 The file to which auxiliary data will be printed.
 

Detailed Description

Computes the Gaussian mixture probability density of the difference.

Assumes that one of the vectors is the mean of the distribution.

Member Function Documentation

◆ get()

double GaussianMixtureProbabilityDensity::get ( const std::vector< double > &  data1,
const std::vector< double > &  data2 
)
virtual

Derived types define the value returned.

data1 and data2 must have been normalized such that a robust estimate of their variance is equal to unity

Implements BinaryStatistic.

References gcs.


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

Generated using doxygen 1.8.17