top of page

K CLUSTERS

ACADEMIC PROJECT

K-Clusters: Text
K-Clusters: Pro Gallery

This machine learning project consisted of programming a k-means clustering algorithm that would make clusters based on the RGB data of a picture. The pixel data would then be changed to the average RGB of the cluster and then repeated until the exit condition was met.

​

Language: Python

K-Clusters: Text

What I did on this project:

  • Developed an algorithm that separated pixel data (RGB) into clusters.

    • A derived color was created from the mean of the cluster. The color is then used for a new image. 

  • Created the algorithm with the use of NumPy, pandas, matplotlib and PIL libraries 

K-Clusters: Text
bottom of page