You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ForecastService::Types::FeaturizationMethod

  • Object
show all
Defined in:



When passing FeaturizationMethod as input to an Aws::Client method, you can use a vanilla Hash:

  featurization_method_name: "filling", # required, accepts filling
  featurization_method_parameters: {
    "ParameterKey" => "ParameterValue",

Provides information about a method that featurizes (transforms) a dataset field. The method is part of the FeaturizationPipeline of the Featurization object. If FeaturizationMethodParameters isn't specified, Amazon Forecast uses default parameters.

For example:


"FeaturizationMethodName": "filling",

"FeaturizationMethodParameters": {"aggregation": "avg", "backfill": "nan"}


Instance Attribute Summary collapse

Instance Attribute Details


The name of the method. In this release, \"filling\" is the only supported method.

Possible values:

  • filling


  • (String)

    The name of the method.


The method parameters (key-value pairs). Specify these to override the default values. The following list shows the parameters and their valid values. Bold signifies the default value.

  • aggregation: sum, avg, first, min, max

  • frontfill: none

  • middlefill: zero, nan (not a number)

  • backfill: zero, nan


  • (Hash<String,String>)

    The method parameters (key-value pairs).