Skip to content

Implementation of Multimodal-Gaussian Mixture Model with Gibbssampling

Notifications You must be signed in to change notification settings

is0383kk/Multimodal-GMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multimodal-GMM

Implementation of Multimodal-GMM with Gibbs sampling algorithm.
Allows clustering of data sampled from two or more different multivariate normal distributions

Graphical model

Algorithm of gibbssampling

How to run

  1. The first step is to create the observation data using make_data.py. Then, create data1.txt and data2.txt. true_label.txt is the label data for calculating ARI.
  2. After that, you can use mgmm.py to run the clustering.

The image below shows the actual generated observables for the two modalities.(The cluster numbers for the two data points are the same)  

The image below shows the actual ARI measured by mgmm.py, where a value close to 1 means high cluster performance and a value close to 0 means low cluster performance.

Appendix

Other examples of implementations using GMM are as follows

  1. GMM with Gibbssampling
  2. GMM with Metropolis-Hastings Algorithm
  3. Multimodal-GMM
  4. Multimodal-GMM with Metropolis-Hastings Algorithm
  5. VAE and GMM mutual learning model

Releases

No releases published

Packages

No packages published

Languages