|
Public Methods |
virtual | ~DHMRF () |
| Destructor.
|
uint | Get_K () |
| Get the number of classess/colors ...
|
uint | Get_N () |
| Get the number of sites.
|
uint | Get_L () |
| Get the number of possibilities.
|
bool | Check () |
| Check sizes.
|
uint | upper_class (uint k) |
| Get the upper class.
|
virtual double | Density (vector< double > const &X, uint k) |
| Compute the density for subclass k.
|
virtual double | Density (uint i, vector< double > const &xi, uint l) |
| Compute the density for class p, mean-field approximation.
|
virtual double | Density (uint i, vector< double > const &xi, vector< uint > const &z, uint l) |
| Compute the density for class p.
|
double | Likelihood (Spatial_Data *spatd) |
| Likelihood.
|
double | BIC (Spatial_Data *spatd) |
| BIC -- Bayesian Information Criterion.
|
double | ICL (Spatial_Data *spatd) |
| ICL -- Integrated Completed Likelihood.
|
void | Compute_PY_ICM (vector< uint > const &y, vector< uint > const &z, uint i, Spatial_Data *spatd, vector< double > &PG) |
| compute conditional probs given neighborhood labels and observations .
|
void | Compute_PZ_ICM (vector< uint > const &y, vector< uint > const &z, uint i, Spatial_Data *spatd, vector< double > &PG) |
| compute conditional probs given neighborhood labels and observations .
|
void | Compute_P_Y_X (uint i, Spatial_Data *spatd, vector< double > &PG_Y) |
| compute mean-field conditional probs given neighborhood and observations
|
void | Compute_P_Z_X (uint i, Spatial_Data *spatd, vector< double > const &PG_Y, vector< double > &PG_Z) |
| compute mean-field conditional probs given neighborhood and observations
|
void | Compute_PGmf (vector< double > &P_G) |
| compute
, given MF neighborhood
|
void | Compute_tik (Spatial_Data *spatd, vector< double > &til) |
| compute fuzzy clasification
|
void | Set_Zmf (vector< double > const &z) |
| Set the mean-field neighborhood,
.
|
void | Set_Ymf (vector< double > const &y) |
| Set the mean-field neighborhood,
.
|
void | Set_Zmf (vector< double > const &z, uint i) |
| Set the mean-field neighborhood,
at site i.
|
void | Set_Ymf (vector< double > const &y, uint i) |
| Set the mean-field neighborhood,
at site i.
|
void | Get_Zmf (vector< double > &z) |
| Get the mean-field neighborhood,
.
|
void | Get_Ymf (vector< double > &z) |
| Get the mean-field neighborhood,
.
|
void | SetGradient (double step, double tol, uint maxiter) |
| Set gradient descent parameters.
|
void | Estimate_MRF (Spatial_Data *spatd, vector< double > const &til) |
| Estimate the MRF parameters.
|
virtual void | NREM_E (Spatial_Data *spatd, vector< double > &til) |
| Step E of the NR-EM algorithm.
|
virtual void | NREM_M (Spatial_Data *spatd, vector< double > const &til) |
| Step M of the NR-EM algorithm.
|
void | ICM (Spatial_Data *spatd, vector< uint > &Y_ICM, vector< uint > &Z_ICM) |
| ICM restoration.
|
double | Completed_Likelihood (Spatial_Data *spatd, vector< double > const &til) |
| Completed likelihood.
|
double | PLIC (Spatial_Data *spatd, vector< uint > const &Z_ICM) |
| PLIC -- Pseudolikelihood Information Criterion.
|
Protected Attributes |
MRF * | Y |
| (hidden) MRF
|
Conditional_MRF * | Z |
| (hidden) Conditional MRF
|