Giter Club home page Giter Club logo

convex-hull-implementation's Introduction

Convex Hull Visualization

This project is made to fulfill the 2nd project for the Strategic Algorithm. It is an Convex Hull Visualizer that can be used to visualize Linear Separability from the dataset given or sklearn dataset. This visualization made using python and using the principles of divide and conqueror algorithm.

Screenshots

image image image

Technologies Used

  1. Python (3.8+)
  2. NumPy
  3. sklearn datasets
  4. matplotlib
  5. pandas

Features

This program allows you to visualize Linear Separability test from 2 selected columns from dataset and must have dataset classification model in order to work. It will show you all the point from selected columns, legends, and the convex hull using matplotlib.

Setup

  1. Install all the requirements in the technologies section
  2. If you want to use your dataset, you must put the dataset in test folder
  3. Clone the github using git clone https://github.com/IloveNooodles/convex-hull-implementation.git or simply using download as zip file from the github
  4. After that go to the folder directory
  5. Run the program using python main.py

Usage

  1. After you run the program, you can choose the dataset you want to visualize.
  2. Select either from the test folder or sklearn dataset
  3. Your dataset must categorized as dataset classification and have Target column in order to work.
  4. Select two columns that you want to visualize.
  5. Ta-da! the matplotlib will show and you have your dataset visualization.

Note: If you input wrong dataset or input the program will prompt message and exit

Room for Improvement

Maybe we can deploy this to a website for ease of use

References


  1. Convex hull
  2. Quickhull Algorithm
  3. Pandas
  4. Visualization

Made with ❤️ by Gare

convex-hull-implementation's People

Contributors

ilovenooodles avatar

Watchers

 avatar  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.