49class IMixtureStatModel;
173#ifdef STK_MIXTURE_DEBUG
174 stk_cout<<
_T(
"You need to override this method in your mixture!");
In this file we implement the final class CArrayNumber.
In this file we implement the final class CArrayPoint.
In this file we implement the final class CArrayVector.
In this file we implement the final class CArray.
#define stk_cout
Standard stk output stream.
#define _T(x)
Let x unmodified.
Interface base class for Mixture (composed) model.
Interface base class for all the mixture models that will be processed by the composer.
CPointX const * p_pk() const
This function can be used in derived classes to get estimated number of individuals from the framewor...
virtual int nbMissingValues() const =0
This function must return the number of missing value in data set identified by idData_.
virtual Real lnComponentProbability(int sample_num, int Cluster_num)=0
This function must be defined to return the posterior probability (PDF) for corresponding sample_num ...
virtual void paramUpdateStep()=0
This function is equivalent to mStep and must be defined to update parameters.
virtual void setParametersStep()
set the parameters of the model.
const IMixtureStatModel * p_composer_
pointer on the main composer model
virtual int nbFreeParameter() const =0
This function must return the number of free parameters.
virtual IMixture * create() const =0
This is a standard create function in usual sense.
CPointX const * p_tk() const
This function can be used in derived classes to get proportions from the framework.
String idData_
Id name of the mixture.
virtual void randomInit()=0
This function should be used in order to initialize randomly the parameters of the mixture.
CVectorXi const * p_zi() const
This function can be used in derived classes to get class labels from the framework.
virtual void finalizeStep()
This step can be used by developer to finalize any thing.
virtual void initializeStep()=0
This function must be defined in derived class for initialization of the mixture parameters.
virtual IMixture * clone() const =0
This is a standard clone function in usual sense.
virtual ~IMixture()
Virtual destructor.
virtual void releaseIntermediateResults()
This step can be used to signal to the mixtures that they must release the stored results.
IMixtureStatModel const *const p_composer() const
virtual void imputationStep()
This function should be used for Imputation of data.
void setMixtureModel(IMixtureStatModel const *p_composer)
set the mixture composer to the mixture
virtual void writeParameters(std::ostream &out) const
This function can be used to write summary of parameters on to the output stream.
CArrayXX const * p_tik() const
This function can be used in derived classes to get posterior probabilities from the framework.
virtual void storeIntermediateResults(int iteration)
This function should be used to store any intermediate results during various iterations after the bu...
String const & idData() const
int nbCluster() const
This function can be used in derived classes to get number of classes.
int nbSample() const
This function can be used in derived classes to get number of samples.
virtual void samplingStep()
This function must be defined for simulation of all the latent variables and/or missing data excludin...
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
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.