In this project, I will implement two algorithms for clustering, namely the KMeans and Gaussian Mixture Model (GMM). I implement several mathematical functions that will be used later in my implementation for KMeans and GMM. I perform a comparison between KMeans and GMM on doing simple image pixel clustering to try to compress an image into 5 main colors. I use GMM to do MLE (maximum likelihood estimation), approximating the data using a set of Gaussian distributions.

Log in or sign up for Devpost to join the conversation.