|
STK++ 0.9.13
|
Structure encapsulating the parameters of a Gaussian_sjsk mixture model. More...
#include <STK_DiagGaussianParameters.h>
Public Member Functions | |
| ModelParameters (int nbCluster) | |
| default constructor | |
| ModelParameters (ModelParameters const ¶m) | |
| copy constructor. | |
| ~ModelParameters () | |
| destructor | |
| Real const & | mean (int k, int j) const |
| Real | sigma (int k, int j) const |
| void | resize (Range const &range) |
| resize 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 | |
| CVectorX | sigmak_ |
| standard deviation of the variables | |
| CPointX | sigmaj_ |
| standard deviation of the variables by variables | |
| Array1D< Stat::Online< CPointX, Real > > | stat_mean_ |
| Array of the mean statistics. | |
| Stat::Online< Real, Real > | stat_sigmak_ |
| Array of the standard deviation k statistics. | |
| Stat::Online< CPointX, Real > | stat_sigmaj_ |
| Array of the standard deviation j statistics. | |
Structure encapsulating the parameters of a Gaussian_sjsk mixture model.
Definition at line 312 of file STK_DiagGaussianParameters.h.
| STK::ModelParameters< Clust::Gaussian_sjsk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
| nbCluster | the number of class of the mixture |
| STK::ModelParameters< Clust::Gaussian_sjsk_ >::ModelParameters | ( | ModelParameters< Clust::Gaussian_sjsk_ > const & | param | ) |
copy constructor.
| param | the parameters to copy. |
destructor
|
inline |
Definition at line 339 of file STK_DiagGaussianParameters.h.
| void STK::ModelParameters< Clust::Gaussian_sjsk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
| void STK::ModelParameters< Clust::Gaussian_sjsk_ >::resize | ( | Range const & | range | ) |
resize the set of parameter
|
inline |
Set the parameters of the mixture model.
It is assumed that the array params is of size (2*nbCluster, nbVariable).
Definition at line 357 of file STK_DiagGaussianParameters.h.
References STK::mean(), STK::Stat::meanByCol(), STK::Stat::meanByRow(), and STK::ICArray< Derived >::row().
| void STK::ModelParameters< Clust::Gaussian_sjsk_ >::setStatistics | ( | ) |
Set the computed statistics.
|
inline |
Definition at line 341 of file STK_DiagGaussianParameters.h.
| void STK::ModelParameters< Clust::Gaussian_sjsk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
| Array1D<CPointX> STK::ModelParameters< Clust::Gaussian_sjsk_ >::mean_ |
array of size nbCluster with the parameters mean of the variables
Definition at line 315 of file STK_DiagGaussianParameters.h.
| CPointX STK::ModelParameters< Clust::Gaussian_sjsk_ >::sigmaj_ |
standard deviation of the variables by variables
Definition at line 319 of file STK_DiagGaussianParameters.h.
| CVectorX STK::ModelParameters< Clust::Gaussian_sjsk_ >::sigmak_ |
standard deviation of the variables
Definition at line 317 of file STK_DiagGaussianParameters.h.
| Array1D< Stat::Online<CPointX, Real> > STK::ModelParameters< Clust::Gaussian_sjsk_ >::stat_mean_ |
Array of the mean statistics.
Definition at line 321 of file STK_DiagGaussianParameters.h.
| Stat::Online<CPointX, Real> STK::ModelParameters< Clust::Gaussian_sjsk_ >::stat_sigmaj_ |
Array of the standard deviation j statistics.
Definition at line 325 of file STK_DiagGaussianParameters.h.
| Stat::Online<Real, Real> STK::ModelParameters< Clust::Gaussian_sjsk_ >::stat_sigmak_ |
Array of the standard deviation k statistics.
Definition at line 323 of file STK_DiagGaussianParameters.h.