38#ifndef STK_CLUST_UTIL_H
39#define STK_CLUST_UTIL_H
48class IMixtureAlgoPredict;
49class IMixtureAlgoLearn;
51class IMixtureStrategy;
52class IMixtureComposer;
53class IMixtureCriterion;
360 const bool isAj_ =
true;
361 const bool isAk_ =
true;
362 const bool isBk_ =
true;
363 const bool isQk_ =
true;
364 const bool isDk_ =
true;
369 const bool isAj_ =
true;
370 const bool isAk_ =
true;
371 const bool isBk_ =
true;
372 const bool isQk_ =
true;
373 const bool isDk_ =
false;
378 const bool isAj_ =
true;
379 const bool isAk_ =
true;
380 const bool isBk_ =
true;
381 const bool isQk_ =
false;
382 const bool isDk_ =
true;
387 const bool isAj_ =
true;
388 const bool isAk_ =
true;
389 const bool isBk_ =
true;
390 const bool isQk_ =
false;
391 const bool isDk_ =
false;
396 const bool isAj_ =
true;
397 const bool isAk_ =
true;
398 const bool isBk_ =
false;
399 const bool isQk_ =
true;
400 const bool isDk_ =
true;
405 const bool isAj_ =
true;
406 const bool isAk_ =
true;
407 const bool isBk_ =
false;
408 const bool isQk_ =
true;
409 const bool isDk_ =
false;
414 const bool isAj_ =
true;
415 const bool isAk_ =
true;
416 const bool isBk_ =
false;
417 const bool isQk_ =
false;
418 const bool isDk_ =
true;
423 const bool isAj_ =
true;
424 const bool isAk_ =
true;
425 const bool isBk_ =
false;
426 const bool isQk_ =
false;
427 const bool isDk_ =
false;
432 const bool isAj_ =
false;
433 const bool isAk_ =
true;
434 const bool isBk_ =
true;
435 const bool isQk_ =
true;
436 const bool isDk_ =
true;
441 const bool isAj_ =
false;
442 const bool isAk_ =
true;
443 const bool isBk_ =
true;
444 const bool isQk_ =
true;
445 const bool isDk_ =
false;
450 const bool isAj_ =
false;
451 const bool isAk_ =
true;
452 const bool isBk_ =
true;
453 const bool isQk_ =
false;
454 const bool isDk_ =
true;
459 const bool isAj_ =
false;
460 const bool isAk_ =
true;
461 const bool isBk_ =
true;
462 const bool isQk_ =
false;
463 const bool isDk_ =
false;
468 const bool isAj_ =
false;
469 const bool isAk_ =
true;
470 const bool isBk_ =
false;
471 const bool isQk_ =
true;
472 const bool isDk_ =
true;
477 const bool isAj_ =
false;
478 const bool isAk_ =
true;
479 const bool isBk_ =
false;
480 const bool isQk_ =
true;
481 const bool isDk_ =
false;
486 const bool isAj_ =
false;
487 const bool isAk_ =
true;
488 const bool isBk_ =
false;
489 const bool isQk_ =
false;
490 const bool isDk_ =
true;
495 const bool isAj_ =
false;
496 const bool isAk_ =
true;
497 const bool isBk_ =
false;
498 const bool isQk_ =
false;
499 const bool isDk_ =
false;
504 const bool isAj_ =
true;
505 const bool isAk_ =
false;
506 const bool isBk_ =
true;
507 const bool isQk_ =
true;
508 const bool isDk_ =
true;
513 const bool isAj_ =
true;
514 const bool isAk_ =
false;
515 const bool isBk_ =
true;
516 const bool isQk_ =
true;
517 const bool isDk_ =
false;
522 const bool isAj_ =
true;
523 const bool isAk_ =
false;
524 const bool isBk_ =
true;
525 const bool isQk_ =
false;
526 const bool isDk_ =
true;
531 const bool isAj_ =
true;
532 const bool isAk_ =
false;
533 const bool isBk_ =
true;
534 const bool isQk_ =
false;
535 const bool isDk_ =
false;
540 const bool isAj_ =
true;
541 const bool isAk_ =
false;
542 const bool isBk_ =
false;
543 const bool isQk_ =
true;
544 const bool isDk_ =
true;
549 const bool isAj_ =
true;
550 const bool isAk_ =
false;
551 const bool isBk_ =
false;
552 const bool isQk_ =
true;
553 const bool isDk_ =
false;
558 const bool isAj_ =
false;
559 const bool isAk_ =
false;
560 const bool isBk_ =
true;
561 const bool isQk_ =
true;
562 const bool isDk_ =
true;
567 const bool isAj_ =
false;
568 const bool isAk_ =
false;
569 const bool isBk_ =
true;
570 const bool isQk_ =
true;
571 const bool isDk_ =
false;
576 const bool isAj_ =
false;
577 const bool isAk_ =
false;
578 const bool isBk_ =
true;
579 const bool isQk_ =
false;
580 const bool isDk_ =
true;
585 const bool isAj_ =
false;
586 const bool isAk_ =
false;
587 const bool isBk_ =
true;
588 const bool isQk_ =
false;
589 const bool isDk_ =
false;
594 const bool isAj_ =
false;
595 const bool isAk_ =
false;
596 const bool isBk_ =
false;
597 const bool isQk_ =
true;
598 const bool isDk_ =
true;
603 const bool isAj_ =
false;
604 const bool isAk_ =
false;
605 const bool isBk_ =
false;
606 const bool isQk_ =
true;
607 const bool isDk_ =
false;
This file include all the header files of the project STKernel.
Interface base class for the learning algorithms.
Interface base class for predicting algorithms.
Interface base class for the algorithms.
Base class for Mixture (composed) model.
Interface base class for the selection model criterion.
Interface base class for the initializations.
Interface base class for all the strategies.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
algoPredictType
Learning estimation algorithms.
const Clust::initType defaultInitType
Default algorithm type in short run.
IMixtureAlgo * createLongRunAlgo(Clust::algoType algo=defaultAlgoLongRun, int nbIterMax=defaultMaxIterLongRun, Real epsilon=defaultEpsilonLongRun)
utility function for creating a long Run algorithm.
const int defaultMaxIterShortRun
Default number of iterations in the short runs (used in FullStrategy)
const int defaultNbInit
Default number of initializations to perform.
const Clust::algoType defaultAlgoShortRun
Default algorithm type in short run.
initType
initialization type.
const Clust::algoType defaultAlgoInInit
Default algorithm type in initialization.
algoType
Estimation algorithms.
const Clust::algoType defaultAlgoLongRun
Default algorithm type in long run.
MixtureClass
list of the class of mixture implemented in stkpp
algoType stringToAlgo(String const &type)
Convert a String to an algoType.
initType stringToInit(String const &type)
Convert a String to a initType.
const int defaultMaxIterLongRun
Default number of iterations in the long run (used in FullStrategy)
MixtureClass mixtureToMixtureClass(Mixture const &type)
convert a Mixture to a MixtureClass.
algoLearnType
Learning estimation algorithms.
const Real defaultEpsilonInInit
Default epsilon in the short runs (used in strategy)
ParsimoniousCovarianceModel
list of the parsimonious covariance models that can be used
IMixtureAlgo * createShortRunAlgo(Clust::algoType algo=defaultAlgoShortRun, int nbIterMax=defaultMaxIterShortRun, Real epsilon=defaultEpsilonShortRun)
utility function for creating a a short Run algorithm.
const Real defaultEpsilonLongRun
Default epsilon in the long run (used in strategy)
IMixtureInit * createInit(Clust::initType init=defaultInitType, int nbInits=defaultNbInit, Clust::algoType algo=defaultAlgoInInit, int nbIterMax=defaultNbIterMaxInInit, Real epsilon=defaultEpsilonInInit)
Utility function for creating a model initializer.
IMixtureAlgo * createAlgo(Clust::algoType algo, int nbIterMax, Real epsilon)
utility function for creating an estimation algorithm.
algoPredictType stringToPredictAlgo(String const &type)
Convert a String to an algoPredictType.
IMixtureStrategy * createSimpleStrategy(IMixtureComposer *&p_composer, int nbTry, IMixtureInit *const &p_init, IMixtureAlgo *const &algo)
Utility function for creating a SimpleStrategy.
IMixtureCriterion * createCriterion(Clust::criterionType criterion)
criterionType stringToCriterion(String const &type)
Convert a String to an criterionType.
Mixture stringToMixture(String const &type)
Convert a String to a Mixture.
strategyType
strategy of estimation
String mixtureToString(Mixture const &type)
convert a Mixture to a String.
String exceptionToString(exceptions const &type)
convert a Clust::exceptions to a String.
const Real defaultEpsilonShortRun
Default epsilon in the short runs (used in strategy)
const int defaultNbTry
Default number of try in an estimation strategy.
IMixtureAlgoLearn * createLearnAlgo(Clust::algoLearnType algo, int nbIterMax, Real epsilon)
utility function for creating a learning algorithm.
algoLearnType stringToLearnAlgo(String const &type)
Convert a String to an algoLearnType.
exceptions
Specific exceptions allowing to handle the erroros that can occur in the estimation process.
Mixture
list of the mixtures that can be used by the composer
IMixtureStrategy * createFullStrategy(IMixtureComposer *&p_composer, int nbTry, int nbInitRun, IMixtureInit *const &p_init, int nbShortRun, IMixtureAlgo *const &shortRunAlgo, IMixtureAlgo *const &longRunAlgo)
Utility function for creating a FullStrategy.
IMixtureAlgoPredict * createPredictAlgo(Clust::algoPredictType algo, int nbIterBurn, int nbIterLong, Real epsilon)
utility function for creating a predicting algorithm.
criterionType
type of criterion to use in order to select the mixture model
HDCovarianceModel
list of the HD covariance models that can be used
const int defaultNbIterMaxInInit
Default number of iteration in an initialization algorithm.
modelState
Give the state of the model.
@ randomParamInit_
initialize randomly the parameters
@ valueParamInit_
initialize parameters using given values
@ randomFuzzyInit_
initialize randomly the partnership class probabilities
@ randomClassInit_
initialize randomly the class labels
@ noInit_
no initialization
@ HDCovariance_AjkBkQkDk_
@ modelCreated_
the model has been created but is not initialized
@ longRun_
A long run has been done.
@ modelInitialized_
the model is initialized and its parameters are initialized to default values
@ modelFinalized_
the model is finalized
@ modelParamInitialized_
The parameters of the model have been initialized.
@ shortRun_
A short run has been done.
std::basic_string< Char > String
STK fundamental type of a String.
double Real
STK fundamental type of Real values.
The namespace STK is the main domain space of the Statistical ToolKit project.
structure storing the parameters of the HD matrix valued mixture
struct storing the parameters of the mixture.
MixtureBridgeTraits struct for bridged mixtures The traits struct MixtureBridgeTraits must be special...
Main class for the mixture managers traits policy.
Main class for the mixtures traits policy.