Rethnicity: Predicting Ethnicity from Names
2021-09-19Code Available1· sign in to hype
Fangzhou Xie
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/fangzhou-xie/rethnicityOfficialIn papernone★ 13
Abstract
In this study, a new R package, rethnicity is provided for predicting ethnicity based on names. The Bidirectional LSTM and Florida Voter Registration were used as the model and training data, respectively. Special care was given for the accuracy of minority groups, by adjusting the imbalance in the dataset. The models were trained and exported to C++ and then integrated with R using Rcpp. Additionally, the availability, accuracy, and performance of the package were compared with other solutions.