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)
 Constructor.
 
 GaussianSphericalParameter (const GaussianSphericalParameter *iParameter)
 Constructor (copy)
 
virtual ~GaussianSphericalParameter ()
 Destructor.
 
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)
 Constructor.
 
 GaussianEDDAParameter (int64_t iNbCluster, int64_t iPbDimension, ModelType *iModelType)
 Constructor.
 
 GaussianEDDAParameter (const GaussianEDDAParameter *iParameter)
 Constructor.
 
virtual ~GaussianEDDAParameter ()
 Destructor.
 
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)
 Edit.
 
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)
 input
 
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)
 Constructor.
 
 GaussianParameter (int64_t iNbCluster, int64_t iPbDimension, ModelType *iModelType)
 Constructor.
 
 GaussianParameter (const GaussianParameter *iParameter)
 Constructor.
 
virtual ~GaussianParameter ()
 Destructor.
 
virtual bool operator== (const GaussianParameter &param) const
 Comparison operator.
 
double ** getTabMean () const
 get TabMean
 
void computeGlobalDiagDataVariance (DiagMatrix *matrixDiagDataVar)
 computeDiagGlobalDataVariance
 
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)
 Constructor.
 
 Parameter (Model *iModel, ModelType *iModelType)
 Constructor.
 
 Parameter (const Parameter *iParameter)
 Constructor ccopy)
 
virtual ~Parameter ()
 Destructor.
 
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
 getFreeProportion
 
ModelgetModel () const
 getModel
 
ModelTypegetModelType () const
 getModelType
 
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
 getFilename
 
void setFilename (const std::string &filename)
 setFilename
 
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)

Author
F Langrognet

Member Function Documentation

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

Selector.

Returns
A copy of the model

Implements XEM::GaussianEDDAParameter.

Here is the call graph for this function:

int64_t XEM::GaussianSphericalParameter::getFreeParameter ( ) const
virtual

Selector.

Returns
The number of free parameters

Implements XEM::GaussianEDDAParameter.


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