STK++ 0.9.13
|
Structure encapsulating the parameters of a Poisson_ljlk model. More...
#include <STK_PoissonParameters.h>
Public Member Functions | |
ModelParameters (int nbCluster) | |
default constructor | |
ModelParameters (ModelParameters const ¶m) | |
copy constructor. | |
~ModelParameters () | |
destructor | |
Real | 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 | |
CVectorX | lambdak_ |
intensity of the variables by class | |
CPointX | lambdaj_ |
intensity of the variables by variables | |
Array1D< Stat::Online< Real, Real > > | stat_lambdak_ |
Array of the lambdak_ statistics. | |
Stat::Online< CVectorX, Real > | stat_lambdaj_ |
Array of the lambdaj_ statistics. | |
Structure encapsulating the parameters of a Poisson_ljlk model.
Definition at line 54 of file STK_PoissonParameters.h.
STK::ModelParameters< Clust::Poisson_ljlk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 91 of file STK_PoissonParameters.cpp.
STK::ModelParameters< Clust::Poisson_ljlk_ >::ModelParameters | ( | ModelParameters< Clust::Poisson_ljlk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 98 of file STK_PoissonParameters.cpp.
|
inline |
Definition at line 77 of file STK_PoissonParameters.h.
void STK::ModelParameters< Clust::Poisson_ljlk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 138 of file STK_PoissonParameters.cpp.
void STK::ModelParameters< Clust::Poisson_ljlk_ >::resize | ( | Range const & | range | ) |
resize the set of parameter
Definition at line 107 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 93 of file STK_PoissonParameters.h.
References STK::mean(), STK::Stat::meanByCol(), and STK::Stat::meanByRow().
void STK::ModelParameters< Clust::Poisson_ljlk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 126 of file STK_PoissonParameters.cpp.
void STK::ModelParameters< Clust::Poisson_ljlk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 119 of file STK_PoissonParameters.cpp.
CPointX STK::ModelParameters< Clust::Poisson_ljlk_ >::lambdaj_ |
intensity of the variables by variables
Definition at line 59 of file STK_PoissonParameters.h.
CVectorX STK::ModelParameters< Clust::Poisson_ljlk_ >::lambdak_ |
intensity of the variables by class
Definition at line 57 of file STK_PoissonParameters.h.
Stat::Online<CVectorX, Real> STK::ModelParameters< Clust::Poisson_ljlk_ >::stat_lambdaj_ |
Array of the lambdaj_ statistics.
Definition at line 63 of file STK_PoissonParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Poisson_ljlk_ >::stat_lambdak_ |
Array of the lambdak_ statistics.
Definition at line 61 of file STK_PoissonParameters.h.