Giter VIP home page Giter VIP logo

gaussian-mixture-model's Introduction

Gaussian-Mixture-Model

Expectation Maximization Algorithm

Gaussian Mixture Models (GMM) are effective for multi model density representation. In this experiment GMM Parameters are estimated using Expectation Maximization(EM) algorithm results are shown for two datasets. The GMM algorithm and plotting functions are given in python code.

Following are the requirements to run this code: Python 3.7.2

To run this code type:

python main.py

Modify main.py, if number of components of GMM or particular feature in dataset needs to be selected.

For our experiments we considered two data sets:

  1. Iris
  2. Glass Classification Dataset

1. GMM Density Estimation of Iris Dataset:

First for each feature in Iris dataset, Gaussian mixture models (GMM) parameters are estimated by using two or three GMM components. The Number of components in GMM are determined by visualizing respective feature's histogram. usually for this dataset features, two components were enough.

GMM Estimation for Two Features:

GMM can properly learn the distribution with only two components.

2. GMM Density Estimation of Glass Classification Dataset:

This dataset contains eight features. Following results are the density estimation of each feature using GMM. Different number of components of GMM are used for each feature, determined by visualizing histogram of that feature.

gaussian-mixture-model's People

Contributors

sohaib730 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.