Skip to content
Predicts gender based on name
Python
Latest commit 4473ad9 Feb 7, 2016 @sholiday Merge pull request #5 from ssinhaonline/master
Bumped up accuracy to about 96-97%. Added a couple of calculated features.
Failed to load latest commit information.
LICENSE.txt Initial code, should work fine. Jun 22, 2011
README.markdown
USSSALoader.py
genderPredictor.py Changed a bit to allow user input names to be classified. Accuracy at… Feb 7, 2016

README.markdown

genderPredictor

GenderPredictor is a wrapper around NLTK's Naive Bayes classifier for predicting the gender given a name.

This problem is common when dealing with incomplete contact information for users.

Currently it appears to be about 82% accurate on American names but this is just the framework. The name files are from the US Social Security Administration and are likely in the public domain. The processed files are distributed under the same rules as the original data (which is likely public domain...).

The code is under the Apache 2.0 license.

Comments and suggestions are welcome at stephen.holiday@gmail.com,

Stephen Holiday stephenholiday.com

Something went wrong with that request. Please try again.