- Python Reinforcement Learning Projects
- Sean Saito Yang Wenzhuo Rajalingappaa Shanmugamani
- 305字
- 2021-07-23 19:05:00
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.
- Internet接入·網絡安全
- 傳感器技術實驗教程
- 21天學通C++
- 80x86/Pentium微型計算機原理及應用
- 21天學通C#
- 教育機器人的風口:全球發展現狀及趨勢
- SQL Server數據庫應用基礎(第2版)
- The DevOps 2.1 Toolkit:Docker Swarm
- 重估:人工智能與賦能社會
- Data Analysis with R(Second Edition)
- Microsoft System Center Data Protection Manager Cookbook
- 中老年人學電腦與上網
- 信息系統安全保障評估
- Data Science with Python
- 自動化生產線組建與調試(第2版):以亞龍YL-335B為例(三菱PLC版本)