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

Class: Aws::PersonalizeRuntime::Types::PredictedItem

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

An object that identifies an item.

The and APIs return a list of PredictedItems.

Instance Attribute Summary collapse

Instance Attribute Details

#item_idString

The recommended item ID.

Returns:

  • (String)

    The recommended item ID.

#scoreFloat

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.

Returns:

  • (Float)

    A numeric representation of the model\'s certainty that the item will be the next user selection.