Featurization
This object belongs to the CreatePredictor operation. If you created your predictor with CreateAutoPredictor, see AttributeConfig.
Provides featurization (transformation) information for a dataset field. This object is part of the FeaturizationConfig object.
For example:
{
"AttributeName": "demand",
FeaturizationPipeline [ {
"FeaturizationMethodName": "filling",
"FeaturizationMethodParameters": {"aggregation": "avg", "backfill":
"nan"}
} ]
}
Contents
- AttributeName
-
The name of the schema attribute that specifies the data field to be featurized. Amazon Forecast supports the target field of the
TARGET_TIME_SERIES
and theRELATED_TIME_SERIES
datasets. For example, for theRETAIL
domain, the target isdemand
, and for theCUSTOM
domain, the target istarget_value
. For more information, see Handling Missing Values.Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*
Required: Yes
- FeaturizationPipeline
-
An array of one
FeaturizationMethod
object that specifies the feature transformation method.Type: Array of FeaturizationMethod objects
Array Members: Fixed number of 1 item.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: