Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saadarazzaq/clusters-unsupervised

Implemented K-Means and K-Medoids on custom dataset. ML ASSIGNMENT 3 => Q3
https://github.com/saadarazzaq/clusters-unsupervised

kmeans-clustering kmedoids-clustering unsupervised-learning

Last synced: about 1 month ago
JSON representation

Implemented K-Means and K-Medoids on custom dataset. ML ASSIGNMENT 3 => Q3

Awesome Lists containing this project

README

        

# Clusters-Unsupervised 📊

## Overview ℹī¸:
This repository contains Python notebook to compare the performance of the K-Means and K-Medoids clustering algorithms using a sample dataset. The purpose of this comparison is to understand the differences in clustering results and computational efficiency between these two popular clustering techniques.

![image](https://github.com/SaadARazzaq/Clusters-Unsupervised/assets/123338307/cd5c6df1-a58c-49c3-b1f2-f1322fe5be94)

## Dataset 📊:
The dataset used for this comparison is stored in a file named `Data.xlsx`. It contains four features (A1, A2, A3, A4) for each data point. These features are numerical values representing characteristics of each data point.

## Code Files 📄:
1. **k_means.py**: Contains the implementation of the K-Means clustering algorithm.
2. **k_medoids.py**: Contains the implementation of the K-Medoids clustering algorithm.
3. **visualization.py**: Provides functions for visualizing the clustering results.

## Instructions 🛠ī¸:
1. Ensure that you have Jupyter Notebook installed and setup on your system.
2. If not then open the notebook in google colab and start coding.

## Results 📈:
After running both clustering algorithms, compare the clustering results visually using the provided visualization functions. Analyze the clusters formed by each algorithm and evaluate their effectiveness based on the dataset characteristics.

## Note 📌:
- The dataset used in this comparison is for demonstration purposes only.
- Feel free to modify the code or dataset to conduct further experiments and analysis.