Classes |
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Friends |
List of all members
npstat::GaussianMixture1D Class Reference
Inheritance diagram for npstat::GaussianMixture1D:
Detailed DescriptionOne-dimensional Gaussian mixture distribution Constructor & Destructor Documentation◆ GaussianMixture1D() [1/2]
This constructor takes an array of GaussianMixtureEntry objects together with an overall location and scale parameters which are used to shift and scale the whole distribution. There must be at least one component with positive weight in the array of entries. The sum of weights will be normalized to 1 internally. ◆ GaussianMixture1D() [2/2]
Constructor from a single Gaussian distribution Member Function Documentation◆ classId()
Methods needed for "geners" I/O Implements npstat::AbsScalableDistribution1D. ◆ clone()
"Virtual copy constructor" Implements npstat::AbsScalableDistribution1D. ◆ entries()
Get all mixture components ◆ entry()
Get the mixture component with the given number ◆ gaussianMISE()
Mean Integrated Squared Error expected for KDE of a sample from this mixture using Hermite polynomial kernel. The formula is from the article "Exact Mean Integrated Squared Error" by J.S. Marron and M.P. Wand, The Annals Of Statistics, Vol 20, pp. 712-736 (1992). Kernel order is maxPolyDegree + 2 if maxPolyDegree is even, and maxPolyDegree + 1 if maxPolyDegree is odd. Due to accumulation of round-off errors, the calculation becomes unreliable for maxPolyDegree above 16 or so. ◆ isEqual()
Derived classes should override the following method as long as they have at least one additional data member. Don't forget to call "isEqual" of the base class inside the derived classes. Reimplemented from npstat::AbsScalableDistribution1D. ◆ mean()
Mean of the whole mixture ◆ miseOptimalBw()
Bandwidth which minimizes the KDE MISE ◆ nentries()
Number of mixture components ◆ random()
Generate random numbers asscording to this distribution Reimplemented from npstat::AbsScalableDistribution1D. ◆ stdev()
Standard deviation of the whole mixture The documentation for this class was generated from the following file:
Generated by 1.9.1 |