Encode string values into numeric values in order to perform mathematical computations. For example, regression and
neural network models often split categorical and ordinal fields into multiple dummy fields. This kind of
normalization is supported in PMML by the element NormDiscrete.
An element (f, v) defines that the unit has value 1.0 if the value of input field f is v, otherwise it is 0.
The set of NormDiscrete instances which refer to a certain input field define a fan-out function which maps a single
input field to a set of normalized fields.
If the input value is missing and the attribute mapMissingTo is not specified then the result is a missing value as
well. If the input value is missing and the attribute mapMissingTo is specified then the result is the value of the
attribute mapMissingTo.
Encode string values into numeric values in order to perform mathematical computations. For example, regression and neural network models often split categorical and ordinal fields into multiple dummy fields. This kind of normalization is supported in PMML by the element NormDiscrete.
An element (f, v) defines that the unit has value 1.0 if the value of input field f is v, otherwise it is 0.
The set of NormDiscrete instances which refer to a certain input field define a fan-out function which maps a single input field to a set of normalized fields.
If the input value is missing and the attribute mapMissingTo is not specified then the result is a missing value as well. If the input value is missing and the attribute mapMissingTo is specified then the result is the value of the attribute mapMissingTo.