Class: Aws::ForecastService::Types::HyperParameterTuningJobConfig

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

Overview

Note:

When making an API call, you may pass HyperParameterTuningJobConfig data as a hash:

{
  parameter_ranges: {
    categorical_parameter_ranges: [
      {
        name: "Name", # required
        values: ["Value"], # required
      },
    ],
    continuous_parameter_ranges: [
      {
        name: "Name", # required
        max_value: 1.0, # required
        min_value: 1.0, # required
        scaling_type: "Auto", # accepts Auto, Linear, Logarithmic, ReverseLogarithmic
      },
    ],
    integer_parameter_ranges: [
      {
        name: "Name", # required
        max_value: 1, # required
        min_value: 1, # required
        scaling_type: "Auto", # accepts Auto, Linear, Logarithmic, ReverseLogarithmic
      },
    ],
  },
}

Configuration information for a hyperparameter tuning job. You specify this object in the CreatePredictor request.

A hyperparameter is a parameter that governs the model training process. You set hyperparameters before training starts, unlike model parameters, which are determined during training. The values of the hyperparameters effect which values are chosen for the model parameters.

In a hyperparameter tuning job, Amazon Forecast chooses the set of hyperparameter values that optimize a specified metric. Forecast accomplishes this by running many training jobs over a range of hyperparameter values. The optimum set of values depends on the algorithm, the training data, and the specified metric objective.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#parameter_rangesTypes::ParameterRanges

Specifies the ranges of valid values for the hyperparameters.



2408
2409
2410
2411
2412
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2408

class HyperParameterTuningJobConfig < Struct.new(
  :parameter_ranges)
  SENSITIVE = []
  include Aws::Structure
end