Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

HighDim_Normal_Mix Class Reference

A class representing a highdimensional Gaussian IID mixture. More...

#include <HighDim_Normal_Mix.hpp>

Inheritance diagram for HighDim_Normal_Mix:

IID_Mixture Seg_Model List of all members.

Public Methods

 HighDim_Normal_Mix ()
 Default constructor.

 HighDim_Normal_Mix (uint k, uint dim)
 Detailed constructor.

 HighDim_Normal_Mix (uint k, vector< HighDim_Normal * > const &gauss)
 Detailed constructor.

 ~HighDim_Normal_Mix ()
 Destructor.

void DeleteAll ()
 Free all used memory.

uint Get_D ()
 Get the dimension.

uint Degrees_Of_Freedom ()
 number of free parameters

void Simulate (uint N, Data *dat)
 Simulate.

double Density (vector< double > const &X, uint k)
 Compute the density.

void Update_Gaussians (Spatial_Data *spatd, vector< double > const &tik)
 Update gaussians.

void ReadFromFile (string filename)
 read from a file

void WriteToFile (string filename)
 save in a file

void Info ()
 Get some info.

void EM_E (Spatial_Data *spatd, vector< double > &tik)
 Step E of the EM algorithm.

void EM_M (Spatial_Data *spatd, vector< double > const &tik)
 Step M of the EM algorithm.

void NEM_E (Spatial_Data *spatd, vector< double > const &beta, vector< double > &tik)
 Step E of the NEM algorithm.

void NEM_M (Spatial_Data *spatd, vector< double > const &tik)
 Step M of the NEM algorithm.


Detailed Description

Author:
Juliette Blanchet
Date:
Oct. 2005


Constructor & Destructor Documentation

HighDim_Normal_Mix::HighDim_Normal_Mix  
 

Default constructor

HighDim_Normal_Mix::HighDim_Normal_Mix uint    k,
uint    dim
 

Detailed constructor

HighDim_Normal_Mix::HighDim_Normal_Mix uint    k,
vector< HighDim_Normal * > const &    gauss
 

Detailed constructor

HighDim_Normal_Mix::~HighDim_Normal_Mix  
 

Destructor


Member Function Documentation

uint HighDim_Normal_Mix::Degrees_Of_Freedom   [virtual]
 

Number of free parameters ... useful for model selection.

Reimplemented from Seg_Model.

void HighDim_Normal_Mix::DeleteAll  
 

Free all memory used by the object.

double HighDim_Normal_Mix::Density vector< double > const &    X,
uint    k
[virtual]
 

Compute density at X in the class k, i.e. , f(X | mu_k, sigma_k)

Reimplemented from IID_Mixture.

void HighDim_Normal_Mix::EM_E Spatial_Data   spatd,
vector< double > &    tik
[virtual]
 

Step E of the EM algorithm

Reimplemented from IID_Mixture.

void HighDim_Normal_Mix::EM_M Spatial_Data   spatd,
vector< double > const &    tik
[virtual]
 

Step M of the EM algorithm

Reimplemented from IID_Mixture.

uint HighDim_Normal_Mix::Get_D  
 

Get the dimension

void HighDim_Normal_Mix::NEM_E Spatial_Data   spatd,
vector< double > const &    beta,
vector< double > &    tik
[virtual]
 

Step E of the NEM algorithm

Reimplemented from IID_Mixture.

void HighDim_Normal_Mix::NEM_M Spatial_Data   spatd,
vector< double > const &    tik
[virtual]
 

Step M of the NEM algorithm

Reimplemented from IID_Mixture.

void HighDim_Normal_Mix::ReadFromFile string    filename
 

read from a file

file format details :

void HighDim_Normal_Mix::Simulate uint    N,
Data   dat
 

Simulation procedure.

void HighDim_Normal_Mix::Update_Gaussians Spatial_Data   spatd,
vector< double > const &    tik
 

Update gaussians

void HighDim_Normal_Mix::WriteToFile string    filename
 

save in a file


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 14:55:54 2005 for NEM by doxygen1.2.18