Papers › Predicting Gender by First Name Using Character-level Machine Learning

Predicting Gender by First Name Using Character-level Machine Learning

18 Jun 2021arXiv:2106.10156archive 2025-07-28

Rosana C. B. Rego, Verônica M. L. Silva, Victor M. Fernandes

Predicting gender by the first name is not a simple task. In many applications, especially in the natural language processing (NLP) field, this task may be necessary, mainly when considering foreign names. In this paper, we examined and implemented several machine learning algorithms, such as extra trees, KNN, Naive Bayes, SVM, random forest, gradient boosting, light GBM, logistic regression, ridge classifier, and deep neural network models, such as MLP, RNN, GRU, CNN, and BiLSTM, to classify gender through the first name. A dataset of Brazilian names is used to train and evaluate the models. We analyzed the accuracy, recall, precision, f1 score, and confusion matrix to measure the models' performances. The results indicate that the gender prediction can be performed from the feature extraction strategy looking at the names as a set of strings. Some models accurately predict gender in more than 95% of the cases. The recurrent models overcome the feedforward models in this binary classification problem.

PaperPDFCode

Code

roscibely/Gender-Classification officialmentioned on GitHubtf report
roscibely/gender-prediction mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

BIG-bench Machine LearningBinary ClassificationGender Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BiLSTMGRULSTMSVMSigmoid ActivationTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections