The code uses the scikit-learn machine learning library to train a decision tree on a small data set 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.
mostafa1reda / gender_classification Goto Github PK
View Code? Open in Web Editor NEWThe code uses the scikit-learn machine learning library to train a decision tree on a small data set 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.