Featurization class
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"}
} ]
}
Constructors
-
Featurization({required String attributeName, List<
FeaturizationMethod> ? featurizationPipeline}) -
Featurization.fromJson(Map<
String, dynamic> json) -
factory
Properties
- attributeName → String
-
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 howitworks-missing-values.final -
featurizationPipeline
→ List<
FeaturizationMethod> ? -
An array of one
FeaturizationMethod
object that specifies the feature transformation method.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited