CluE  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CluE::PointGMM Class Reference

Gaussian Mixture Model distribution. More...

#include <pointgmm.h>

Inheritance diagram for CluE::PointGMM:
Inheritance graph
Collaboration diagram for CluE::PointGMM:
Collaboration graph

Public Member Functions

 PointGMM (std::vector< double > const &, std::vector< PointGauss > const &)
 
virtual double density (Point const &x) const
 Evaluates the density of the GMM distribution at the given point x. More...
 
virtual double nll (Point const &x) const
 Computes the negative log-likelihood of the density at the given point x. More...
 
virtual double minNLL (Point const &x) const
 
virtual double minSquaredMahalanobis (Point const &x) const
 
template<typename RndEngine >
Point draw (RndEngine &) const
 
- Public Member Functions inherited from CluE::Distribution< Point >
virtual ~Distribution ()
 

Private Attributes

std::vector< double > weights
 
std::vector< PointGaussgaussians
 

Detailed Description

Gaussian Mixture Model distribution.

Definition at line 21 of file pointgmm.h.

Constructor & Destructor Documentation

PointGMM::PointGMM ( std::vector< double > const &  w,
std::vector< PointGauss > const &  g 
)

Definition at line 9 of file pointgmm.cpp.

Member Function Documentation

double PointGMM::density ( Point const &  x) const
virtual

Evaluates the density of the GMM distribution at the given point x.

Implements CluE::Distribution< Point >.

Definition at line 24 of file pointgmm.cpp.

double PointGMM::nll ( Point const &  x) const
virtual

Computes the negative log-likelihood of the density at the given point x.

Definition at line 34 of file pointgmm.cpp.

double PointGMM::minNLL ( Point const &  x) const
virtual

Definition at line 39 of file pointgmm.cpp.

double PointGMM::minSquaredMahalanobis ( Point const &  x) const
virtual

Definition at line 59 of file pointgmm.cpp.

template<typename RndEngine >
Point CluE::PointGMM::draw ( RndEngine &  re) const

Definition at line 51 of file pointgmm.h.

Member Data Documentation

std::vector<double> CluE::PointGMM::weights
private

Definition at line 46 of file pointgmm.h.

std::vector<PointGauss> CluE::PointGMM::gaussians
private

Definition at line 47 of file pointgmm.h.


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