Class: Aws::ForecastService::Types::Featurization

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb

Overview

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"}

} ]

}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

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 the RELATED_TIME_SERIES datasets. For example, for the RETAIL domain, the target is demand, and for the CUSTOM domain, the target is target_value. For more information, see howitworks-missing-values.

Returns:

  • (String)


4156
4157
4158
4159
4160
4161
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 4156

class Featurization < Struct.new(
  :attribute_name,
  :featurization_pipeline)
  SENSITIVE = []
  include Aws::Structure
end

#featurization_pipelineArray<Types::FeaturizationMethod>

An array of one FeaturizationMethod object that specifies the feature transformation method.

Returns:



4156
4157
4158
4159
4160
4161
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 4156

class Featurization < Struct.new(
  :attribute_name,
  :featurization_pipeline)
  SENSITIVE = []
  include Aws::Structure
end