parthmaul
Re:Show HN: Python Package for Predicting Gender from First Names
on Saturday June 13, 2020 @03:33PM (#23512026)
I stumbled along and made the changes you recommended! Seems to be working fine. Thanks again for the tip!
Re:Show HN: Python Package for Predicting Gender from First Names
on Monday June 08, 2020 @12:21PM (#23457955)
Thank you! Using this at work for help with customer segmentation
Re:Show HN: Python Package for Predicting Gender from First Names
on Monday June 08, 2020 @12:20PM (#23457944)
Thanks for sharing your feedback! Great idea on using .txt instead - I'll make a change for that. (My first time sharing a package I've prepared on github, so I'm a noob with that kind of stuff)
There are names in the current json file classified as "N" which stands for non-binary, but the frequency is quite low. "N" is based on if the frequency of "M" == "F" or if the frequencies are within a certain magnitude of each other. (magnitude calculation is based on proportions testing) With that being said, maybe it'd be worth adding functionality for a user to upload their own gender_lookup file?