baoyufuyou / gmm_tutorial

This code completes a tutorial about gaussian mixture models (gmm) in python using scikit-learn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tutorial on GMMs

This code was used in the blog post "What is a Gaussian Mixture Model (GMM) - 3D Point Cloud Classification Primer".

It is composed of three main parts:

  • Generating data
  • Fitting the Gaussian Mixture Model
  • Visualization

Installation

You will need to have matplotlib, scikit-learn and ofcourse numpy installed.

The code was tested on Python 3.5.2 on Windows.

Usage

Simply run estimate_gmm_sklearn.py. Change the variable D to be 2 or 3 for 2D or 3D results respectively.

About

This code completes a tutorial about gaussian mixture models (gmm) in python using scikit-learn

License:MIT License


Languages

Language:Python 100.0%