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

Class: Aws::Personalize::Types::SolutionConfig

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

Overview

Note:

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

{
  event_value_threshold: "EventValueThreshold",
  hpo_config: {
    hpo_objective: {
      type: "HPOObjectiveType",
      metric_name: "MetricName",
      metric_regex: "MetricRegex",
    },
    hpo_resource_config: {
      max_number_of_training_jobs: "HPOResource",
      max_parallel_training_jobs: "HPOResource",
    },
    algorithm_hyper_parameter_ranges: {
      integer_hyper_parameter_ranges: [
        {
          name: "ParameterName",
          min_value: 1,
          max_value: 1,
        },
      ],
      continuous_hyper_parameter_ranges: [
        {
          name: "ParameterName",
          min_value: 1.0,
          max_value: 1.0,
        },
      ],
      categorical_hyper_parameter_ranges: [
        {
          name: "ParameterName",
          values: ["CategoricalValue"],
        },
      ],
    },
  },
  algorithm_hyper_parameters: {
    "ParameterName" => "ParameterValue",
  },
  feature_transformation_parameters: {
    "ParameterName" => "ParameterValue",
  },
  auto_ml_config: {
    metric_name: "MetricName",
    recipe_list: ["Arn"],
  },
}

Describes the configuration properties for the solution.

Instance Attribute Summary collapse

Instance Attribute Details

#algorithm_hyper_parametersHash<String,String>

Lists the hyperparameter names and ranges.

Returns:

  • (Hash<String,String>)


2933
2934
2935
2936
2937
2938
2939
2940
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2933

class SolutionConfig < Struct.new(
  :event_value_threshold,
  :hpo_config,
  :algorithm_hyper_parameters,
  :feature_transformation_parameters,
  :auto_ml_config)
  include Aws::Structure
end

#auto_ml_configTypes::AutoMLConfig

The AutoMLConfig object containing a list of recipes to search when AutoML is performed.

Returns:



2933
2934
2935
2936
2937
2938
2939
2940
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2933

class SolutionConfig < Struct.new(
  :event_value_threshold,
  :hpo_config,
  :algorithm_hyper_parameters,
  :feature_transformation_parameters,
  :auto_ml_config)
  include Aws::Structure
end

#event_value_thresholdString

Only events with a value greater than or equal to this threshold are used for training a model.

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2933

class SolutionConfig < Struct.new(
  :event_value_threshold,
  :hpo_config,
  :algorithm_hyper_parameters,
  :feature_transformation_parameters,
  :auto_ml_config)
  include Aws::Structure
end

#feature_transformation_parametersHash<String,String>

Lists the feature transformation parameters.

Returns:

  • (Hash<String,String>)


2933
2934
2935
2936
2937
2938
2939
2940
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2933

class SolutionConfig < Struct.new(
  :event_value_threshold,
  :hpo_config,
  :algorithm_hyper_parameters,
  :feature_transformation_parameters,
  :auto_ml_config)
  include Aws::Structure
end

#hpo_configTypes::HPOConfig

Describes the properties for hyperparameter optimization (HPO). For use with the bring-your-own-recipe feature. Not used with Amazon Personalize predefined recipes.

Returns:



2933
2934
2935
2936
2937
2938
2939
2940
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2933

class SolutionConfig < Struct.new(
  :event_value_threshold,
  :hpo_config,
  :algorithm_hyper_parameters,
  :feature_transformation_parameters,
  :auto_ml_config)
  include Aws::Structure
end