Skip to content
/ k-means Public

k-means clustering algorithm implemented in Python

License

Notifications You must be signed in to change notification settings

rmodi6/k-means

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

k-means clustering

k-means clustering algorithm implemented in Python.

Usage

usage: kmeans.py [-h] --dataset DATASET_PATH [--k K]
                 [--distance {euclidean,manhattan}]

k-means clustering algorithm

optional arguments:
  -h, --help            show this help message and exit
  --dataset DATASET_PATH
                        path to dataset
  --k K                 number of clusters (default: 2)
  --distance {euclidean,manhattan}
                        distance function (default: Euclidean)

Example

python kmeans.py --dataset dataset/Breast_cancer_data.csv --k 2 --distance manhattan

About

k-means clustering algorithm implemented in Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages