seldonian.RL.Env_Description.Env_Description.Env_Description

class Env_Description(observation_space, action_space)

Bases: object

__init__(observation_space, action_space)

Describes an environment’s observation and action space and provides convenience methods for accessing the environment’s attributes

Parameters:
  • observation_space – Discrete or continuous space describing observations made in the environment

  • action_space – Discrete or continuous space describing possible actions taken in the environment

__repr__()

Return repr(self).

Methods

get_min_action()

Get first action in the action space

get_min_state()

Get first obs in the observation space

get_num_actions()

Get number of actions

get_num_observation_dims()

Get the number of dimensions in the observation space

get_num_states()

Get number of states (also called observations here)