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.
- Python (3.8+)
- NumPy
- sklearn datasets
- matplotlib
- pandas
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.
- Install all the requirements in the technologies section
- If you want to use your dataset, you must put the dataset in test folder
- Clone the github using
git clone https://github.com/IloveNooodles/convex-hull-implementation.git
or simply using download as zip file from the github - After that go to the folder directory
- Run the program using
python main.py
- After you run the program, you can choose the dataset you want to visualize.
- Select either from the test folder or sklearn dataset
- Your dataset must categorized as dataset classification and have Target column in order to work.
- Select two columns that you want to visualize.
- 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
Maybe we can deploy this to a website for ease of use
Made with ❤️ by Gare