Code Monkey home page Code Monkey logo

clusters-unsupervised's Introduction

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

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.

clusters-unsupervised's People

Contributors

saadarazzaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.