官术网_书友最值得收藏!

The agent

The goal of a reinforcement learning agent is to learn to perform a task well in an environment. Mathematically, this means to maximize the cumulative reward, R, which can be expressed in the following equation:

We are simply calculating a weighted sum of the reward received at each timestep.is called the discount factor, which is a scalar value between 0 and 1. The idea is that the later a reward comes, the less valuable it becomes. This reflects our perspectives on rewards as well; that we'd rather receive $100 now rather than a year later shows how the same reward signal can be valued differently based on its proximity to the present.

Because the mechanics of the environment are not fully observable or known to the agent, it must gain information by performing an action and observing how the environment reacts to it. This is much like how humans learn to perform certain tasks as well.

Suppose we are learning to play chess. While we don't have all the possible moves committed to memory or know exactly how an opponent will play, we are able to improve our proficiency over time. In particular, we are able to become proficient in the following:

  • Learning how to react to a move made by the opponent
  • Assessing how good of a position we are in to win the game
  • Predicting what the opponent will do next and using that prediction to decide on a move
  • Understanding how others would play in a similar situation

In fact, reinforcement learning agents can learn to do similar things. In particular, an agent can be composed of multiple functions and models to assist its decision-making. There are three main components that an agent can have: the policy, the value function, and the model. 

主站蜘蛛池模板: 通道| 临海市| 高台县| 巧家县| 岑溪市| 寻甸| 郯城县| 宣汉县| 哈巴河县| 任丘市| 栖霞市| 富蕴县| 宜昌市| 阳信县| 固镇县| 东乡县| 云林县| 慈利县| 景德镇市| 晋州市| 县级市| 沅江市| 香港| 威远县| 遂溪县| 大城县| 启东市| 璧山县| 辽宁省| 民县| 丰宁| 长治市| 富蕴县| 临清市| 桦南县| 耿马| 泾川县| 灌南县| 阿尔山市| 台北县| 安康市|