STK++ 0.9.13
|
The project Clustering provides classes for modeling and estimating generative mixture model. More...
Namespaces | |
namespace | STK::Clust |
The namespace Clust enclose all the enum and utilities functions needed by the Clustering project. | |
Classes | |
struct | STK::hidden::MixtureTraits< Categorical_pjk< Array_ > > |
Traits class for the Categorical_pjk traits policy. More... | |
class | STK::Categorical_pjk< Array > |
The diagonal Categorical mixture model Categorical_pjk is the most general diagonal Categorical model and has a probability function of the form. More... | |
struct | STK::hidden::MixtureTraits< Categorical_pk< Array_ > > |
Traits class for the Categorical_pk traits policy. More... | |
class | STK::Categorical_pk< Array > |
The diagonal Categorical mixture model Categorical_pk is a diagonal Categorical model and has a density function of the form. More... | |
class | STK::CategoricalBase< Derived > |
Base class for the Categorical models. More... | |
class | STK::CategoricalBridge< Id, Data > |
template implementation of the IMixtureBridge interface allowing to bridge a STK++ mixture with the composer. More... | |
class | STK::CategoricalMixtureManager< DataHandler > |
A mixture manager is a factory class for injection dependency in the STK++ derived class of the IMixtureComposer interface class. More... | |
struct | STK::ModelParameters< Clust::Categorical_pjk_ > |
Structure encapsulating the parameters of a Categorical_pjk model. More... | |
struct | STK::ModelParameters< Clust::Categorical_pk_ > |
Structure encapsulating the parameters of a Categorical_pk model. More... | |
class | STK::DiagGaussian_s< Array > |
The diagonal DiagGaussian_s mixture model hse a density function of the form. More... | |
class | STK::DiagGaussian_sj< Array > |
The diagonal Gaussian mixture model DiagGaussian_sj have a density function of the form. More... | |
struct | STK::hidden::MixtureTraits< DiagGaussian_sjk< Array_ > > |
Traits class for the DiagGaussian_sjk traits policy. More... | |
class | STK::DiagGaussian_sjk< Array > |
The diagonal Gaussian mixture model DiagGaussian_sjk is the most general diagonal Gaussian model and have a density function of the form. More... | |
struct | STK::hidden::MixtureTraits< DiagGaussian_sjsk< Array_ > > |
Traits class for the DiagGaussian_sjsk traits policy. More... | |
class | STK::DiagGaussian_sjsk< Array > |
The diagonal Gaussian mixture model DiagGaussian_sjsk is an intermediate diagonal Gaussian model with density function of the form. More... | |
struct | STK::hidden::MixtureTraits< DiagGaussian_sk< Array_ > > |
Traits class for the DiagGaussian_sk traits policy. More... | |
class | STK::DiagGaussian_sk< Array > |
The diagonal Gaussian mixture model DiagGaussian_sk assumes an equal standard deviation in each cluster and has a density function of the form. More... | |
class | STK::DiagGaussianBase< Derived > |
Base class for the diagonal Gaussian models. More... | |
class | STK::DiagGaussianBridge< Id, Data > |
template implementation of the IMixture interface allowing to bridge a STK++ mixture with the composer. More... | |
class | STK::DiagGaussianMixtureManager< DataHandler > |
A mixture manager is a factory class for injection dependency in the STK++ derived class of the IMixtureComposer class. More... | |
struct | STK::ModelParameters< Clust::Gaussian_sjk_ > |
Structure encapsulating the parameters of a STK::DiagGaussian_sjk model. More... | |
struct | STK::ModelParameters< Clust::Gaussian_sk_ > |
Structure encapsulating the parameters of a STK::DiagGaussian_sk model. More... | |
struct | STK::ModelParameters< Clust::Gaussian_sj_ > |
Structure encapsulating the parameters of a STK::DiagGaussian_sj model. More... | |
struct | STK::ModelParameters< Clust::Gaussian_s_ > |
Structure encapsulating the parameters of a STK::DiagGaussian_s model. More... | |
struct | STK::ModelParameters< Clust::Gaussian_sjsk_ > |
Structure encapsulating the parameters of a Gaussian_sjsk mixture model. More... | |
struct | STK::hidden::MixtureTraits< Gamma_a_bjk< Array_ > > |
Traits class for the Gamma_a_bjk traits policy. More... | |
class | STK::Gamma_a_bjk< Array > |
Gamma_a_bjk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_a_bk< Array_ > > |
Traits class for the Gamma_a_bk traits policy. More... | |
class | STK::Gamma_a_bk< Array > |
Gamma_a_bk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_aj_bjk< Array_ > > |
Traits class for the Gamma_aj_bjk traits policy. More... | |
class | STK::Gamma_aj_bjk< Array > |
Gamma_aj_bjk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_aj_bk< Array_ > > |
Traits class for the Gamma_aj_bk traits policy. More... | |
class | STK::Gamma_aj_bk< Array > |
Gamma_aj_bk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ajk_b< Array_ > > |
Traits class for the Gamma_ajk_b traits policy. More... | |
class | STK::Gamma_ajk_b< Array > |
Gamma_ajk_b is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ajk_bj< Array_ > > |
Traits class for the Gamma_ajk_bj traits policy. More... | |
class | STK::Gamma_ajk_bj< Array > |
Gamma_ajk_bj is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ajk_bjk< Array_ > > |
Traits class for the Gamma_ajk_bjk traits policy. More... | |
class | STK::Gamma_ajk_bjk< Array > |
Gamma_ajk_bjk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ajk_bk< Array_ > > |
Traits class for the Gamma_ajk_bk traits policy. More... | |
class | STK::Gamma_ajk_bk< Array > |
Gamma_ajk_bk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ak_b< Array_ > > |
Traits class for the Gamma_ak_b traits policy. More... | |
class | STK::Gamma_ak_b< Array > |
Gamma_ak_b is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ak_bj< Array_ > > |
Traits class for the Gamma_ak_bj traits policy. More... | |
class | STK::Gamma_ak_bj< Array > |
Gamma_ak_bj is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ak_bjk< Array_ > > |
Traits class for the Gamma_ak_bjk traits policy. More... | |
class | STK::Gamma_ak_bjk< Array > |
Gamma_ak_bjk is a mixture model of the following form. More... | |
struct | STK::hidden::MixtureTraits< Gamma_ak_bk< Array_ > > |
Traits class for the Gamma_ak_bk traits policy. More... | |
class | STK::Gamma_ak_bk< Array > |
Gamma_ak_bk is a mixture model of the following form. More... | |
class | STK::GammaBase< Derived > |
Base class for the gamma models. More... | |
class | STK::GammaBridge< Id, Data > |
template implementation of the IMixtureBridge interface allowing to bridge a STK++ mixture with the composer. More... | |
class | STK::GammaMixtureManager< DataHandler > |
A mixture manager is a factory class for injection dependency in the STK++ derived class of the MixtureComposer class. More... | |
struct | STK::ModelParameters< Clust::Gamma_a_bjk_ > |
Structure encapsulating the parameters of a Gamma_a_bjk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_a_bk_ > |
Structure encapsulating the parameters of a Gamma_a_bk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_aj_bjk_ > |
Structure encapsulating the parameters of a Gamma_aj_bjk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_aj_bk_ > |
Structure encapsulating the parameters of a Gamma_aj_bk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ajk_b_ > |
Structure encapsulating the parameters of a Gamma_ajk_b_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ajk_bj_ > |
Structure encapsulating the parameters of a Gamma_ajk_bj_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ajk_bjk_ > |
Structure encapsulating the parameters of a Gamma_ajk_bjk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ajk_bk_ > |
Structure encapsulating the parameters of a Gamma_ajk_bk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ak_b_ > |
Structure encapsulating the parameters of a Gamma_ak_b_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ak_bj_ > |
Structure encapsulating the parameters of a Gamma_ak_bj_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ak_bjk_ > |
Structure encapsulating the parameters of a Gamma_ak_bjk_ mixture model. More... | |
struct | STK::ModelParameters< Clust::Gamma_ak_bk_ > |
Structure encapsulating the parameters of a Gamma_ak_bk_ mixture model. More... | |
class | STK::HDMatrixGaussianBridge< IdRow, IdCol, Data > |
template implementation of the IMixture interface allowing to bridge a STK++ mixture with the composer. More... | |
struct | STK::hidden::MixtureTraits< HDMatrixGaussianModel< IdRow_, IdCol_, Array_ > > |
Traits class for the HDMatrixGaussianModel traits policy. More... | |
class | STK::HDMatrixGaussianModel< IdRow_, IdCol_, Array_ > |
Main class for HD matrix valued matrix models. More... | |
struct | STK::HDMatrixModelParameters< Array_ > |
structure storing the parameters of the HD matrix valued mixture More... | |
struct | STK::hidden::MixtureTraits< HDGaussian_AjkBkQkD_< Array_ > > |
Traits class for the MixtureHDGaussian_ajk_bk_qk_d traits policy. More... | |
struct | STK::ModelParameters< Clust::HDGaussian_AjkBkQkD_ > |
Structure encapsulating the parameters of a MixturGaussian_sj model. More... | |
class | STK::HDGaussian_AjkBkQkD< Array > |
The diagonal Gaussian mixture model HDGaussian_AjkBkQkD is the most general HD Gaussian model and have a density function of the form. More... | |
class | STK::HDGaussianBase< Derived > |
Base class for the diagonal Gaussian models. More... | |
class | STK::HDGaussianBridge< Id, Data > |
template implementation of the IMixture interface allowing to bridge a STK++ mixture with the composer. More... | |
class | STK::KernelMixtureManager |
A mixture manager is a factory class for injection dependency in the STK++ derived class of the MixtureComposer class. More... | |
struct | STK::ModelParameters< Clust::Kmm_s_ > |
Structure encapsulating the parameters of a Kmm_s model. More... | |
struct | STK::ModelParameters< Clust::Kmm_sk_ > |
Structure encapsulating the parameters of a Kmm_sk model. More... | |
struct | STK::hidden::MixtureTraits< Kmm_s > |
MixtureTraits class for the Kmm_s traits policy. More... | |
class | STK::Kmm_s |
The Gaussian mixture model Kmm_s is an isotrope Gaussian mixture model on a kernel space. More... | |
struct | STK::hidden::MixtureTraits< Kmm_sk > |
Traits class for the Kmm_sk traits policy. More... | |
class | STK::Kmm_sk |
The Gaussian mixture model Kmm_sk is an isotrope Gaussian mixture model on a kernel space. More... | |
class | STK::KmmBase< Derived > |
Base class for the Gaussian Kernel Mixture Models. More... | |
class | STK::KmmBridge< Id, Data > |
template implementation of the IMixture interface allowing to bridge a STK++ kernel mixture with the composer. More... | |
class | STK::IMixtureAlgo |
Interface base class for the algorithms. More... | |
class | STK::IMixtureAlgoLearn |
Interface base class for the learning algorithms. More... | |
class | STK::IMixtureAlgoPredict |
Interface base class for predicting algorithms. More... | |
class | STK::EMAlgo |
Implementation of the EM algorithm. More... | |
class | STK::CEMAlgo |
Implementation of the SEM algorithm. More... | |
class | STK::SEMAlgo |
Implementation of the SEM algorithm. More... | |
class | STK::SemiSEMAlgo |
Implementation of the SemiSEM algorithm. More... | |
class | STK::ImputeAlgo |
Implementation of the ImputeAlgo learning algorithm. More... | |
class | STK::SimulAlgo |
Implementation of the SimulAlgo learning algorithm. More... | |
class | STK::EMPredict |
Implementation of the EMPredict algorithm. More... | |
class | STK::SemiSEMPredict |
Implementation of the SemiSEMPredict algorithm. More... | |
class | STK::IMixtureCriterion |
Interface base class for the selection model criterion. More... | |
class | STK::AICMixtureCriterion |
Derived class of Criterion for computing the AIC Criterion The AIC criteria of a given model M is a penalization of the likelihood given by the formula. More... | |
class | STK::BICMixtureCriterion |
Derived class of Criterion for computing the BIC Criterion The Bic criteria of a model M is a penalization of the likelihood given by the formula. More... | |
class | STK::ICLMixtureCriterion |
Derived class of IMixtureCriterion for computing the ICL Criterion The ICL criteria of a model M is a penalization of the likelihood given by the formula. More... | |
class | STK::MLMixtureCriterion |
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... | |
class | STK::IMixtureInit |
Interface base class for the initializations. More... | |
class | STK::RandomInit |
Implementation of the random initialization. More... | |
class | STK::ClassInit |
Initialization by simulating a realization of the class labels zi accordingly to the initial proportions. More... | |
class | STK::FuzzyInit |
Initialization by simulating the tik accordingly to the initial proportions. More... | |
struct | STK::FullStrategyParam |
helper structure encapsulating the parameters of the Full strategy More... | |
class | STK::FullStrategy |
A FullStrategy is based on the following paradigm: More... | |
class | STK::IMixtureStrategy |
Interface base class for all the strategies. More... | |
struct | STK::SimpleStrategyParam |
helper structure encapsulating the parameters of the simple strategy More... | |
class | STK::SimpleStrategy |
A SimpleStrategy is just nbTry long run. More... | |
struct | STK::XemStrategyParam |
helper structure encapsulating the parameters of the Xem strategy More... | |
class | STK::XemStrategy |
A XemStrategy is based on the following paradigm: More... | |
struct | STK::hidden::MixtureTraits< Poisson_ljk< Array_ > > |
Traits class for the Poisson_ljk traits policy. More... | |
class | STK::Poisson_ljk< Array > |
The Poisson mixture model Poisson_ljk is the most general Poisson model and have a probability function of the form. More... | |
struct | STK::hidden::MixtureTraits< Poisson_ljlk< Array_ > > |
Traits class for the Poisson_ljlk traits policy. More... | |
class | STK::Poisson_ljlk< Array > |
The Poisson mixture model Poisson_ljlk is a Poisson model with a probability function of the form. More... | |
struct | STK::hidden::MixtureTraits< Poisson_lk< Array_ > > |
Traits class for the Poisson_lk traits policy. More... | |
class | STK::Poisson_lk< Array > |
The Poisson mixture model Poisson_lk has a probability function of the form. More... | |
class | STK::PoissonBase< Derived > |
Base class for the Poisson models. More... | |
class | STK::PoissonBridge< Id, Data > |
template implementation of the IMixtureBridge interface allowing to bridge a STK++ Poisson mixture with the composer. More... | |
class | STK::PoissonMixtureManager< DataHandler > |
A mixture manager is a factory class for injection dependency in the STK++ derived class of the MixtureComposer class. More... | |
struct | STK::ModelParameters< Clust::Poisson_ljlk_ > |
Structure encapsulating the parameters of a Poisson_ljlk model. More... | |
struct | STK::ModelParameters< Clust::Poisson_ljk_ > |
Structure encapsulating the parameters of a Poisson_ljlk model. More... | |
struct | STK::ModelParameters< Clust::Poisson_lk_ > |
Structure encapsulating the parameters of a Poisson_lk model. More... | |
struct | STK::ModelParameters< Id > |
struct storing the parameters of the mixture. More... | |
class | STK::IMixture |
Interface base class for all the mixture models that will be processed by the composer. More... | |
class | STK::IMixtureBridge< Derived > |
Interface base class for the bridges of the STK++ mixture. More... | |
class | STK::IMixtureComposer |
Base class for Mixture (composed) model. More... | |
class | STK::IMixtureDensity< Derived > |
Base class for all Mixture densities. More... | |
class | STK::IMixtureLearner |
Base class for Learner of a Mixture mixed model. More... | |
class | STK::IMixtureManager< Derived > |
Interface base class for mixture managers. More... | |
class | STK::IMixtureModel< Derived > |
Main interface class for mixture models. More... | |
class | STK::IMixtureModelBase |
Base class for all Mixture model. More... | |
class | STK::MixtureComposer |
Main class for handling composed mixture models. More... | |
class | STK::StrategyFacade |
facade design pattern. More... | |
class | STK::LearnFacade |
facade design pattern. More... | |
class | STK::MixtureLearner |
Main class for learning mixture models. More... | |
class | STK::MixtureSemiLearner |
Base class for Learning a Mixture mixed model when some classes are known. More... | |
class | STK::DataBridge< Data > |
bridge a data set in order to handle its missing values. More... | |
Variables | |
const int | STK::Clust::defaultNbTry = 5 |
Default number of try in an estimation strategy. | |
const Clust::initType | STK::Clust::defaultInitType = randomFuzzyInit_ |
Default algorithm type in short run. | |
const int | STK::Clust::defaultNbInit = 5 |
Default number of initializations to perform. | |
const Clust::algoType | STK::Clust::defaultAlgoInInit = emAlgo_ |
Default algorithm type in initialization. | |
const int | STK::Clust::defaultNbIterMaxInInit = 20 |
Default number of iteration in an initialization algorithm. | |
const Real | STK::Clust::defaultEpsilonInInit = 1e-02 |
Default epsilon in the short runs (used in strategy) | |
const Clust::algoType | STK::Clust::defaultAlgoShortRun = emAlgo_ |
Default algorithm type in short run. | |
const int | STK::Clust::defaultMaxIterShortRun = 200 |
Default number of iterations in the short runs (used in FullStrategy) | |
const Real | STK::Clust::defaultEpsilonShortRun = 1e-04 |
Default epsilon in the short runs (used in strategy) | |
const Clust::algoType | STK::Clust::defaultAlgoLongRun = emAlgo_ |
Default algorithm type in long run. | |
const int | STK::Clust::defaultMaxIterLongRun = 1000 |
Default number of iterations in the long run (used in FullStrategy) | |
const Real | STK::Clust::defaultEpsilonLongRun = 1e-08 |
Default epsilon in the long run (used in strategy) | |
The project Clustering provides classes for modeling and estimating generative mixture model.
The aim of this project is to define Interfaces and specialized Classes in order to manipulate and estimate the parameters of any kind of generative mixture model.
In statistics, a mixture model is a probabilistic model for representing the presence of sub-populations within an overall population, without requiring that an observed data-set should identify the sub-population to which an individual observation belongs. Formally a mixture model </ corresponds to the mixture distribution that represents the probability distribution of observations in the overall population. However, while problems associated with mixture distributions relate to deriving the properties of the overall population from those of the sub-populations, mixture models are used to make statistical inferences about the properties of the sub-populations given only observations on the pooled population, without sub-population-identity information.
Some ways of implementing mixture models involve steps that attribute postulated sub-population-identities to individual observations (or weights towards such sub-populations), in which case these can be regarded as types of unsupervised learning or clustering procedures. However not all inference procedures involve such steps.
Learning estimation algorithms.
Enumerator | |
---|---|
imputeAlgo_ | |
simulAlgo_ |
Definition at line 193 of file STK_Clust_Util.h.
Learning estimation algorithms.
Enumerator | |
---|---|
emPredictAlgo_ | |
semiSEMPredictAlgo_ |
Definition at line 170 of file STK_Clust_Util.h.
Estimation algorithms.
Enumerator | |
---|---|
emAlgo_ | |
cemAlgo_ | |
semAlgo_ | |
semiSemAlgo_ |
Definition at line 138 of file STK_Clust_Util.h.
Specific exceptions allowing to handle the erroros that can occur in the estimation process.
Enumerator | |
---|---|
randomInitFail_ | |
randomParamInitFail_ | |
randomClassInitFail_ | |
randomFuzzyInitFail_ | |
estimFail_ | |
initializeStepFail_ | |
mStepFail_ | |
eStepFail_ | |
mapStepFail_ | |
cStepFail_ | |
sStepFail_ |
Definition at line 257 of file STK_Clust_Util.h.
list of the HD covariance models that can be used
Definition at line 315 of file STK_Clust_Util.h.
initialization type.
There is four ways to initialize the mixture model:
Definition at line 106 of file STK_Clust_Util.h.
list of the mixtures that can be used by the composer
Definition at line 617 of file STK_Clust_Util.h.
list of the class of mixture implemented in stkpp
Enumerator | |
---|---|
Gamma_ | |
DiagGaussian_ | |
Categorical_ | |
Poisson_ | |
Kmm_ | |
Matrix_ | |
HDGaussian_ | |
HDMatrixGaussian_ | |
unknown_mixture_class_ |
Definition at line 678 of file STK_Clust_Util.h.
Give the state of the model.
Definition at line 282 of file STK_Clust_Util.h.
list of the parsimonious covariance models that can be used
Definition at line 295 of file STK_Clust_Util.h.
strategy of estimation
Enumerator | |
---|---|
simpleStrategy_ | |
XemStrategy_ | |
SemStrategy_ | |
FullStrategy_ |
Definition at line 218 of file STK_Clust_Util.h.
IMixtureAlgo * STK::Clust::createAlgo | ( | Clust::algoType | algo, |
int | nbIterMax, | ||
Real | epsilon | ||
) |
utility function for creating an estimation algorithm.
algo | the algorithm to create |
nbIterMax,epsilon | the maximal number of iteration and the tolerance of the algorithm |
Definition at line 670 of file STK_Clust_Util.cpp.
References STK::Clust::cemAlgo_, STK::Clust::emAlgo_, STK::Clust::semAlgo_, and STK::Clust::semiSemAlgo_.
Referenced by STK::StrategyFacade::createFullStrategy(), STK::Clust::createInit(), STK::Clust::createLongRunAlgo(), STK::Clust::createShortRunAlgo(), and STK::StrategyFacade::createSimpleStrategy().
IMixtureCriterion * STK::Clust::createCriterion | ( | Clust::criterionType | criterion | ) |
criterion | selection criterion to use |
Definition at line 637 of file STK_Clust_Util.cpp.
References STK::Clust::aic_, STK::Clust::bic_, STK::Clust::icl_, and STK::Clust::ml_.
Referenced by STK::Clust::createCriterion().
IMixtureStrategy * STK::Clust::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.
p_composer | the composer to which we want to apply a the strategy. |
nbTry | the maximal number of tries. |
nbInitRun | the number of initialization to perform. |
p_init | the initializer to use. |
nbShortRun | the number of shortRun. |
shortRunAlgo | the algorithm to use in the short run. |
longRunAlgo | the algorithm to use in the long run. |
Definition at line 821 of file STK_Clust_Util.cpp.
Referenced by STK::StrategyFacade::createFullStrategy().
IMixtureInit * STK::Clust::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.
init | the kind of initializer to create |
nbInits | the number of initialization to try |
algo | the kind of algorithm to add to the initializer |
nbIterMax,epsilon | the maximal number of iteration and the tolerance of the initialization algorithm |
Definition at line 759 of file STK_Clust_Util.cpp.
References STK::Clust::createAlgo(), STK::Clust::noInit_, STK::Clust::randomClassInit_, STK::Clust::randomFuzzyInit_, STK::Clust::randomInit_, and STK::Clust::randomParamInit_.
Referenced by STK::StrategyFacade::createFullStrategy(), and STK::StrategyFacade::createSimpleStrategy().
IMixtureAlgoLearn * STK::Clust::createLearnAlgo | ( | Clust::algoLearnType | algo, |
int | nbIterMax, | ||
Real | epsilon | ||
) |
utility function for creating a learning algorithm.
algo | the algorithm to create |
nbIterMax,epsilon | the maximal number of iteration and the tolerance of the algorithm |
Definition at line 703 of file STK_Clust_Util.cpp.
References STK::Clust::imputeAlgo_, and STK::Clust::simulAlgo_.
Referenced by STK::LearnFacade::createImputeAlgo(), and STK::LearnFacade::createSimulAlgo().
|
inline |
utility function for creating a long Run algorithm.
algo | the algorithm to create |
nbIterMax | the maximal number of iteration of the algorithm |
epsilon | the tolerance of the algorithm |
Definition at line 946 of file STK_Clust_Util.h.
References STK::Clust::createAlgo().
IMixtureAlgoPredict * STK::Clust::createPredictAlgo | ( | Clust::algoPredictType | algo, |
int | nbIterBurn, | ||
int | nbIterLong, | ||
Real | epsilon | ||
) |
utility function for creating a predicting algorithm.
algo | the algorithm to create |
nbIterBurn,nbIterLong,epsilon | number of iteration of the burning and estimation steps and tolerance of the algorithm |
Definition at line 730 of file STK_Clust_Util.cpp.
References STK::Clust::emPredictAlgo_, and STK::Clust::semiSEMPredictAlgo_.
|
inline |
utility function for creating a a short Run algorithm.
algo | the algorithm to create |
nbIterMax | the maximal number of iteration of the algorithm |
epsilon | the tolerance of the algorithm |
Definition at line 936 of file STK_Clust_Util.h.
References STK::Clust::createAlgo().
IMixtureStrategy * STK::Clust::createSimpleStrategy | ( | IMixtureComposer *& | p_composer, |
int | nbTry, | ||
IMixtureInit *const & | p_init, | ||
IMixtureAlgo *const & | algo | ||
) |
Utility function for creating a SimpleStrategy.
p_composer | the composer to which we want to apply a the strategy. |
nbTry | the number of tries. |
p_init | the initializer to use. |
algo | the algorithm to use in the long run. |
Definition at line 797 of file STK_Clust_Util.cpp.
Referenced by STK::StrategyFacade::createSimpleStrategy().
String STK::Clust::exceptionToString | ( | exceptions const & | type | ) |
convert a Clust::exceptions to a String.
type | the type of exception that occur |
Definition at line 178 of file STK_Clust_Util.cpp.
References _T, STK::Clust::cStepFail_, STK::Clust::eStepFail_, STK::Clust::estimFail_, STK::Clust::initializeStepFail_, STK::Clust::mapStepFail_, STK::Clust::mStepFail_, STK::Clust::randomClassInitFail_, STK::Clust::randomFuzzyInitFail_, STK::Clust::randomInitFail_, STK::Clust::randomParamInitFail_, and STK::Clust::sStepFail_.
Referenced by STK::IMixtureAlgoPredict::burnStep(), STK::IMixtureAlgoPredict::predictBayesClassifier(), STK::EMAlgo::run(), STK::CEMAlgo::run(), STK::SEMAlgo::run(), STK::SemiSEMAlgo::run(), STK::ImputeAlgo::run(), STK::SimulAlgo::run(), STK::EMPredict::run(), STK::SemiSEMPredict::run(), STK::RandomInit::run(), STK::ClassInit::run(), and STK::FuzzyInit::run().
MixtureClass STK::Clust::mixtureToMixtureClass | ( | Mixture const & | type | ) |
convert a Mixture to a MixtureClass.
type | the type of Mixture |
Definition at line 199 of file STK_Clust_Util.cpp.
References STK::Clust::Categorical_, STK::Clust::Categorical_pjk_, STK::Clust::Categorical_pk_, STK::Clust::DiagGaussian_, STK::Clust::Gamma_, STK::Clust::Gamma_a_bjk_, STK::Clust::Gamma_a_bk_, STK::Clust::Gamma_aj_bjk_, STK::Clust::Gamma_aj_bk_, STK::Clust::Gamma_ajk_b_, STK::Clust::Gamma_ajk_bj_, STK::Clust::Gamma_ajk_bjk_, STK::Clust::Gamma_ajk_bk_, STK::Clust::Gamma_ak_b_, STK::Clust::Gamma_ak_bj_, STK::Clust::Gamma_ak_bjk_, STK::Clust::Gamma_ak_bk_, STK::Clust::Gaussian_s_, STK::Clust::Gaussian_sj_, STK::Clust::Gaussian_sjk_, STK::Clust::Gaussian_sjsk_, STK::Clust::Gaussian_sk_, STK::Clust::HDGaussian_, STK::Clust::HDGaussian_ABkQD_, STK::Clust::HDGaussian_ABkQDk_, STK::Clust::HDGaussian_ABkQkD_, STK::Clust::HDGaussian_ABkQkDk_, STK::Clust::HDGaussian_ABQkD_, STK::Clust::HDGaussian_ABQkDk_, STK::Clust::HDGaussian_AjBkQD_, STK::Clust::HDGaussian_AjBkQDk_, STK::Clust::HDGaussian_AjBkQkD_, STK::Clust::HDGaussian_AjBkQkDk_, STK::Clust::HDGaussian_AjBQkD_, STK::Clust::HDGaussian_AjBQkDk_, STK::Clust::HDGaussian_AjkBkQD_, STK::Clust::HDGaussian_AjkBkQDk_, STK::Clust::HDGaussian_AjkBkQkD_, STK::Clust::HDGaussian_AjkBkQkDk_, STK::Clust::HDGaussian_AjkBQD_, STK::Clust::HDGaussian_AjkBQDk_, STK::Clust::HDGaussian_AjkBQkD_, STK::Clust::HDGaussian_AjkBQkDk_, STK::Clust::HDGaussian_AkBkQD_, STK::Clust::HDGaussian_AkBkQDk_, STK::Clust::HDGaussian_AkBkQkD_, STK::Clust::HDGaussian_AkBkQkDk_, STK::Clust::HDGaussian_AkBQD_, STK::Clust::HDGaussian_AkBQDk_, STK::Clust::HDGaussian_AkBQkD_, STK::Clust::HDGaussian_AkBQkDk_, STK::Clust::Kmm_, STK::Clust::Kmm_s_, STK::Clust::Kmm_sk_, STK::Clust::Poisson_, STK::Clust::Poisson_ljk_, STK::Clust::Poisson_ljlk_, STK::Clust::Poisson_lk_, STK::Clust::unknown_mixture_, and STK::Clust::unknown_mixture_class_.
Referenced by STK::MixtureComposerFacade< DataHandler_ >::getParameters(), and STK::MixtureComposerFacade< DataHandler_ >::setParameters().
convert a Mixture to a String.
type | the type of Mixture we want to convert |
Definition at line 453 of file STK_Clust_Util.cpp.
References _T, STK::Clust::Categorical_pjk_, STK::Clust::Categorical_pk_, STK::Clust::Gamma_a_bjk_, STK::Clust::Gamma_a_bk_, STK::Clust::Gamma_aj_bjk_, STK::Clust::Gamma_aj_bk_, STK::Clust::Gamma_ajk_b_, STK::Clust::Gamma_ajk_bj_, STK::Clust::Gamma_ajk_bjk_, STK::Clust::Gamma_ajk_bk_, STK::Clust::Gamma_ak_b_, STK::Clust::Gamma_ak_bj_, STK::Clust::Gamma_ak_bjk_, STK::Clust::Gamma_ak_bk_, STK::Clust::Gaussian_s_, STK::Clust::Gaussian_sj_, STK::Clust::Gaussian_sjk_, STK::Clust::Gaussian_sjsk_, STK::Clust::Gaussian_sk_, STK::Clust::HDGaussian_ABkQD_, STK::Clust::HDGaussian_ABkQDk_, STK::Clust::HDGaussian_ABkQkD_, STK::Clust::HDGaussian_ABkQkDk_, STK::Clust::HDGaussian_ABQD_, STK::Clust::HDGaussian_ABQkD_, STK::Clust::HDGaussian_ABQkDk_, STK::Clust::HDGaussian_AjBkQD_, STK::Clust::HDGaussian_AjBkQDk_, STK::Clust::HDGaussian_AjBkQkD_, STK::Clust::HDGaussian_AjBkQkDk_, STK::Clust::HDGaussian_AjBQkD_, STK::Clust::HDGaussian_AjBQkDk_, STK::Clust::HDGaussian_AjkBkQD_, STK::Clust::HDGaussian_AjkBkQDk_, STK::Clust::HDGaussian_AjkBkQkD_, STK::Clust::HDGaussian_AjkBkQkDk_, STK::Clust::HDGaussian_AjkBQD_, STK::Clust::HDGaussian_AjkBQDk_, STK::Clust::HDGaussian_AjkBQkD_, STK::Clust::HDGaussian_AjkBQkDk_, STK::Clust::HDGaussian_AkBkQD_, STK::Clust::HDGaussian_AkBkQDk_, STK::Clust::HDGaussian_AkBkQkD_, STK::Clust::HDGaussian_AkBkQkDk_, STK::Clust::HDGaussian_AkBQD_, STK::Clust::HDGaussian_AkBQDk_, STK::Clust::HDGaussian_AkBQkD_, STK::Clust::HDGaussian_AkBQkDk_, STK::Clust::Kmm_s_, STK::Clust::Kmm_sk_, STK::Clust::Poisson_ljk_, STK::Clust::Poisson_ljlk_, and STK::Clust::Poisson_lk_.
convert a Mixture to a string specifying if the model is with free proportions.
type | the Mixture we want to convert |
freeProp | true if the model have free proportions, false otherwise. |
type
. Definition at line 519 of file STK_Clust_Util.cpp.
References _T, STK::Clust::Categorical_pjk_, STK::Clust::Categorical_pk_, STK::Clust::Gamma_a_bjk_, STK::Clust::Gamma_a_bk_, STK::Clust::Gamma_aj_bjk_, STK::Clust::Gamma_aj_bk_, STK::Clust::Gamma_ajk_b_, STK::Clust::Gamma_ajk_bj_, STK::Clust::Gamma_ajk_bjk_, STK::Clust::Gamma_ajk_bk_, STK::Clust::Gamma_ak_b_, STK::Clust::Gamma_ak_bj_, STK::Clust::Gamma_ak_bjk_, STK::Clust::Gamma_ak_bk_, STK::Clust::Gaussian_s_, STK::Clust::Gaussian_sj_, STK::Clust::Gaussian_sjk_, STK::Clust::Gaussian_sjsk_, STK::Clust::Gaussian_sk_, STK::Clust::HDGaussian_ABkQD_, STK::Clust::HDGaussian_ABkQDk_, STK::Clust::HDGaussian_ABkQkD_, STK::Clust::HDGaussian_ABkQkDk_, STK::Clust::HDGaussian_ABQD_, STK::Clust::HDGaussian_ABQkD_, STK::Clust::HDGaussian_ABQkDk_, STK::Clust::HDGaussian_AjBkQD_, STK::Clust::HDGaussian_AjBkQDk_, STK::Clust::HDGaussian_AjBkQkD_, STK::Clust::HDGaussian_AjBkQkDk_, STK::Clust::HDGaussian_AjBQkD_, STK::Clust::HDGaussian_AjBQkDk_, STK::Clust::HDGaussian_AjkBkQD_, STK::Clust::HDGaussian_AjkBkQDk_, STK::Clust::HDGaussian_AjkBkQkD_, STK::Clust::HDGaussian_AjkBkQkDk_, STK::Clust::HDGaussian_AjkBQD_, STK::Clust::HDGaussian_AjkBQDk_, STK::Clust::HDGaussian_AjkBQkD_, STK::Clust::HDGaussian_AjkBQkDk_, STK::Clust::HDGaussian_AkBkQD_, STK::Clust::HDGaussian_AkBkQDk_, STK::Clust::HDGaussian_AkBkQkD_, STK::Clust::HDGaussian_AkBkQkDk_, STK::Clust::HDGaussian_AkBQD_, STK::Clust::HDGaussian_AkBQDk_, STK::Clust::HDGaussian_AkBQkD_, STK::Clust::HDGaussian_AkBQkDk_, STK::Clust::Kmm_s_, STK::Clust::Kmm_sk_, STK::Clust::Poisson_ljk_, STK::Clust::Poisson_ljlk_, and STK::Clust::Poisson_lk_.
Convert a String to an algoType.
The recognized strings are
Algorithm |
---|
"emAlgo" |
"cemAlgo" |
"semAlgo" |
"semiSemAlgo" |
"em" |
"cem" |
"sem" |
"semiSem" |
type | the type of algorithm wanted |
Definition at line 93 of file STK_Clust_Util.cpp.
References _T, STK::Clust::cemAlgo_, STK::Clust::emAlgo_, STK::Clust::semAlgo_, STK::Clust::semiSemAlgo_, and STK::toUpperString().
criterionType STK::Clust::stringToCriterion | ( | String const & | type | ) |
Convert a String to an criterionType.
The recognized strings are
Criterion |
---|
"AIC" |
"BIC" |
"ICL </td></tr> <tr> <td> "ML" |
type | the type of criterion wanted |
Definition at line 164 of file STK_Clust_Util.cpp.
References _T, STK::Clust::aic_, STK::Clust::bic_, STK::Clust::icl_, STK::Clust::ml_, and STK::toUpperString().
Referenced by STK::Clust::createCriterion().
Convert a String to a initType.
The recognized strings are
Initialization |
---|
"randomInit" (DEPECATED) |
"randomParamInit" |
"randomClassInit" |
"randomFuzzyInit" |
"random" |
"class" |
"fuzzy" |
type | the type of initialization wanted |
Definition at line 65 of file STK_Clust_Util.cpp.
References _T, STK::Clust::randomClassInit_, STK::Clust::randomFuzzyInit_, STK::Clust::randomParamInit_, and STK::toUpperString().
algoLearnType STK::Clust::stringToLearnAlgo | ( | String const & | type | ) |
Convert a String to an algoLearnType.
The recognized strings are
Algorithm |
---|
"imputeAlgo" |
"simulAlgo" |
"impute" |
"simul" |
type | the type of algorithm wanted |
Definition at line 139 of file STK_Clust_Util.cpp.
References _T, STK::Clust::imputeAlgo_, STK::Clust::simulAlgo_, and STK::toUpperString().
Convert a String to a Mixture.
The recognized strings are
Model |
---|
"Gamma_Ajkbjk" |
"Gamma_Ajkbk" |
"Gamma_Ajkbj" |
"Gamma_Ajkb" |
"Gamma_ak_bjk" |
"Gamma_ak_bk" |
"Gamma_ak_bj" |
"Gamma_ak_b" |
"Gamma_aj_bjk" |
"Gamma_aj_bk" |
"Gamma_a_bjk" |
"Gamma_a_bk" |
"Gaussian_sjk" |
"Gaussian_sk" |
"Gaussian_sj" |
"Gaussian_s" |
"Gaussian_sjsk" |
"HDGaussian_AjkBkQkDk" |
"HDGaussian_AjkBkQkD" |
"HDGaussian_AjkBkQdk" |
"HDGaussian_AjkBkQd" |
"HDGaussian_AjkBQkDk" |
"HDGaussian_AjkBQkD" |
"HDGaussian_AjkBQdk" |
"HDGaussian_AjkBQd" |
"HDGaussian_AkBkQkDk" |
"HDGaussian_AkBkQkD" |
"HDGaussian_AkBkQdk" |
"HDGaussian_AkBkQd" |
"HDGaussian_AkBQkDk" |
"HDGaussian_AkBQkD" |
"HDGaussian_AkBQdk" |
"HDGaussian_AkBQd" |
"HDGaussian_AjBkQkDk" |
"HDGaussian_AjBkQkD" |
"HDGaussian_AjBkQdk" |
"HDGaussian_AjBkQd" |
"HDGaussian_AjBQkDk" |
"HDGaussian_AjBQkD" |
"HDGaussian_ABkQkDk" |
"HDGaussian_ABkQkD" |
"HDGaussian_ABkQdk" |
"HDGaussian_ABkQd," |
"HDGaussian_ABQkDk" |
"HDGaussian_ABQkD" |
"HDGaussian_ABQD" |
"Categorical_pjk" |
"Categorical_pk" |
"Poisson_ljk" |
"Poisson_lk" |
"Poisson_ljlk" |
"Kmm_sk" |
"Kmm_s" |
type | the String we want to convert |
type
. if the string does not match any known name, the unknown_mixture_
type is returned. Definition at line 263 of file STK_Clust_Util.cpp.
References _T, STK::Clust::Categorical_pjk_, STK::Clust::Categorical_pk_, STK::Clust::Gamma_a_bjk_, STK::Clust::Gamma_a_bk_, STK::Clust::Gamma_aj_bjk_, STK::Clust::Gamma_aj_bk_, STK::Clust::Gamma_ajk_b_, STK::Clust::Gamma_ajk_bj_, STK::Clust::Gamma_ajk_bjk_, STK::Clust::Gamma_ajk_bk_, STK::Clust::Gamma_ak_b_, STK::Clust::Gamma_ak_bj_, STK::Clust::Gamma_ak_bjk_, STK::Clust::Gamma_ak_bk_, STK::Clust::Gaussian_s_, STK::Clust::Gaussian_sj_, STK::Clust::Gaussian_sjk_, STK::Clust::Gaussian_sjsk_, STK::Clust::Gaussian_sk_, STK::Clust::HDGaussian_ABkQD_, STK::Clust::HDGaussian_ABkQDk_, STK::Clust::HDGaussian_ABkQkD_, STK::Clust::HDGaussian_ABkQkDk_, STK::Clust::HDGaussian_ABQD_, STK::Clust::HDGaussian_ABQkD_, STK::Clust::HDGaussian_ABQkDk_, STK::Clust::HDGaussian_AjBkQD_, STK::Clust::HDGaussian_AjBkQDk_, STK::Clust::HDGaussian_AjBkQkD_, STK::Clust::HDGaussian_AjBkQkDk_, STK::Clust::HDGaussian_AjBQkD_, STK::Clust::HDGaussian_AjBQkDk_, STK::Clust::HDGaussian_AjkBkQD_, STK::Clust::HDGaussian_AjkBkQDk_, STK::Clust::HDGaussian_AjkBkQkD_, STK::Clust::HDGaussian_AjkBkQkDk_, STK::Clust::HDGaussian_AjkBQD_, STK::Clust::HDGaussian_AjkBQDk_, STK::Clust::HDGaussian_AjkBQkD_, STK::Clust::HDGaussian_AjkBQkDk_, STK::Clust::HDGaussian_AkBkQD_, STK::Clust::HDGaussian_AkBkQDk_, STK::Clust::HDGaussian_AkBkQkD_, STK::Clust::HDGaussian_AkBkQkDk_, STK::Clust::HDGaussian_AkBQD_, STK::Clust::HDGaussian_AkBQDk_, STK::Clust::HDGaussian_AkBQkD_, STK::Clust::HDGaussian_AkBQkDk_, STK::Clust::Kmm_s_, STK::Clust::Kmm_sk_, STK::Clust::Poisson_ljk_, STK::Clust::Poisson_ljlk_, STK::Clust::Poisson_lk_, stk_cout, STK::Clust::stringToMixture(), STK::toUpperString(), and STK::Clust::unknown_mixture_.
Referenced by STK::CategoricalMixtureManager< DataHandler >::createMixtureImpl(), STK::DiagGaussianMixtureManager< DataHandler >::createMixtureImpl(), STK::GammaMixtureManager< DataHandler >::createMixtureImpl(), STK::KernelMixtureManager::createMixtureImpl(), STK::PoissonMixtureManager< DataHandler >::createMixtureImpl(), STK::IMixtureManager< Derived >::getIdModel(), STK::MixtureComposerFacade< DataHandler_ >::getParameters(), STK::MixtureComposerFacade< DataHandler_ >::setParameters(), and STK::Clust::stringToMixture().
convert a string to a Mixture and specify if the model is with free proportions or fixed proportions.
The recognized strings are
Free proportions | Fixed Proportions |
---|---|
"Gamma_pk_ajk_bjk" | "Gamma_p_ajk_bjk" |
"Gamma_pk_ajk_bk" | "Gamma_p_ajk_bk" |
"Gamma_pk_ajk_bj" | "Gamma_p_ajk_bj" |
"Gamma_pk_ajk_b" | "Gamma_p_ajk_b" |
"Gamma_pk_ak_bjk" | "Gamma_p_ak_bjk" |
"Gamma_pk_ak_bk" | "Gamma_p_ak_bk" |
"Gamma_pk_ak_bj" | "Gamma_p_ak_bj" |
"Gamma_pk_ak_b" | "Gamma_p_ak_b" |
"Gamma_pk_aj_bjk" | "Gamma_p_aj_bjk" |
"Gamma_pk_aj_bk" | "Gamma_p_aj_bk" |
"Gamma_pk_a_bjk" | "Gamma_p_a_bjk" |
"Gamma_pk_a_bk" | "Gamma_p_a_bk" |
"Gaussian_pk_sjk" | "Gaussian_p_sjk" |
"Gaussian_pk_sk" | "Gaussian_p_sk" |
"Gaussian_pk_sj" | "Gaussian_p_sj" |
"Gaussian_pk_s" | "Gaussian_p_s" |
"Gaussian_pk_sjsk" | "Gaussian_p_sjsk" |
"HDGaussian_pk_AjkBkQkDk" | "HDGaussian_p_AjkBkQkDk" |
"HDGaussian_pk_AjkBkQkD" | "HDGaussian_p_AjkBkQkD" |
"HDGaussian_pk_AjkBkQdk" | "HDGaussian_p_AjkBkQdk" |
"HDGaussian_pk_AjkBkQd" | "HDGaussian_p_AjkBkQd" |
"HDGaussian_pk_AjkBQkDk" | "HDGaussian_p_AjkBQkDk" |
"HDGaussian_pk_AjkBQkD" | "HDGaussian_p_AjkBQkD" |
"HDGaussian_pk_AjkBQdk" | "HDGaussian_p_AjkBQdk" |
"HDGaussian_pk_AjkBQd" | "HDGaussian_p_AjkBQd" |
"HDGaussian_pk_AkBkQkDk" | "HDGaussian_p_AkBkQkDk" |
"HDGaussian_pk_AkBkQkD" | "HDGaussian_p_AkBkQkD" |
"HDGaussian_pk_AkBkQdk" | "HDGaussian_p_AkBkQdk" |
"HDGaussian_pk_AkBkQd" | "HDGaussian_p_AkBkQd" |
"HDGaussian_pk_AkBQkDk" | "HDGaussian_p_AkBQkDk" |
"HDGaussian_pk_AkBQkD" | "HDGaussian_p_AkBQkD" |
"HDGaussian_pk_AkBQdk" | "HDGaussian_p_AkBQdk" |
"HDGaussian_pk_AkBQd" | "HDGaussian_p_AkBQd" |
"HDGaussian_pk_AjBkQkDk" | "HDGaussian_p_AjBkQkDk" |
"HDGaussian_pk_AjBkQkD" | "HDGaussian_p_AjBkQkD" |
"HDGaussian_pk_AjBkQdk" | "HDGaussian_p_AjBkQdk" |
"HDGaussian_pk_AjBkQd" | "HDGaussian_p_AjBkQd" |
"HDGaussian_pk_AjBQkDk" | "HDGaussian_p_AjBQkDk" |
"HDGaussian_pk_AjBQkD" | "HDGaussian_p_AjBQkD" |
"HDGaussian_pk_ABkQkDk" | "HDGaussian_p_ABkQkDk" |
"HDGaussian_pk_ABkQkD" | "HDGaussian_p_ABkQkD" |
"HDGaussian_pk_ABkQdk" | "HDGaussian_p_ABkQdk" |
"HDGaussian_pk_ABkQd," | "HDGaussian_p_ABkQd," |
"HDGaussian_pk_ABQkDk" | "HDGaussian_p_ABQkDk" |
"HDGaussian_pk_ABQkD" | "HDGaussian_p_ABQkD" |
"HDGaussian_pk_ABQD" | "HDGaussian_p_ABQD" |
"Categorical_pk_pjk" | "Categorical_p_pjk" |
"Categorical_pk_pk" | "Categorical_p_pk" |
"Poisson_pk_ljk" | "Poisson_p_ljk" |
"Poisson_pk_lk" | "Poisson_p_lk" |
"Poisson_pk_ljlk" | "Poisson_p_ljlk" |
"Kmm_pk_sk" | "Kmm_p_sk" |
"Kmm_pk_s" | "Kmm_p_s" |
type | the String we want to convert | |
[out] | freeProp | true if the model have free proportions, false otherwise. |
type
. if the string does not match any known name, the unknown_mixture_
type is returned. Definition at line 333 of file STK_Clust_Util.cpp.
References _T, STK::Clust::Categorical_pjk_, STK::Clust::Categorical_pk_, STK::Clust::Gamma_a_bjk_, STK::Clust::Gamma_a_bk_, STK::Clust::Gamma_aj_bjk_, STK::Clust::Gamma_aj_bk_, STK::Clust::Gamma_ajk_b_, STK::Clust::Gamma_ajk_bj_, STK::Clust::Gamma_ajk_bjk_, STK::Clust::Gamma_ajk_bk_, STK::Clust::Gamma_ak_b_, STK::Clust::Gamma_ak_bj_, STK::Clust::Gamma_ak_bjk_, STK::Clust::Gamma_ak_bk_, STK::Clust::Gaussian_s_, STK::Clust::Gaussian_sj_, STK::Clust::Gaussian_sjk_, STK::Clust::Gaussian_sjsk_, STK::Clust::Gaussian_sk_, STK::Clust::HDGaussian_ABkQD_, STK::Clust::HDGaussian_ABkQDk_, STK::Clust::HDGaussian_ABkQkD_, STK::Clust::HDGaussian_ABkQkDk_, STK::Clust::HDGaussian_ABQD_, STK::Clust::HDGaussian_ABQkD_, STK::Clust::HDGaussian_ABQkDk_, STK::Clust::HDGaussian_AjBkQD_, STK::Clust::HDGaussian_AjBkQDk_, STK::Clust::HDGaussian_AjBkQkD_, STK::Clust::HDGaussian_AjBkQkDk_, STK::Clust::HDGaussian_AjBQkD_, STK::Clust::HDGaussian_AjBQkDk_, STK::Clust::HDGaussian_AjkBkQD_, STK::Clust::HDGaussian_AjkBkQDk_, STK::Clust::HDGaussian_AjkBkQkD_, STK::Clust::HDGaussian_AjkBkQkDk_, STK::Clust::HDGaussian_AjkBQD_, STK::Clust::HDGaussian_AjkBQDk_, STK::Clust::HDGaussian_AjkBQkD_, STK::Clust::HDGaussian_AjkBQkDk_, STK::Clust::HDGaussian_AkBkQD_, STK::Clust::HDGaussian_AkBkQDk_, STK::Clust::HDGaussian_AkBkQkD_, STK::Clust::HDGaussian_AkBkQkDk_, STK::Clust::HDGaussian_AkBQD_, STK::Clust::HDGaussian_AkBQDk_, STK::Clust::HDGaussian_AkBQkD_, STK::Clust::HDGaussian_AkBQkDk_, STK::Clust::Kmm_s_, STK::Clust::Kmm_sk_, STK::Clust::Poisson_ljk_, STK::Clust::Poisson_ljlk_, STK::Clust::Poisson_lk_, stk_cout, STK::toUpperString(), and STK::Clust::unknown_mixture_.
algoPredictType STK::Clust::stringToPredictAlgo | ( | String const & | type | ) |
Convert a String to an algoPredictType.
The recognized strings are
Algorithm |
---|
"em" |
"semiSem" |
type | the type of algorithm wanted |
Definition at line 118 of file STK_Clust_Util.cpp.
References _T, STK::Clust::emPredictAlgo_, STK::Clust::semiSEMPredictAlgo_, and STK::toUpperString().
const Clust::algoType STK::Clust::defaultAlgoInInit = emAlgo_ |
Default algorithm type in initialization.
Definition at line 857 of file STK_Clust_Util.h.
const Clust::algoType STK::Clust::defaultAlgoLongRun = emAlgo_ |
Default algorithm type in long run.
Definition at line 877 of file STK_Clust_Util.h.
const Clust::algoType STK::Clust::defaultAlgoShortRun = emAlgo_ |
Default algorithm type in short run.
Definition at line 867 of file STK_Clust_Util.h.
Default epsilon in the short runs (used in strategy)
Definition at line 863 of file STK_Clust_Util.h.
Default epsilon in the long run (used in strategy)
Definition at line 883 of file STK_Clust_Util.h.
Default epsilon in the short runs (used in strategy)
Definition at line 873 of file STK_Clust_Util.h.
const Clust::initType STK::Clust::defaultInitType = randomFuzzyInit_ |
Default algorithm type in short run.
Definition at line 851 of file STK_Clust_Util.h.
Default number of iterations in the long run (used in FullStrategy)
Definition at line 880 of file STK_Clust_Util.h.
Default number of iterations in the short runs (used in FullStrategy)
Definition at line 870 of file STK_Clust_Util.h.
Default number of initializations to perform.
Definition at line 854 of file STK_Clust_Util.h.
Default number of iteration in an initialization algorithm.
Definition at line 860 of file STK_Clust_Util.h.
Default number of try in an estimation strategy.
Definition at line 847 of file STK_Clust_Util.h.