LoggedInteraction
- class coba.primitives.LoggedInteraction
Bases:
InteractionAn interaction with a reward and propensity score for an action.
Constructors
- __init__(context: Context, action: Action, reward: Reward, probability: Prob | None = None, **kwargs) None
Instantiate LoggedInteraction.
- Parameters:
context – Features describing the logged context.
action – Features describing the action taken by the logging policy.
reward – The reward that was revealed when the logged action was taken.
probability – The probability that the logged action was taken. That is P(action|context,actions,logging policy).
**kwargs – Any additional information.