fangzhou-xie / rethnicity

predict ethnicity from names
https://fangzhou-xie.github.io/rethnicity/index.html
9 stars 2 forks source link

Todo: guard from passing dataframe as argument #4

Open fangzhou-xie opened 2 years ago

fangzhou-xie commented 2 years ago

As mentioned in #2 and #3, users have wrong predictions when they pass dataframes as vectors in the argument. Need to PR later to guard against this (return error instead of passing towards the model).