Skip to content

AjinkyaVadane/KMeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Name :- Ajinkya Kishor Vadane
README:

I have implemented the codes using Python version 3.6 on Pycharm.
Used various libraries for plotting graph and label encoding.
such as 
matplotlib.pyplot
and numpy
I have not used predefined libraries for calulating probabilities and same estimating 
euclidean distance

Code running instructions:-
Question 1 (Kmeans)
1)Run the code mykmeans_Q1.py
2)Enter the number of clusters
3) Enter the centroids one by one 
example:-
Enter the Number of Clusters: 4
Enter coordinates: 10 10
Enter coordinates: 10 -10
Enter coordinates: -10 10
Enter coordinates: -10 -10

Question 2 
1)Run the code mykde_Q2.py


References :- 1)slide 8,9,10 of supervised_unsupervised learning ny Professor Won hwa kim
2)https://medium.com/machine-learning-algorithms-from-scratch/k-means-clustering-from-scratch-in-python-1675d38eee42

About

K means algorithm from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages