1 #ifndef _theplu_yat_statistics_gaussian_mixture_ 2 #define _theplu_yat_statistics_gaussian_mixture_ 25 #include <yat/utility/Vector.h> 35 namespace statistics {
51 void add(
double x,
unsigned long int n=1);
56 double alpha(
size_t i)
const;
61 double cdf_P(
double x)
const;
78 double mean(
void)
const;
83 double mean(
size_t i)
const;
88 double pdf(
double x)
const;
93 double std(
size_t i)
const;
98 data_type(
double x,
unsigned long int n);
102 std::vector<data_type> data_;
The Department of Theoretical Physics namespace as we define it.
Data modelled as mixture of Gaussian distributions.
Definition: GaussianMixture.h:45
Definition: stl_utility.h:64
void clear(std::vector< T > &vec)
reduce size and capacity to zero
Definition: stl_utility.h:493
This is the yat interface to GSL vector.
Definition: Vector.h:59
void add(T &o, ForwardIterator first, ForwardIterator last, const classifier::Target &target)
Definition: utility.h:314
Interface to GSL matrix.
Definition: Matrix.h:74