STK++ 0.9.13
|
Structure encapsulating the parameters of a STK::DiagGaussian_sj model. More...
#include <STK_DiagGaussianParameters.h>
Public Member Functions | |
ModelParameters (int nbCluster) | |
default constructor | |
ModelParameters (ModelParameters const ¶m) | |
copy constructor. | |
~ModelParameters () | |
destructor | |
ModelParameters & | operator= (ModelParameters const ¶m) |
copy operator. | |
Real const & | mean (int k, int j) const |
Real const & | sigma (int k, int j) const |
void | resize (Range const &range) |
resize and initialize the set of parameter. | |
void | updateStatistics () |
update statistics of the parameters. | |
void | setStatistics () |
Set the computed statistics. | |
void | releaseStatistics () |
Release the computed statistics. | |
template<class Array > | |
void | setParameters (ExprBase< Array > const ¶ms) |
Set the parameters of the mixture model. | |
Public Attributes | |
Array1D< CPointX > | mean_ |
array of size nbCluster with the parameters mean of the variables | |
CPointX | sigma_ |
standard deviation of the variables | |
Array1D< Stat::Online< CPointX, Real > > | stat_mean_ |
Array of the mean statistics. | |
Stat::Online< CPointX, Real > | stat_sigma_ |
Array of the standard deviation statistics. | |
Structure encapsulating the parameters of a STK::DiagGaussian_sj model.
Definition at line 182 of file STK_DiagGaussianParameters.h.
STK::ModelParameters< Clust::Gaussian_sj_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 113 of file STK_DiagGaussianParameters.cpp.
STK::ModelParameters< Clust::Gaussian_sj_ >::ModelParameters | ( | ModelParameters< Clust::Gaussian_sj_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 120 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 209 of file STK_DiagGaussianParameters.h.
ModelParameters< Clust::Gaussian_sj_ > & STK::ModelParameters< Clust::Gaussian_sj_ >::operator= | ( | ModelParameters< Clust::Gaussian_sj_ > const & | param | ) |
copy operator.
param | the parameters to copy. |
Definition at line 129 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sj_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 169 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sj_ >::resize | ( | Range const & | range | ) |
resize and initialize the set of parameter.
range | range of the variables in the data set |
Definition at line 138 of file STK_DiagGaussianParameters.cpp.
|
inline |
Set the parameters of the mixture model.
It is assumed that the array params store for each class the means and sd parameters on two consecutive rows. The number of column of params is the number of variables.
Definition at line 231 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sj_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 158 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 211 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sj_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 149 of file STK_DiagGaussianParameters.cpp.
Array1D<CPointX> STK::ModelParameters< Clust::Gaussian_sj_ >::mean_ |
array of size nbCluster with the parameters mean of the variables
Definition at line 185 of file STK_DiagGaussianParameters.h.
CPointX STK::ModelParameters< Clust::Gaussian_sj_ >::sigma_ |
standard deviation of the variables
Definition at line 187 of file STK_DiagGaussianParameters.h.
Array1D< Stat::Online<CPointX, Real> > STK::ModelParameters< Clust::Gaussian_sj_ >::stat_mean_ |
Array of the mean statistics.
Definition at line 189 of file STK_DiagGaussianParameters.h.
Stat::Online<CPointX, Real> STK::ModelParameters< Clust::Gaussian_sj_ >::stat_sigma_ |
Array of the standard deviation statistics.
Definition at line 191 of file STK_DiagGaussianParameters.h.