https://github.com/rbhatia46/genderclassification
A simple Python Script using a Decision Tree Classifier to classify a person as a Male or Female based on their height, weight and Shoe Size.
https://github.com/rbhatia46/genderclassification
Last synced: 7 months ago
JSON representation
A simple Python Script using a Decision Tree Classifier to classify a person as a Male or Female based on their height, weight and Shoe Size.
- Host: GitHub
- URL: https://github.com/rbhatia46/genderclassification
- Owner: rbhatia46
- Created: 2018-05-12T15:54:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T16:01:39.000Z (over 7 years ago)
- Last Synced: 2025-01-24T18:37:04.949Z (9 months ago)
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gender Classification
The above python script 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
* scipy## Running the script
```
python GenderClassification.py
```