- 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
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia