STK++ 0.9.13
|
Structure encapsulating the parameters of a Gamma_ak_bk_ mixture model. More...
#include <STK_GammaParameters.h>
Public Member Functions | |
ModelParameters (int nbCluster) | |
default constructor | |
ModelParameters (ModelParameters const ¶m) | |
copy constructor. | |
~ModelParameters () | |
destructor | |
Real const & | shape (int k, int j) const |
Real const & | scale (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. | |
![]() | |
ParametersGammaBase (int nbCluster) | |
default constructor | |
ParametersGammaBase (ParametersGammaBase const &model) | |
copy constructor | |
~ParametersGammaBase () | |
destructor | |
ParametersGammaBase & | operator= (ParametersGammaBase const &other) |
copy operator | |
void | resize (Range const &range) |
Public Attributes | |
Array1D< Real > | shape_ |
shapes of the variables | |
Array1D< Real > | scale_ |
scales of the variables | |
Array1D< Stat::Online< Real, Real > > | stat_shape_ |
Array of the mean statistics. | |
Array1D< Stat::Online< Real, Real > > | stat_scale_ |
Array of the standard deviation statistics. | |
![]() | |
Array1D< CPointX > | mean_ |
mean for each class | |
Array1D< CPointX > | meanLog_ |
log-means for each class | |
Array1D< CPointX > | variance_ |
variance for each class | |
Structure encapsulating the parameters of a Gamma_ak_bk_ mixture model.
Definition at line 739 of file STK_GammaParameters.h.
STK::ModelParameters< Clust::Gamma_ak_bk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 710 of file STK_GammaParameters.cpp.
STK::ModelParameters< Clust::Gamma_ak_bk_ >::ModelParameters | ( | ModelParameters< Clust::Gamma_ak_bk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 718 of file STK_GammaParameters.cpp.
void STK::ModelParameters< Clust::Gamma_ak_bk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 757 of file STK_GammaParameters.cpp.
void STK::ModelParameters< Clust::Gamma_ak_bk_ >::resize | ( | Range const & | range | ) |
resize and initialize the set of parameter.
range | range of the variables in the data set |
Definition at line 726 of file STK_GammaParameters.cpp.
References STK::ParametersGammaBase::resize().
|
inline |
Definition at line 764 of file STK_GammaParameters.h.
|
inline |
Set the parameters of the mixture model.
It is assumed that the array params store for each class the shapes and scales parameters on two consecutive rows. The number of column of params is the number of variables.
Definition at line 784 of file STK_GammaParameters.h.
void STK::ModelParameters< Clust::Gamma_ak_bk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 746 of file STK_GammaParameters.cpp.
|
inline |
Definition at line 762 of file STK_GammaParameters.h.
void STK::ModelParameters< Clust::Gamma_ak_bk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 738 of file STK_GammaParameters.cpp.
Array1D<Real> STK::ModelParameters< Clust::Gamma_ak_bk_ >::scale_ |
scales of the variables
Definition at line 744 of file STK_GammaParameters.h.
Array1D<Real> STK::ModelParameters< Clust::Gamma_ak_bk_ >::shape_ |
shapes of the variables
Definition at line 742 of file STK_GammaParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Gamma_ak_bk_ >::stat_scale_ |
Array of the standard deviation statistics.
Definition at line 748 of file STK_GammaParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Gamma_ak_bk_ >::stat_shape_ |
Array of the mean statistics.
Definition at line 746 of file STK_GammaParameters.h.