Data modelled as mixture of Gaussian distributions.
More...
#include <yat/statistics/GaussianMixture.h>
|
void | add (double x, unsigned long int n=1) |
|
double | alpha (size_t i) const |
|
double | cdf_P (double x) const |
|
void | clear (void) |
| Clear all data.
|
|
void | fit (size_t n) |
| fit the model More...
|
|
double | mean (void) const |
|
double | mean (size_t i) const |
|
double | pdf (double x) const |
|
double | std (size_t i) const |
|
Data modelled as mixture of Gaussian distributions.
Data are modelled as
- Since
- New in yat 0.15
◆ add()
void theplu::yat::statistics::GaussianMixture::add |
( |
double |
x, |
|
|
unsigned long int |
n = 1 |
|
) |
| |
add n data points of value x
◆ alpha()
double theplu::yat::statistics::GaussianMixture::alpha |
( |
size_t |
i | ) |
const |
- Returns
- alpha from ith gaussian
◆ cdf_P()
double theplu::yat::statistics::GaussianMixture::cdf_P |
( |
double |
x | ) |
const |
- Returns
- Cumulative probability that
◆ fit()
void theplu::yat::statistics::GaussianMixture::fit |
( |
size_t |
n | ) |
|
fit the model
- Parameters
-
n | number of gaussians in model |
◆ mean() [1/2]
double theplu::yat::statistics::GaussianMixture::mean |
( |
void |
| ) |
const |
◆ mean() [2/2]
double theplu::yat::statistics::GaussianMixture::mean |
( |
size_t |
i | ) |
const |
- Returns
- mean of ith gaussian
◆ pdf()
double theplu::yat::statistics::GaussianMixture::pdf |
( |
double |
x | ) |
const |
- Returns
- Value at x for probability densisty function
◆ std()
double theplu::yat::statistics::GaussianMixture::std |
( |
size_t |
i | ) |
const |
- Returns
- standard deviation of ith gaussian
The documentation for this class was generated from the following file: