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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

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

#featurization_method_nameString

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

Possible values:

  • filling

Returns:

  • (String)

    The name of the method.

#featurization_method_parametersHash<String,String>

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

Returns:

  • (Hash<String,String>)

    The method parameters (key-value pairs).