1. Implemented K-means clustering algorithm and applied it to compress an image by around a factor of 6.
  2. Used principal component analysis to find a low-dimensional representation of face images.