Class ResidualInputField

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResidualInputField
    extends InputField
    See Also:
    Serialized Form
    • Constructor Detail

      • ResidualInputField

        public ResidualInputField​(org.dmg.pmml.DataField dataField,
                                  org.dmg.pmml.MiningField miningField)
    • Method Detail

      • prepare

        public FieldValue prepare​(java.lang.Object value)
        Description copied from class: InputField

        Prepares the input value for a field.

        First, the value is converted from the user-supplied representation to PMML representation. After that, the value is subjected to missing value treatment, invalid value treatment and outlier treatment.

        Overrides:
        prepare in class InputField
        Parameters:
        value - The input value in user-supplied representation. Use null to represent a missing input value.
      • getField

        public org.dmg.pmml.DataField getField()
        Overrides:
        getField in class ModelField
        Returns:
        The backing Field element.