Skip to content

liuliuOD/k-means

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-means

This is a kind of cluster method.

File Configuration :

Using this project, need to import kMeans.py in your file.

Using K-means, need to call functions named cluster and updateCenters.

Running Example Showing By matplotlib :

Example 1 : (there are 5 centers)

Initial Centers :

image

Final Result :

image

Example 2 : (there are 5 centers)

Initial Centers :

image

Final Result :

image

Releases

No releases published

Packages

No packages published

Languages