Skip to content

ayushijain09/Gender_Classification_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Solution to Gender Classification Challenge

##Overview

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 gender_classifer.py

##Challenge

Find 3 more classifiers from the sci-kit learn documentation and add them to the demo.py code. Train them on the same dataset and compare their results.

##Solution

It prints out all the classifiers that have got the maximum accuracy and not just one ( unlike argmax functionality).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages