Skip to content

the753q/KMeans-CSHARP-WinForms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-means

K-means clustering algorithm implemented in C# WinForms app. Visualizes the algorithm process on a 2D graph of X and Y data.

Main program

Usage

Load Dataset

Choose a .csv dataset file, then choose two columns as the X and Y axis.

Run Algorithm

Click 'Step' for one iteration of recalculating centroid positions and clusters.

Click 'Finish' to perform iterations until centroids are relatively stable. This will also open a new window showing data about each cluster. You can also select a cluster from the table to highlight it on the main graph.

Cluster higlight