STK++ 0.9.13
|
Structure encapsulating the parameters of a Kmm_sk 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 | |
CPointX | sigma2_ |
variance of the variables | |
CPointX | dim_ |
dimension of the gaussian kernel | |
Array1D< Stat::Online< Real, Real > > | stat_sigma2_ |
Array of the sigma2 statistics. | |
Array1D< Stat::Online< Real, Real > > | stat_dim_ |
Array of the dim statistics. | |
Structure encapsulating the parameters of a Kmm_sk model.
Definition at line 109 of file STK_KernelParameters.h.
STK::ModelParameters< Clust::Kmm_sk_ >::ModelParameters | ( | int | nbCluster | ) |
default constructor
nbCluster | the number of class of the mixture |
Definition at line 89 of file STK_KernelParameters.cpp.
STK::ModelParameters< Clust::Kmm_sk_ >::ModelParameters | ( | ModelParameters< Clust::Kmm_sk_ > const & | param | ) |
copy constructor.
param | the parameters to copy. |
Definition at line 96 of file STK_KernelParameters.cpp.
|
inline |
void STK::ModelParameters< Clust::Kmm_sk_ >::releaseStatistics | ( | ) |
Release the computed statistics.
Definition at line 124 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 149 of file STK_KernelParameters.h.
References STK::baseIdx.
void STK::ModelParameters< Clust::Kmm_sk_ >::setStatistics | ( | ) |
Set the computed statistics.
Definition at line 113 of file STK_KernelParameters.cpp.
|
inline |
Definition at line 132 of file STK_KernelParameters.h.
void STK::ModelParameters< Clust::Kmm_sk_ >::updateStatistics | ( | ) |
update statistics of the parameters.
Definition at line 105 of file STK_KernelParameters.cpp.
CPointX STK::ModelParameters< Clust::Kmm_sk_ >::dim_ |
dimension of the gaussian kernel
Definition at line 114 of file STK_KernelParameters.h.
CPointX STK::ModelParameters< Clust::Kmm_sk_ >::sigma2_ |
variance of the variables
Definition at line 112 of file STK_KernelParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Kmm_sk_ >::stat_dim_ |
Array of the dim statistics.
Definition at line 118 of file STK_KernelParameters.h.
Array1D< Stat::Online<Real, Real> > STK::ModelParameters< Clust::Kmm_sk_ >::stat_sigma2_ |
Array of the sigma2 statistics.
Definition at line 116 of file STK_KernelParameters.h.