Interface Featurization.Builder

  • Method Details

    • attributeName

      Featurization.Builder attributeName(String 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • featurizationPipeline

      Featurization.Builder featurizationPipeline(Collection<FeaturizationMethod> featurizationPipeline)

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

      Parameters:
      featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • featurizationPipeline

      Featurization.Builder featurizationPipeline(FeaturizationMethod... featurizationPipeline)

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

      Parameters:
      featurizationPipeline - An array of one FeaturizationMethod object that specifies the feature transformation method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • featurizationPipeline

      Featurization.Builder featurizationPipeline(Consumer<FeaturizationMethod.Builder>... featurizationPipeline)

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

      This is a convenience method that creates an instance of the FeaturizationMethod.Builder avoiding the need to create one manually via FeaturizationMethod.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to featurizationPipeline(List<FeaturizationMethod>).

      Parameters:
      featurizationPipeline - a consumer that will call methods on FeaturizationMethod.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: