|
STK++ 0.9.13
|
Derived class of Criterion for computing the Maximum Likelihood Criterion This criterion does not penalize the model and return minux two times the log likelihood of the model. More...
#include <STK_MixtureCriterion.h>

Public Member Functions | |
| MLMixtureCriterion () | |
| Default Constructor. | |
| MLMixtureCriterion (IMixtureStatModel *const p_composer) | |
| Constructor. | |
| MLMixtureCriterion (MLMixtureCriterion const &criterion) | |
| copy Constructor. | |
| virtual | ~MLMixtureCriterion () |
| virtual destructor. | |
| MLMixtureCriterion * | clone () const |
| clone pattern | |
| virtual bool | run () |
| implementation of the virtual method run | |
Public Member Functions inherited from STK::IMixtureCriterion | |
| virtual | ~IMixtureCriterion () |
| Destructor. | |
| Real const & | value () const |
| void | setModel (IMixtureStatModel const *p_composer) |
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::IMixtureCriterion | |
| IMixtureCriterion () | |
| Default Constructor. | |
| IMixtureCriterion (IMixtureStatModel const *p_composer) | |
| Constructor. | |
| IMixtureCriterion (IMixtureCriterion const &criterion) | |
| copy Constructor. | |
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::IMixtureCriterion | |
| IMixtureStatModel const * | p_composer_ |
| The current statistical model to use. | |
| Real | value_ |
| Computed value of the criterion. | |
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 | |
Derived class of Criterion for computing the Maximum Likelihood Criterion This criterion does not penalize the model and return minux two times the log likelihood of the model.
![\[
-2 \ln{L}
\]](form_176.png)
Definition at line 154 of file STK_MixtureCriterion.h.
|
inline |
Default Constructor.
Definition at line 158 of file STK_MixtureCriterion.h.
Referenced by clone().
|
inline |
Constructor.
| p_composer | apointer on the current model |
Definition at line 162 of file STK_MixtureCriterion.h.
|
inline |
copy Constructor.
| criterion | the criterion to copy |
Definition at line 167 of file STK_MixtureCriterion.h.
|
inlinevirtual |
|
inline |
clone pattern
Definition at line 172 of file STK_MixtureCriterion.h.
References MLMixtureCriterion().
|
virtual |
implementation of the virtual method run
Implements STK::IRunnerBase.
Definition at line 74 of file STK_MixtureCriterion.cpp.
References STK::IStatModelBase::lnLikelihood(), STK::IRunnerBase::msg_error_, STK::IMixtureCriterion::p_composer_, run(), STKERROR_NO_ARG, and STK::IMixtureCriterion::value_.
Referenced by run().