Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
allengu01 authored Sep 27, 2020
1 parent d685616 commit 9603396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ This program uses the k-means clustering algorithm to determine k colors that ar
K-means clustering is an unsupervised machine learning algorithm that finds k clusters within a given dataset. The algorithm begins by defining k centroids, around which each cluster will be created. A cluster of a centroid is defined as all members of the dataset (in this case, pixels RGB values) which are closest to that given centroid. Next, when all members of the data set are assigned to the closest centroid, the algorithm moves each centroid to the mean of the cluster. The algorithm continues to iterate by creating clusters and updating the centroids until no centroids move during an iteration.

## Examples
#### 1)
<p align="center">
<img width="400" align="center" src="images/minimalist_landscape1.jpg">
<img width="500" align="center" src="examples/iterate_animation1.gif">
<img width="400" align="center" src="examples/rotate_animation1.gif">
</p>
<hr>

0 comments on commit 9603396

Please sign in to comment.