#include <Mixture_Algo.hpp>
Inheritance diagram for Mixture_Algorithm:
Public Member Functions | |
virtual | ~Mixture_Algorithm () |
Destructor. | |
uint | Get_N () |
Get the number of points. | |
uint | Get_K () |
Get the number of classes. | |
void | Info () |
Display info. | |
void | Run (uint nbiter) |
Run algo. | |
void | E_Step () |
E-step. | |
void | M_Step () |
M_Step. | |
void | Compute_MAP_Labels (vector< uint > &Labels) |
Compute MAP labels. | |
void | Init_Labels (vector< uint > labs) |
Initialize with labels. | |
void | Init_KMeans () |
Initialize with kmeans. | |
void | Init_Random () |
Init the algorithm at random. | |
void | Write_fuzzy (string filename) |
Write the fuzzy classification in a file. | |
virtual void | Compute_fuzzy (uint i, vector< double > &probs) |
Compute fuzzy classification. | |
void | Compute_CLCrit () |
Completed likelihood criterion. | |
void | Compute_FuzzyCrit () |
Fuzzy classification criterion. | |
void | Compute_HardCrit () |
Hard classification criterion. | |
Protected Member Functions | |
void | Update_Density () |
Update log-density. | |
Protected Attributes | |
Spatial_Data * | SpatData |
Data used to estimate the model. | |
IID_Mixture * | Model |
Model on which we will apply the algorithm. | |
vector< double > | logdens |
Log density. |
|
Initialize the model using K-means algorithm labels. |