52#ifdef STK_MIXTURE_VERBOSE
53 stk_cout <<
_T(
"-----------------------------------------------\n");
54 stk_cout <<
_T(
"Entering SimpleStrategy::run() with: ")
71#ifdef STK_MIXTURE_VERBOSE
72 stk_cout <<
"SimpleStrategy::run(), Initialization failed.\n";
81#ifdef STK_MIXTURE_VERBOSE
82 stk_cout <<
"SimpleStrategy::run(), Long run failed.\n";
97#ifdef STK_MIXTURE_VERBOSE
98 stk_cout <<
"SimpleStrategy::run() terminated. \n";
99 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
SimpleStrategyParam * p_param_
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.
IMixtureAlgo * p_algo_
number of iterations in the Initialization
virtual ~SimpleStrategyParam()
destructor