"NameGender" (Built-in Classifier)
Determine which gender a first name is.
- This classifier is based on the US Census data. It will give poor performances for names that are rare in the US.
Examplesopen allclose all
Basic Examples (2)
Find the possible gender of a person from their first name:
Classify multiple examples:
Unrecognized names will return Indeterminate:
Obtain the probabilities for the possible classes:
Obtain a ClassifierFunction for this classifier:
Apply the classifier to a list of names:
Load the ClassifierFunction corresponding to the built-in classifier:
Obtain the possible classes:
Use a custom ClassPriors to restrict the possible outputs:
Introduced in 2018