Blogs / What a Reinforcement Learning Environment Is

What a Reinforcement Learning Environment Is

What a Hugging Face post says an RL environment gives an agent, what its rewards are for and what an environment is made of.

  • Learning
  • 1 min read

For: Learners who know what a machine learning model is.

What an environment does

An environment gives an agent a task, responds to its actions with observations, and scores the outcome.[1]

What the rewards are for

The resulting rewards can measure an agent's performance during evaluation or provide a learning signal during training.[1]

A taskgiven to the agentThe agent's actionsanswered with observationsA scorerewards for evaluation or alearning signal fortrainingscored by
What does an environment do with an agent?

What an environment is made of

An environment is tasks, tests, containers, and a reward rule, which are data with a runtime on top.[1]

Sources

  1. Welcome RL Environments to the hub (huggingface.co · checked )

More articles