57#ifdef STK_MIXTURE_VERY_VERBOSE
58 stk_cout <<
_T(
"Entering XemStrategy::run() with:\n")
73#ifdef STK_MIXTURE_VERY_VERBOSE
74 stk_cout <<
_T(
"-------------------------------\n")
75 <<
_T(
"try number = ") <<
iTry <<
_T(
"\n");
101#ifdef STK_MIXTURE_VERBOSE
103 <<
_T(
". In XemStrategy::run(), short run terminated. best model:\n");
110#ifdef STK_MIXTURE_VERBOSE
111 stk_cout <<
"In FullStrategy::run(), Long run Failed.\n";
121#ifdef STK_MIXTURE_VERBOSE
122 stk_cout <<
"XemStrategy::run() terminated.\n";
123 stk_cout <<
"-------------------------------\n";
In this file we define the abstract base class for mixture models.
#define STKERROR_NO_ARG(Where, Error)
In this file we define mixture algorithms.
In this file we define the interface base class for initialization methods.
#define stk_cout
Standard stk output stream.
#define _T(x)
Let x unmodified.
This file include all the other header files of the project Sdk.
Sdk class for all library Exceptions.
void setModel(IMixtureComposer *p_model)
set model
Base class for Mixture (composed) model.
void randomFuzzyInit()
Initialize randomly the posterior probabilities tik of the model, then compute the zi values with map...
virtual IMixtureComposer * create() const =0
create pattern
Clust::modelState state() const
void setModel(IMixtureComposer *p_model)
set a new model
int nbTry_
number of tries of each strategies (1 by default)
void storeModel(IMixtureComposer *&p_otherModel)
store a model in p_model_ if it is better.
IMixtureInit * p_init_
initialization method
IMixtureComposer *& p_model_
reference on the main model
String msg_error_
String with the last error message.
virtual bool run()=0
run the computations.
String const & error() const
get the last error message.
Real lnLikelihood() const
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
virtual bool run()
run the strategy
XemStrategyParam * p_param_
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.
virtual ~XemStrategyParam()
destructor
IMixtureAlgo * p_shortAlgo_
algorithm to use in short runs
IMixtureAlgo * p_longAlgo_
algorithm to use in long run
int nbShortRun_
number of short run to perform