Class: Aws::Personalize::Types::CreateSolutionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_group_arnString

The Amazon Resource Name (ARN) of the dataset group that provides the training data.

Returns:

  • (String)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeString

When your have multiple event types (using an ‘EVENT_TYPE` schema field), this parameter specifies which event type (for example, ’click’ or ‘like’) is used for training the model.

If you do not provide an ‘eventType`, Amazon Personalize will use all interactions for training with equal weight regardless of type.

Returns:

  • (String)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name for the solution.

Returns:

  • (String)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#perform_auto_mlBoolean

We don’t recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see [Determining your use case.]

Whether to perform automated machine learning (AutoML). The default is ‘false`. For this case, you must specify `recipeArn`.

When set to ‘true`, Amazon Personalize analyzes your training data and selects the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit `recipeArn`. Amazon Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.

[1]: docs.aws.amazon.com/personalize/latest/dg/determining-use-case.html

Returns:

  • (Boolean)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#perform_hpoBoolean

Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is ‘false`.

When performing AutoML, this parameter is always ‘true` and you should not set it to `false`.

Returns:

  • (Boolean)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#recipe_arnString

The ARN of the recipe to use for model training. This is required when ‘performAutoML` is false.

Returns:

  • (String)


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#solution_configTypes::SolutionConfig

The configuration to use with the solution. When ‘performAutoML` is set to true, Amazon Personalize only evaluates the `autoMLConfig` section of the solution configuration.

<note markdown=“1”> Amazon Personalize doesn’t support configuring the ‘hpoObjective` at this time.

</note>


1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Returns:



1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
# File 'lib/aws-sdk-personalize/types.rb', line 1594

class CreateSolutionRequest < Struct.new(
  :name,
  :perform_hpo,
  :perform_auto_ml,
  :recipe_arn,
  :dataset_group_arn,
  :event_type,
  :solution_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end