Skip to content

OptimizationObjective

Source code in docs_src/capo_personalize/types/optimization_objective.py
class OptimizationObjective(TypedDict, closed=True):
    item_attribute: NotRequired["capo_personalize.types.item_attribute.ItemAttribute"]
    """<p>The numerical metadata column in an Items dataset related to the optimization objective. For example, VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).</p>"""
    objective_sensitivity: NotRequired[
        "capo_personalize.types.objective_sensitivity.ObjectiveSensitivity"
    ]
    """<p>Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.</p>"""

item_attribute instance-attribute

item_attribute: NotRequired[ItemAttribute]

The numerical metadata column in an Items dataset related to the optimization objective. For example, VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).

objective_sensitivity instance-attribute

objective_sensitivity: NotRequired[ObjectiveSensitivity]

Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.