Skip to content

Machine learning project about clustering algorithm called K-means

Notifications You must be signed in to change notification settings

zkrytobojca/K-means

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-means

About

This machine learning project was about clustering algorithm called K-means. It was written from scratch as an algorithmic exercise.

This project included:

  • K-means clustering implementation
  • Importing data from .CSV files
  • Determinig the number of clusters (k)
  • 4 different distance metrics
  • Implementation of grouping quality measure - Silhouette

Technologies used

  • Python (Pandas, NumPy, Matplotlib)
  • Jupyter Notebook

Highlights

Algorithm was tested on a few different datasets with diverse attribute numbers and arrangement of objects. All tests gave satisfactory results.

Labeled data:

image

Unlabeled data:

image

After clustering:

image

About

Machine learning project about clustering algorithm called K-means

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published