This project applies three methods to compute MAP inference and posterior inference
- the Gibbs sampling
- mean field methods to compute the inference and .
- In addition, the exact results are computed by the variable elimination method through Jupyter Notebook. ============================================================================== Code and report of ["Bayesian_Approximate_Inference"]
The proposed method is implemented through Jupyter Notebook. The required packages include:
- Matlab
- Python 3
- Jupyter Notebook
- modify the path by the lcoation of the files in the folder of 'dataset';
- Run the function of 'Gibbs_sampling' 'mean_field' of the matlab codes;
- The 'Variable Elimination' method is in the Jupyter file of 'Proj1'