Field
Abstract class for field in a PMML.
Value members
Abstract methods
Retrieve its value from the specified series, return null if missing
Retrieve its value from the specified series, return null if missing
Concrete methods
Encodes the value of the field in the input series.
Encodes the value of the field in the input series.
Retrieve its value as double from the specified series, return Double.NaN if missing.
Retrieve its value as double from the specified series, return Double.NaN if missing.
Tests if its value is missing from the specified series.
Tests if its value is missing from the specified series.
Tests if the field is referenced in the model element.
Tests if the field is referenced in the model element.
Converts to an immutable attribute if it's mutable.
Converts to an immutable attribute if it's mutable.
Converts a string to the corresponding value based on its data type.
Converts a string to the corresponding value based on its data type.
- Throws:
- java.lang.NumberFormatException
- If the string does not contain a parsable number if dataType is numeric
Inherited methods
Returns true if other
is an acceptable input type for a function that expects this.
Returns true if other
is an acceptable input type for a function that expects this.
- Inherited from:
- DataTypeLike
Tests whether this field is categorical (nominal or ordinal).
Tests whether this field is categorical (nominal or ordinal).
- Inherited from:
- HasOpType
Tests whether this field is continuous.
Tests whether this field is continuous.
- Inherited from:
- HasOpType