A birth certificate dataset collects name records with recorded sex, birth year, region, counts, and frequencies. Here, it supplies examples for predicting recorded sex from name patterns. section 5.2.4
Aggregating names and recorded sex
Grouping by name and sex sums counts across records: Timothy appears with 5 recorded female births and 3,538 recorded male births. The resulting 4,238-row table can support training and testing.
A modeling workflow uses the dataset to:
- Keep names from the test set out of training and retain the resulting feature matrix as sparse data. section 5.2.4
