Skip to content

krishna-y-tummala/KMeansClustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

KMeansClustering

K Means Clustering using Python

Works only with Python 3.0 or greater

Please paste a copy of the data file (College_Data) in your documents or where you wish to and specify the directory in line 14

To save the plots, create a new folder and use the os module to change the working directory. Lines 2-5

Libraries Required: NumPy, Pandas, SciKit Learn (sklearn), os, Seaborn and Matplotlib

THE Metrics may vary beacause the algorithm does not recognize the labels correctly sometimes

The confusion matrix may get inverted sometimes. It is the trade off for using metrics on an Unsupervised Algorithm which is not possible in a real world scenario.