CluE
1.0
|
Gaussian Mixture Model distribution. More...
#include <pointgmm.h>
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 |
![]() | |
virtual | ~Distribution () |
Private Attributes | |
std::vector< double > | weights |
std::vector< PointGauss > | gaussians |
Gaussian Mixture Model distribution.
Definition at line 21 of file pointgmm.h.
PointGMM::PointGMM | ( | std::vector< double > const & | w, |
std::vector< PointGauss > const & | g | ||
) |
Definition at line 9 of file pointgmm.cpp.
|
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.
|
virtual |
Computes the negative log-likelihood of the density at the given point x.
Definition at line 34 of file pointgmm.cpp.
|
virtual |
Definition at line 39 of file pointgmm.cpp.
|
virtual |
Definition at line 59 of file pointgmm.cpp.
Point CluE::PointGMM::draw | ( | RndEngine & | re | ) | const |
Definition at line 51 of file pointgmm.h.
|
private |
Definition at line 46 of file pointgmm.h.
|
private |
Definition at line 47 of file pointgmm.h.