"NameGender" (Built-in Classifier)

Determine which gender a first name is.

Classes

Details

  • This classifier is based on the US Census data. It will give poor performances for names that are rare in the US.

Examples

open 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:

Scope  (1)

Load the ClassifierFunction corresponding to the built-in classifier:

Obtain the possible classes:

Options  (2)

ClassPriors  (1)

Use a custom ClassPriors to restrict the possible outputs:

IndeterminateThreshold  (1)

Use a custom IndeterminateThreshold:

Introduced in 2018
 (11.3)