Data modelled as mixture of Gaussian distributions.
More...
#include <yat/statistics/GaussianMixture.h>
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() [1/2]
void theplu::yat::statistics::GaussianMixture::fit |
( |
size_t |
n | ) |
|
fit the model
- Parameters
-
n | number of gaussians in model |
◆ fit() [2/2]
Fit the model usng the passed variables as initial parameters in the search.
- Since
- New in yat 0.20
◆ 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: