KMeansExample

Simple implementation of the KMeans Clustering algorithm in Python

View on GitHub
updated on: 7th September 2021
KMeansExample

A sleek CLI app for KMeans Clustering

Made with in India

KMeansExample

Whats new?

Table of Contents

Introduction

KMeansExample is a simple implementation of the K Means clustering Algorithm in Python.

Features

Getting Started

Requirements

KMeansExample Requires these bare-minimum things to work:

$ pip install matplotlib

Installation

KMeansExample doesn’t need to be installed, just run main.py without parameters.

$ python3 main.py

Usage

$ python3 main.py
 **
 Welcome to KMeansExample.
 **

A GUI prompt will open to let you choose a csv file

$ python3 main.py
 **
 Welcome to KMeansExample.
 **

Working on student records at data/test.csv  ..



  * (1) for Previewing the records
  * (2) for Proceeding with training
  * (3) for Exiting the predictor
Enter action:

hereafter, the menu interface will guide you.

TODOs

ChangeLog

Preview for students.csv

  Enter action: 4
  Enter Student's Attendance: 85
  Enter Student's Marks: 90
  Probability for Cluster 1: 77.36%
  Probability for Cluster 2: 61.99%
  Probability for Cluster 3: 93.16%
  Probability for Cluster 4: 67.50%

License

Syed Nasim, 2021