#include <Diag_Normal_Mix.hpp>
Inheritance diagram for Diag_Normal_Mix:
Public Methods | |
Diag_Normal_Mix () | |
Default constructor. | |
Diag_Normal_Mix (uint k, uint dim) | |
Detailed constructor. | |
Diag_Normal_Mix (uint k, vector< Diag_Normal * > const &gauss) | |
Detailed constructor. | |
~Diag_Normal_Mix () | |
Destructor. | |
void | DeleteAll () |
Free all used memory. | |
uint | Get_D () |
Get the dimension. | |
uint | Degrees_Of_Freedom () |
void | Init (Spatial_Data *spatd) |
void | Init_Mclachlan (Spatial_Data *spatd) |
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. |
|
Default constructor |
|
Detailed constructor |
|
Detailed constructor |
|
Destructor |
|
Number of free parameters ... useful for model selection. Reimplemented from Seg_Model. |
|
Free all memory used by the object. |
|
Compute density at X in the class k, i.e. , f(X | mu_k, sigma_k) Reimplemented from IID_Mixture. |
|
Step E of the EM algorithm Reimplemented from IID_Mixture. |
|
Step M of the EM algorithm Reimplemented from IID_Mixture. |
|
Get the dimension |
|
Initialize the mixture based on the dataset. |
|
Initialize the mnixture based on the dataset. Mclachlan method. |
|
Step E of the NEM algorithm Reimplemented from IID_Mixture. |
|
Step M of the NEM algorithm Reimplemented from IID_Mixture. |
|
read from a file file format details : |
|
Simulation procedure. |
|
Update gaussians |
|
save in a file |