gym environment, the action space is often a discrete space, where each action is labeled by an integer. I cannot find a way to figure out the correspondence between action and number. For example, in frozen lake, the agent can move Up, Down, Left or Right. The code:
import gym env = gym.make("FrozenLake-v0") env.action_space
Discrete(4), showing that four actions are available. If I
env.step(0), which direction is my agent moving?