|
Optional parameters can be set to null or omitted (both will have the same effect).
|
Parameter
|
Description
|
Required/Optional
|
||
---|---|---|---|---|
fieldName
|
The exact name of the field as it appears in the dataset.
|
Required
|
||
values
|
A list of the acceptable values for the field.
|
Required if the opType is Ordinal
Optional for Categorical opType
Do not use for Boolean, Continuous, and Text.
|
||
range
|
For a Continuous field, defines the minimum and maximum values the field can accept. For informational purposes only. Should be specified as:
"range": {"min": <value>, "max": <value>}
|
Optional
|
||
dataType
|
Describes what type of data the field contains. Options include: STRING, BOOLEAN, DOUBLE, INTEGER, LONG, DATETIME.
These options must be entered as all uppercase values. Lowercase values will lead to errors.
|
Required
|
||
opType
|
Describes how the data in the field can be used. Options include: CONTINUOUS, CATEGORICAL, BOOLEAN, ORDINAL, ENTITY_ID, TEMPORAL, INFORMATIONAL, TEXT.
These options must be entered as all uppercase values. Lowercase values will lead to errors.
|
Required
|
||
timeSamplingInterval
|
An integer representing the time between observations in a temporal field.
|
Optional if the opType is Temporal
Do not use for other opTypes
|
||
isStatic
|
A flag indicating whether or not the value in a temporal field can change over time. Marking a field as static reduces training time by removing redundant data points for fields that do not change.
|
Optional
|
||
missingValueTreatment
|
Indicates how a missing dataset value should be handled for a specific field. Options include: AS_IS, AS_VALUE, AS_MEAN, AS_MEDIAN, AS_LAST. For more information about the options available for imputing missing values, see Handling Missing Dataset Values.
|
Optional but required in order to impute missing values.
|
||
missingValueReplacement
|
Indicates what value should replace all missing values for a specific field. Can only be used when the value for missingValueTreatment is AS_VALUE.
|
Required when AS_VALUE is selected for the missing value treatment. Do not use for other missing value treatments.
|
||
missingValueIndicators
|
Indicates a list of values that should be interpreted as missing for a specific field. By default, null entries are considered missing.
|
Optional but can only be used when a missing value treatment is specified in missingValueTreatment.
|