STK++ 0.9.13
|
Structure encapsulating the parameters of a Kmm_s model. More...
#include <STK_KernelParameters.h>
Public Member Functions | |
ModelParameters (int nbCluster) | |
default constructor | |
ModelParameters (ModelParameters const ¶m) | |
copy constructor. | |
~ModelParameters () | |
destructor | |
Real const & | sigma2 (int k) const |
Real const & | dim (int k) const |
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 | |
Real | sigma2_ |
variance of the variables | |
CPointX | dim_ |
dimension of the gaussian kernel | |
Stat::Online< Real, Real > | stat_sigma2_ |
sigma2 statistics | |
Array1D< Stat::Online< Real, Real > > | stat_dim_ |
Array of the dim statistics. | |
Structure encapsulating the parameters of a Kmm_s model.
Definition at line 53 of file STK_KernelParameters.h.
STK::ModelParameters< Clust::Kmm_s_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 44 of file STK_KernelParameters.cpp.
STK::ModelParameters< Clust::Kmm_s_ >::ModelParameters | ( | ModelParameters< Clust::Kmm_s_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 51 of file STK_KernelParameters.cpp.
|
inline |
void STK::ModelParameters< Clust::Kmm_s_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 78 of file STK_KernelParameters.cpp.
|
inline |
Set the parameters of the mixture model.
It is assumed that the array params store for each class the sigma2 and dim parameters on consecutive rows. The number of column of params is the number of variables.
Definition at line 94 of file STK_KernelParameters.h.
References STK::baseIdx.
void STK::ModelParameters< Clust::Kmm_s_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 67 of file STK_KernelParameters.cpp.
|
inline |
Definition at line 77 of file STK_KernelParameters.h.
void STK::ModelParameters< Clust::Kmm_s_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 60 of file STK_KernelParameters.cpp.
CPointX STK::ModelParameters< Clust::Kmm_s_ >::dim_ |
dimension of the gaussian kernel
Definition at line 58 of file STK_KernelParameters.h.
Real STK::ModelParameters< Clust::Kmm_s_ >::sigma2_ |
variance of the variables
Definition at line 56 of file STK_KernelParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Kmm_s_ >::stat_dim_ |
Array of the dim statistics.
Definition at line 63 of file STK_KernelParameters.h.
Stat::Online<Real, Real> STK::ModelParameters< Clust::Kmm_s_ >::stat_sigma2_ |
sigma2 statistics
Definition at line 61 of file STK_KernelParameters.h.