Grounded

class coba.environments.Grounded

Transform simulated interactions to IGL interactions.

Constructors

__init__(n_users: int, n_normal: int, n_words: int, n_good: int, seed: int) None

Instantiate a Grounded filter.

Parameters:
  • n_users – The number of users in the grounded environment.

  • n_normal – The number of users with normal grounded behavior.

  • n_words – The number of potential feedback words for users.

  • n_good – The number of words that mean good out of the n_words.

  • seed – Seed for all random values.

Remarks:

See here for more on interaction grounded learning.

Methods

filter(interactions: Iterable[Interaction]) Iterable[Interaction]

Apply filter to an Environment’s interactions.

Attributes

params