/Gender-Classification-with-Python

The code uses the scikit-learn machine learning library to train a decision tree on a small dataset of body metrics (height, width, and shoe size) labeled male or female. Then we can predict the gender of someone given a novel set of body metrics.

Primary LanguagePython

Gender-Classification-with-Python

##Overview

This is the code for the gender classification. The code uses the scikit-learn machine learning library to train a decision tree on a small dataset of body metrics (height, width, and shoe size) labeled male or female. Then we can predict the gender of someone given a novel set of body metrics.

##Dependencies

Scikit-learn (http://scikit-learn.org/stable/install.html)

numpy (pip install numpy)

scipy (pip install scipy)

Install missing dependencies using pip

##Usage

Once you have your dependencies installed via pip, run the script in terminal via

python prediction.py