Interactive Course

Mixture Models in R

Learn mixture models: a convenient and formal statistical framework for probabilistic clustering and classification.

  • 4 hours
  • 14 Videos
  • 47 Exercises
  • 1,848 Participants
  • 3,600 XP

Loved by learners at thousands of top companies:

ea-grey.svg
roche-grey.svg
axa-grey.svg
lego-grey.svg
forrester-grey.svg
mercedes-grey.svg

Course Description

Mixture modeling is a way of representing populations when we are interested in their heterogeneity. Mixture models use familiar probability distributions (e.g. Gaussian, Poisson, Binomial) to provide a convenient yet formal statistical framework for clustering and classification. Unlike standard clustering approaches, we can estimate the probability of belonging to a cluster and make inference about the sub-populations. For example, in the context of marketing, you may want to cluster different customer groups and find their respective probabilities of purchasing specific products to better target them with custom promotions. When applying natural language processing to a large set of documents, you may want to cluster documents into different topics and understand how important each topic is across each document. In this course, you will learn what Mixture Models are, how they are estimated, and when it is appropriate to apply them!

  1. 1

    Introduction to Mixture Models

    Free

    In this chapter, you will be introduced to fundamental concepts in model-based clustering and how this approach differs from other clustering techniques. You will learn the generating process of Gaussian Mixture Models as well as how to visualize the clusters.

  2. Mixture of Gaussians with `flexmix`

    This chapter shows how to fit Gaussian Mixture Models in 1 and 2 dimensions with `flexmix` package. The data used is formed by 10.000 observations of people with their weight, height, body mass index and informed gender.

  3. Structure of Mixture Models and Parameters Estimation

    In this chapter, you will be introduced to the main structure of Mixture Models, how to address different data with this approach and how to estimate the parameters involved. To accomplish the estimation, you will learn an iterative method called Expectation-Maximization algorithm.

  4. Mixture Models Beyond Gaussians

    In this module, you will learn how Mixture Models extends to consider probability distributions different from the Gaussian and how these models are fitted with `flexmix`. The datasets used are handwritten digits images and the number of crimes in Chicago city. For the first dataset you will find clusters that summarize the handwritten digits and for the second dataset, you will find clusters of communities where is more or less dangerous to live in.

  1. 1

    Introduction to Mixture Models

    Free

    In this chapter, you will be introduced to fundamental concepts in model-based clustering and how this approach differs from other clustering techniques. You will learn the generating process of Gaussian Mixture Models as well as how to visualize the clusters.

  2. Structure of Mixture Models and Parameters Estimation

    In this chapter, you will be introduced to the main structure of Mixture Models, how to address different data with this approach and how to estimate the parameters involved. To accomplish the estimation, you will learn an iterative method called Expectation-Maximization algorithm.

  3. Mixture of Gaussians with `flexmix`

    This chapter shows how to fit Gaussian Mixture Models in 1 and 2 dimensions with `flexmix` package. The data used is formed by 10.000 observations of people with their weight, height, body mass index and informed gender.

  4. Mixture Models Beyond Gaussians

    In this module, you will learn how Mixture Models extends to consider probability distributions different from the Gaussian and how these models are fitted with `flexmix`. The datasets used are handwritten digits images and the number of crimes in Chicago city. For the first dataset you will find clusters that summarize the handwritten digits and for the second dataset, you will find clusters of communities where is more or less dangerous to live in.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Víctor Medina
Víctor Medina

Doctoral Researcher at The University of Edinburgh

Victor is a doctoral researcher at the University of Edinburgh. With a background in Applied Statistics, he has worked researching and developing predictive risk models and mathematical tools for the Financial System. With a passion for teaching, he was a professor of Econometrics at the Universidad de Chile and, currently, works with the School of Political Sciences at Universidad Central to create applications to extract and analyze data from social media. Victor holds an MSc in Statistics, BEng, BSc in Physics and R is his second language.

See More
Icon Icon Icon professional info