A very basic classification program that classifies an individual as 'male' or 'female' based on features such as height, weight and shoe size.
Part of Siraj Raval's weekly programming challenge.
I would recommend using Anacoda for this if you are on Windows as all packages/dependencies gets installed.
On Linux/Mac, please follow Siraj's tutorial video to get started.
- sk-learn
- numpy
- matplotlib
- Sublime Text 2
From terminal/command prompt -
python main.py
The challenge was to check for a bunch of classifiers which performs better.
Here I have used matplotlib
to plot a horizational bar graph and compare different classifiers in terms of accuracy.