Class: Aws::PersonalizeRuntime::Types::PredictedItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::PersonalizeRuntime::Types::PredictedItem
- Defined in:
- gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb
Overview
An object that identifies an item.
The and APIs return a list of PredictedItem
s.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#item_id ⇒ String
The recommended item ID.
-
#metadata ⇒ Hash<String,String>
Metadata about the item from your Items dataset.
-
#promotion_name ⇒ String
The name of the promotion that included the predicted item.
-
#score ⇒ Float
A numeric representation of the model's certainty that the item will be the next user selection.
Instance Attribute Details
#item_id ⇒ String
The recommended item ID.
390 391 392 393 394 395 396 397 |
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 390 class PredictedItem < Struct.new( :item_id, :score, :promotion_name, :metadata) SENSITIVE = [] include Aws::Structure end |
#metadata ⇒ Hash<String,String>
Metadata about the item from your Items dataset.
390 391 392 393 394 395 396 397 |
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 390 class PredictedItem < Struct.new( :item_id, :score, :promotion_name, :metadata) SENSITIVE = [] include Aws::Structure end |
#promotion_name ⇒ String
The name of the promotion that included the predicted item.
390 391 392 393 394 395 396 397 |
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 390 class PredictedItem < Struct.new( :item_id, :score, :promotion_name, :metadata) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
A numeric representation of the model's certainty that the item will be the next user selection. For more information on scoring logic, see how-scores-work.
390 391 392 393 394 395 396 397 |
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 390 class PredictedItem < Struct.new( :item_id, :score, :promotion_name, :metadata) SENSITIVE = [] include Aws::Structure end |