- 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...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
South Africa
Thailand
Ukraine
Switzerland
Slovakia
Luxembourg
Hungary
Romania
Denmark
Ireland
Estonia
Belgium
Italy
Finland
Cyprus
Lithuania
Latvia
Malta
Netherlands
Portugal
Slovenia
Sweden
Argentina
Colombia
Ecuador
Indonesia
Mexico
New Zealand
Norway
South Korea
Taiwan
Turkey
Czechia
Austria
Greece
Isle of Man
Bulgaria
Japan
Philippines
Poland
Singapore
Egypt
Chile
Malaysia