STK++ 0.9.13
|
Structure encapsulating the parameters of a Poisson_lk model. More...
#include <STK_PoissonParameters.h>
Public Member Functions | |
ModelParameters (int nbCluster) | |
default constructor | |
ModelParameters (ModelParameters const ¶m) | |
copy constructor. | |
~ModelParameters () | |
destructor | |
Real const & | lambda (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< Real > | lambda_ |
intensity of the variables | |
Array1D< Stat::Online< Real, Real > > | stat_lambda_ |
Array of the lambdak_ statistics. | |
Structure encapsulating the parameters of a Poisson_lk model.
Definition at line 153 of file STK_PoissonParameters.h.
STK::ModelParameters< Clust::Poisson_lk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 148 of file STK_PoissonParameters.cpp.
STK::ModelParameters< Clust::Poisson_lk_ >::ModelParameters | ( | ModelParameters< Clust::Poisson_lk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 154 of file STK_PoissonParameters.cpp.
|
inline |
Definition at line 172 of file STK_PoissonParameters.h.
void STK::ModelParameters< Clust::Poisson_lk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 184 of file STK_PoissonParameters.cpp.
void STK::ModelParameters< Clust::Poisson_lk_ >::resize | ( | Range const & | range | ) |
resize the set of parameter
Definition at line 160 of file STK_PoissonParameters.cpp.
|
inline |
Set the parameters of the mixture model.
It is assumed that the array params
is of size (nbCluster, nbVariable).
Definition at line 188 of file STK_PoissonParameters.h.
void STK::ModelParameters< Clust::Poisson_lk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 175 of file STK_PoissonParameters.cpp.
void STK::ModelParameters< Clust::Poisson_lk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 169 of file STK_PoissonParameters.cpp.
Array1D<Real> STK::ModelParameters< Clust::Poisson_lk_ >::lambda_ |
intensity of the variables
Definition at line 156 of file STK_PoissonParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Poisson_lk_ >::stat_lambda_ |
Array of the lambdak_ statistics.
Definition at line 158 of file STK_PoissonParameters.h.