mixmod  3.2.0
Mixture models for clustering and classification
 All Classes Namespaces Files Functions Variables Enumerations Friends
XEM::GaussianSphericalParameter Class Reference

Derived class of XEMGaussianParameter for Spherical Gaussian Model(s) More...

#include <GaussianSphericalParameter.h>

Inheritance diagram for XEM::GaussianSphericalParameter:
Collaboration diagram for XEM::GaussianSphericalParameter:

Public Member Functions

 GaussianSphericalParameter ()
 Default constructor.
 GaussianSphericalParameter (Model *iModel, ModelType *iModelType)
 GaussianSphericalParameter (const GaussianSphericalParameter *iParameter)
 Constructor (copy)
virtual ~GaussianSphericalParameter ()
Parameterclone () const
 Selector. More...
void initUSER (Parameter *iParam)
 initialisation USER
void computeTabSigma ()
 Compute table of sigmas of the samples of each cluster.
double getLogLikelihoodOne () const
 get loglikelihood with one cluster
int64_t getFreeParameter () const
 Selector. More...
- Public Member Functions inherited from XEM::GaussianEDDAParameter
 GaussianEDDAParameter ()
 Default constructor.
 GaussianEDDAParameter (Model *iModel, ModelType *iModelType)
 GaussianEDDAParameter (int64_t iNbCluster, int64_t iPbDimension, ModelType *iModelType)
 GaussianEDDAParameter (const GaussianEDDAParameter *iParameter)
virtual ~GaussianEDDAParameter ()
virtual bool operator== (const GaussianEDDAParameter &param) const
 Comparison operator.
virtual void reset ()
 reset to default values
double * getTabInvSqrtDetSigma () const
 Selector. More...
Matrix ** getTabInvSigma () const
 Selector. More...
Matrix ** getTabSigma () const
 Selector. More...
double getPdf (int64_t iSample, int64_t kCluster) const
void getAllPdf (double **tabFik, double *tabProportion) const
double getPdf (Sample *x, int64_t kCluster) const
void updateTabInvSigmaAndDet ()
void computeTikUnderflow (int64_t i, double **tabTik)
 compute Tik for xi (i=0 -> _nbSample-1) when underflow
void edit ()
void edit (std::ofstream &oFile, bool text=false)
void recopy (Parameter *otherParameter)
 recopie sans faire construction / destruction
void updateForCV (Model *originalModel, CVBlock &CVBlock)
void MStep ()
 Maximization step method.
void MAPStep ()
virtual void input (std::ifstream &fi)
virtual void input (double *proportions, double **means, double ***variances)
void initForInitRANDOM ()
 initialize attributes before an initRANDOM
void initForInitUSER_PARTITION (int64_t &nbInitializedCluster, bool *tabNotInitializedCluster, Partition *initPartition)
- Public Member Functions inherited from XEM::GaussianParameter
 GaussianParameter ()
 Default constructor.
 GaussianParameter (Model *iModel, ModelType *iModelType)
 GaussianParameter (int64_t iNbCluster, int64_t iPbDimension, ModelType *iModelType)
 GaussianParameter (const GaussianParameter *iParameter)
virtual ~GaussianParameter ()
virtual bool operator== (const GaussianParameter &param) const
 Comparison operator.
double ** getTabMean () const
 get TabMean
void computeGlobalDiagDataVariance (DiagMatrix *matrixDiagDataVar)
virtual void computeTabWkW ()
 Compute table of cluster scattering matrices Wk and W.
int64_t computeClassAssigment (int64_t idxSample)
 compute label of idxSample
void computeTabMean ()
 Compute table of means of the samples for each cluster.
void computeTabMeanInitUSER_PARTITION (int64_t &nbInitializedCluster, bool *tabNotInitializedCluster, Partition *initPartition)
void MAPStep ()
 Maximum a posteriori step method.
Matrix ** getTabWk () const
 get TabSigma More...
MatrixgetW () const
 Selector. More...
void updateForInitRANDOMorUSER_PARTITION (Sample **tabSampleForInit, bool *tabClusterToInitialize)
- Public Member Functions inherited from XEM::Parameter
 Parameter ()
 Default constructor.
 Parameter (int64_t iNbCluster, int64_t iPbDimension, ModelType *iModelType)
 Parameter (Model *iModel, ModelType *iModelType)
 Parameter (const Parameter *iParameter)
 Constructor ccopy)
virtual ~Parameter ()
virtual GaussianParametergetGaussianParameter ()
virtual BinaryParametergetBinaryParameter ()
virtual bool operator== (const Parameter &param) const
 Comparison operator.
void computeTabProportion ()
int64_t generateRandomIndex (bool *tabIndividualCanBeUsedForInitRandom, double *weight, double totalWeight)
double * getTabProportion () const
 get TabProportion
int64_t getNbCluster () const
 get nbCluster
int64_t getPbDimension () const
 get pbDimension
bool getFreeProportion () const
ModelgetModel () const
ModelTypegetModelType () const
virtual void setModel (Model *iModel)
 setModel , made it virtual so that composite paramter class can override it.
void setModelType (ModelType *iModeltype)
 set modeltype
const std::string & getFilename () const
void setFilename (const std::string &filename)
FormatNumeric::FormatNumericFile getFormat () const
 get Format
void setFormat (const FormatNumeric::FormatNumericFile format)
 set FormatNumeric

Additional Inherited Members

- Protected Member Functions inherited from XEM::GaussianParameter
void initFreeProportion (ModelType *iModelType)
void computeMeanOne (double *Mean, double *weight, double **y_Store, int64_t nbSample, double totalWeight) const
void putIdentityInDiagonalMatrix (double *mat_store)
void putIdentityInMatrix (double *mat_store)
void initDiagonalMatrixToZero (double *A_store)
double determinantDiag (double *mat_store, Exception &errorType)

Detailed Description

Derived class of XEMGaussianParameter for Spherical Gaussian Model(s)

F Langrognet

Member Function Documentation

Parameter * XEM::GaussianSphericalParameter::clone ( ) const


A copy of the model

Implements XEM::GaussianEDDAParameter.

Here is the call graph for this function:

int64_t XEM::GaussianSphericalParameter::getFreeParameter ( ) const


The number of free parameters

Implements XEM::GaussianEDDAParameter.

The documentation for this class was generated from the following files: