"NameAge" (Built-in Predictor)
Examples
open allclose allBasic Examples (2)
Use the built-in predictor "NameAge" to predict the age of a person from their first name:
Obtain a PredictorFunction for this predictor:
Use the predictor function to predict the age of a person from their first name:
Scope (2)
Visualize the distribution of the age for a given name:
The most likely value of this distribution is the following:
Load the PredictorFunction corresponding to the built-in predictor:
Obtain information about the predictor from Information:
Options (2)
IndeterminateThreshold (1)
Use a custom IndeterminateThreshold after loading the PredictorFunction:
UtilityFunction (1)
Obtain the utility function of the predictor that corresponds to a DiracDelta function:
This means by default, the value with the highest probability density is predicted:
Change the utility function to predict the mean value instead of the most likely value: