libZSservicesZSamazonka-forecastZSamazonka-forecast
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Forecast.Types.Featurization

Description

 
Synopsis

Documentation

data Featurization Source #

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

See: newFeaturization smart constructor.

Constructors

Featurization' 

Fields

  • featurizationPipeline :: Maybe (NonEmpty FeaturizationMethod)

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

  • attributeName :: Text

    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.

Instances

Instances details
Eq Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

Read Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

Show Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

Generic Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

Associated Types

type Rep Featurization :: Type -> Type #

NFData Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

Methods

rnf :: Featurization -> () #

Hashable Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

ToJSON Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

FromJSON Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

type Rep Featurization Source # 
Instance details

Defined in Amazonka.Forecast.Types.Featurization

type Rep Featurization = D1 ('MetaData "Featurization" "Amazonka.Forecast.Types.Featurization" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "Featurization'" 'PrefixI 'True) (S1 ('MetaSel ('Just "featurizationPipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty FeaturizationMethod))) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFeaturization Source #

Create a value of Featurization with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:featurizationPipeline:Featurization', featurization_featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.

$sel:attributeName:Featurization', featurization_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 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.

featurization_featurizationPipeline :: Lens' Featurization (Maybe (NonEmpty FeaturizationMethod)) Source #

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

featurization_attributeName :: Lens' Featurization Text Source #

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.