STK++ 0.9.13
|
Structure encapsulating the parameters of a STK::DiagGaussian_sk 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 | |
Array1D< Real > | sigma_ |
standard deviation of the variables | |
Array1D< Stat::Online< CPointX, Real > > | stat_mean_ |
Array of the mean statistics. | |
Array1D< Stat::Online< Real, Real > > | stat_sigma_ |
Array of the standard deviation statistics. | |
Structure encapsulating the parameters of a STK::DiagGaussian_sk model.
Definition at line 119 of file STK_DiagGaussianParameters.h.
STK::ModelParameters< Clust::Gaussian_sk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 180 of file STK_DiagGaussianParameters.cpp.
STK::ModelParameters< Clust::Gaussian_sk_ >::ModelParameters | ( | ModelParameters< Clust::Gaussian_sk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 187 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 146 of file STK_DiagGaussianParameters.h.
ModelParameters< Clust::Gaussian_sk_ > & STK::ModelParameters< Clust::Gaussian_sk_ >::operator= | ( | ModelParameters< Clust::Gaussian_sk_ > const & | param | ) |
copy operator.
param | the parameters to copy. |
Definition at line 196 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 236 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sk_ >::resize | ( | Range const & | range | ) |
resize and initialize the set of parameter.
range | range of the variables in the data set |
Definition at line 205 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 168 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 225 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 148 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 216 of file STK_DiagGaussianParameters.cpp.
Array1D<CPointX> STK::ModelParameters< Clust::Gaussian_sk_ >::mean_ |
array of size nbCluster with the parameters mean of the variables
Definition at line 122 of file STK_DiagGaussianParameters.h.
Array1D<Real> STK::ModelParameters< Clust::Gaussian_sk_ >::sigma_ |
standard deviation of the variables
Definition at line 124 of file STK_DiagGaussianParameters.h.
Array1D< Stat::Online<CPointX, Real> > STK::ModelParameters< Clust::Gaussian_sk_ >::stat_mean_ |
Array of the mean statistics.
Definition at line 126 of file STK_DiagGaussianParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Gaussian_sk_ >::stat_sigma_ |
Array of the standard deviation statistics.
Definition at line 128 of file STK_DiagGaussianParameters.h.