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

Identifying episodes

We mentioned earlier that the agent explores the environment in numerous trials-and-errors before it can learn to maximize its goals. Each such trial from start to finish is called an episode. The start location may or may not always be from the same location. Likewise, the finish or end of the episode can be a happy or sad ending.

A happy, or good, ending can be when the agent accomplishes its pre-defined goal, which could be successfully navigating to a final destination for a mobile robot, or successfully picking up a peg and placing it in a hole for an industrial robot arm, and so on. Episodes can also have a sad ending, where the agent crashes into obstacles or gets trapped in a maze, unable to get out of it, and so on.

In many RL problems, an upper bound in the form of a fixed number of time steps is generally specified for terminating an episode, although in others, no such bound exists and the episode can last for a very long time, ending with the accomplishment of a goal or by crashing into obstacles or falling off a cliff, or something similar. The Voyager spacecraft was launched by NASA in 1977, and has traveled outside our solar system – this is an example of a system with an infinite time episode.

We will next find out what a reward function is and why we need to discount future rewards. This reward function is the key, as it is the signal for the agent to learn.

主站蜘蛛池模板: 广西| 宜城市| 余干县| 嘉鱼县| 比如县| 江城| 抚顺县| 临西县| 宣化县| 西乌珠穆沁旗| 利津县| 承德市| 隆林| 兴业县| 六安市| 肥乡县| 资中县| 仙游县| 称多县| 芜湖县| 临沧市| 石城县| 延川县| 双桥区| 郑州市| 河间市| 伊吾县| 大竹县| 临汾市| 苍山县| 广元市| 晋州市| 杭锦后旗| 甘孜| 沈阳市| 涞水县| 长治市| 偏关县| 伊宁市| 隆林| 中宁县|