| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.PersonalizeRuntime.Types.PredictedItem
Description
Documentation
data PredictedItem Source #
An object that identifies an item.
The and APIs return a list of PredictedItems.
See: newPredictedItem smart constructor.
Constructors
| PredictedItem' | |
Fields 
  | |
Instances
newPredictedItem :: PredictedItem Source #
Create a value of PredictedItem with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:itemId:PredictedItem', predictedItem_itemId - The recommended item ID.
$sel:promotionName:PredictedItem', predictedItem_promotionName - The name of the promotion that included the predicted item.
$sel:score:PredictedItem', predictedItem_score - 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.
predictedItem_itemId :: Lens' PredictedItem (Maybe Text) Source #
The recommended item ID.
predictedItem_promotionName :: Lens' PredictedItem (Maybe Text) Source #
The name of the promotion that included the predicted item.
predictedItem_score :: Lens' PredictedItem (Maybe Double) Source #
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.