GroundedInteraction

class coba.primitives.GroundedInteraction

Bases: Interaction

An interaction with feedbacks for Interaction Grounded Learning.

Constructors

__init__(context: Context, actions: Actions, rewards: Rewards | Sequence[Reward], feedbacks: Rewards | Sequence[Reward], **kwargs) None

Instantiate GroundedInteraction.

Parameters:
  • context – Features describing the interaction’s context.

  • actions – Features describing available actions during the interaction.

  • rewards – The reward for each action in the interaction.

  • feedbacks – The feedback for each action in the interaction.

  • **kwargs – Additional information that should be recorded in the interactions table of an experiment result.