|
STK++ 0.9.13
|
Implementation of the SemiSEMPredict algorithm. More...
#include <STK_MixtureAlgoPredict.h>

Public Member Functions | |
| SemiSEMPredict () | |
| default constructor | |
| SemiSEMPredict (SemiSEMPredict const &algo) | |
| Copy constructor. | |
| virtual | ~SemiSEMPredict () |
| destructor | |
| virtual SemiSEMPredict * | clone () const |
| clone pattern | |
| virtual bool | run () |
| run the algorithm on the model until the maximal number of iteration is reached. | |
Public Member Functions inherited from STK::IMixtureAlgoPredict | |
| virtual | ~IMixtureAlgoPredict () |
| destructor | |
| int | nbIterBurn () const |
| int | setNbIterLong () const |
| int | epsilon () const |
| void | setModel (IMixtureComposer *p_model) |
| set model | |
| void | setNbIterBurn (int nbIterBurn) |
| set number of burning iterations | |
| void | setNbIterLong (int nbIterLong) |
| set number of long iterations | |
| void | setEpsilon (Real epsilon) |
| set tolerance value | |
Public Member Functions inherited from STK::IRunnerBase | |
| String const & | error () const |
| get the last error message. | |
Additional Inherited Members | |
Protected Member Functions inherited from STK::IMixtureAlgoPredict | |
| IMixtureAlgoPredict () | |
| default constructor | |
| IMixtureAlgoPredict (IMixtureAlgoPredict const &algo) | |
| Copy constructor. | |
| bool | predictBayesClassifier () |
| predict class labels when there is no missing values. | |
| bool | burnStep () |
| Perform burn step using SEM algorithm. | |
Protected Member Functions inherited from STK::IRunnerBase | |
| IRunnerBase () | |
| default constructor | |
| IRunnerBase (IRunnerBase const &runner) | |
| copy constructor | |
| virtual | ~IRunnerBase () |
| destructor | |
| virtual void | update () |
| update the runner. | |
Protected Attributes inherited from STK::IMixtureAlgoPredict | |
| IMixtureComposer * | p_model_ |
| pointer on the mixture model | |
| int | nbIterBurn_ |
| Number of burning iterations of the algorithm. | |
| int | nbIterLong_ |
| maximal number of iterations of the algorithm | |
| Real | epsilon_ |
| tolerance of the algorithm. | |
Protected Attributes inherited from STK::IRunnerBase | |
| String | msg_error_ |
| String with the last error message. | |
| bool | hasRun_ |
true if run has been used, false otherwise | |
Implementation of the SemiSEMPredict algorithm.
SemiSEMPredict algorithm starts calling an initializationStep and then calls until the number of iteration is reached steps:
Definition at line 81 of file STK_MixtureAlgoPredict.h.
|
inline |
default constructor
Definition at line 85 of file STK_MixtureAlgoPredict.h.
Referenced by clone().
|
inline |
Copy constructor.
| algo | the algorithm to copy |
Definition at line 88 of file STK_MixtureAlgoPredict.h.
|
inlinevirtual |
|
inlinevirtual |
clone pattern
Definition at line 92 of file STK_MixtureAlgoPredict.h.
References SemiSEMPredict().
|
virtual |
run the algorithm on the model until the maximal number of iteration is reached.
true if no error occur, false otherwise. Implements STK::IRunnerBase.
Definition at line 114 of file STK_MixtureAlgoPredict.cpp.
References _T, STK::IMixtureAlgoPredict::burnStep(), STK::IMixtureStatModel::computeNbMissingValues(), STK::IRunnerBase::error(), STK::IMixtureComposer::eStep(), STK::Clust::exceptionToString(), STK::IMixtureComposer::finalizeStep(), STK::IMixtureComposer::initializeStep(), STK::IStatModelBase::lnLikelihood(), STK::IMixtureComposer::mapStep(), STK::IRunnerBase::msg_error_, STK::IMixtureAlgoPredict::nbIterBurn_, STK::IMixtureAlgoPredict::nbIterLong_, STK::IMixtureAlgoPredict::p_model_, STK::IMixtureAlgoPredict::predictBayesClassifier(), STK::IMixtureStatModel::samplingStep(), STK::IMixtureStatModel::setParametersStep(), stk_cout, and STK::IMixtureStatModel::storeIntermediateResults().