Skip to content

A basic K-means implementation written in Python.

Notifications You must be signed in to change notification settings

ss-python-projects/kmeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This repository is a basic K-means Clustering implementation for a college project. It reads a list of people information and divides them into K clusters, where the means are their ages.

This is not a generic implementation and was built focused only on this type of entry.

How to run

The usage syntax is:

$ python3 kmeans.py <entry_file_path> <...means>

If you want to use the people.dat entry file with means 5, 10, 15, 20, 25, 30 and 35, you can type:

$ python3 kmeans.py entry/people.dat 5 10 15 20 25 30 35

About

A basic K-means implementation written in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages