Skip to content

The K-Means algorithm, written from scratch using the Python programming language

License

Notifications You must be signed in to change notification settings

tugot17/K-Means-Algorithm-From-Scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-Means-Algorithm-From-Scratch

The K-Means algorithm, written from scratch using the Python programming language. The main jupiter notebook shows how to write k-means from scratch and shows an example application - reducing the number of colors.

drawing

Getting Started

The main file is K-means.ipynb

The code itself, without comments, can be found in the k-means.py file

Image

Image used as example for color reduction was downloaded from here

drawing

Prerequisites

-numpy
-sklearn
-matplotlib
-cv2

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

The K-Means algorithm, written from scratch using the Python programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published