seldonian.RL.Env_Description.Spaces.Discrete_Space

class Discrete_Space(min, max)

Bases: object

__init__(min, max)

Discrete space used for observations or actions

Parameters:
  • min (int) – Minimum value of the space

  • max (int) – Maximum value of the space

__repr__()

Return repr(self).

Methods

get_num_values()

Get the total number of values in the space