STK++ 0.9.13
|
Structure encapsulating the parameters of a STK::DiagGaussian_sjk 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< CPointX > | sigma_ |
standard deviation of the variables | |
Array1D< Stat::Online< CPointX, Real > > | stat_mean_ |
Array of the mean statistics. | |
Array1D< Stat::Online< CPointX, Real > > | stat_sigma_ |
Array of the standard deviation statistics. | |
Structure encapsulating the parameters of a STK::DiagGaussian_sjk model.
Definition at line 56 of file STK_DiagGaussianParameters.h.
STK::ModelParameters< Clust::Gaussian_sjk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 43 of file STK_DiagGaussianParameters.cpp.
STK::ModelParameters< Clust::Gaussian_sjk_ >::ModelParameters | ( | ModelParameters< Clust::Gaussian_sjk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 50 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 83 of file STK_DiagGaussianParameters.h.
ModelParameters< Clust::Gaussian_sjk_ > & STK::ModelParameters< Clust::Gaussian_sjk_ >::operator= | ( | ModelParameters< Clust::Gaussian_sjk_ > const & | param | ) |
copy operator.
param | the parameters to copy. |
Definition at line 59 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sjk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 101 of file STK_DiagGaussianParameters.cpp.
void STK::ModelParameters< Clust::Gaussian_sjk_ >::resize | ( | Range const & | range | ) |
resize and initialize the set of parameter.
range | range of the variables in the data set |
Definition at line 69 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 mean and sd parameters on two consecutive rows. The number of column of params is the number of variables.
Definition at line 105 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sjk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 90 of file STK_DiagGaussianParameters.cpp.
|
inline |
Definition at line 85 of file STK_DiagGaussianParameters.h.
void STK::ModelParameters< Clust::Gaussian_sjk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 81 of file STK_DiagGaussianParameters.cpp.
Array1D<CPointX> STK::ModelParameters< Clust::Gaussian_sjk_ >::mean_ |
array of size nbCluster with the parameters mean of the variables
Definition at line 59 of file STK_DiagGaussianParameters.h.
Array1D<CPointX> STK::ModelParameters< Clust::Gaussian_sjk_ >::sigma_ |
standard deviation of the variables
Definition at line 61 of file STK_DiagGaussianParameters.h.
Array1D< Stat::Online<CPointX, Real> > STK::ModelParameters< Clust::Gaussian_sjk_ >::stat_mean_ |
Array of the mean statistics.
Definition at line 63 of file STK_DiagGaussianParameters.h.
Array1D< Stat::Online<CPointX, Real> > STK::ModelParameters< Clust::Gaussian_sjk_ >::stat_sigma_ |
Array of the standard deviation statistics.
Definition at line 65 of file STK_DiagGaussianParameters.h.