- Generate synthetic from a mixture of three Gaussians. Check the accompanying Jupyter Notebook for this chapter for an example on how to do this. Fit a finite Gaussian mixture model with 2, 3, or 4 components.
- Use WAIC and LOO to compare the results from exercise 1.
- Read and run the following examples about mixture models from the PyMC3 documentation ( https://pymc-devs.github.io/pymc3/examples):
- Marginalized Gaussian Mixture Model (https://docs.pymc.io/notebooks/marginalized_gaussian_mixture_model.html)
- Dependent density regression (https://docs.pymc.io/notebooks/dependent_density_regression.html)
- Gaussian Mixture Model with ADVI (https://docs.pymc.io/notebooks/gaussian-mixture-model-advi.html) (you will find more information about ADVI in Chapter 8, Inference Engines)
- Repeat exercise 1 using a Dirichlet process.
- Assuming for a moment that you do not know the correct...
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia