Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 597 Bytes

File metadata and controls

29 lines (19 loc) · 597 Bytes

Build a classification model to predict the gender of a name

Author: Wael Farah

Year: 2019

Training set:

male_names.txt

female_names.txt

To create model:

python create_model.py

This will create a new directory called "model", where the random forest classifier will be placed

To predict the gender:

python predict_gender.py INPUT_NAME

where INPUT_NAME is a name of your choice