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

Setting up the Academy

An Academy object and component represents the training environment where we define the training configuration for our agents. You can think of an Academy as the school or classroom in which our agents will be trained. Open up the Unity editor and select the Academy object in the Hierarchy window. Then, follow these steps to configure the Academy component:

  1. Set the properties for the Academy component, as shown in the following screenshot:
Setting the properties on the Academy component of the Academy object
  1. The following is a quick summary of the initial Academy properties we will cover:
    • Max Steps: This limits the number of actions your Academy will let each Agent execute before resetting itself. In our current example, we can leave this at 0, because we are only doing a single step. By setting it to zero, our agent will continue forever until Done is called.
    • Training Configuration: In any ML problem, we often break the problem into a training and test set.  This allows us to build an ML or agent model on a training environment or dataset. Then, we can take the trained ML and exercise it on a real dataset using inference.  The Training configuration section is where we will configure the environment for training.
    • Infrerence Configuration: Inference is where we infer or exercise our model against a previously unseen environment or dataset. This configuration area is where we set parameters when our ML is running in this type of environment.

The Academy setup is quite straightforward for this simple example. We will get to the more complex options in later chapters, but do feel free to expand the options and look at the properties.

主站蜘蛛池模板: 梅河口市| 南川市| 义乌市| 郴州市| 栾城县| 绥滨县| 女性| 龙门县| 双城市| 阆中市| 乌什县| 汝州市| 永兴县| 麻栗坡县| 闵行区| 樟树市| 绥阳县| 石景山区| 余江县| 从江县| 富阳市| 双桥区| 岑巩县| 永宁县| 盘山县| 滁州市| 余姚市| 太仆寺旗| 颍上县| 杭锦旗| 密山市| 油尖旺区| 雷波县| 济宁市| 军事| 方山县| 玛沁县| 福泉市| 呼玛县| 黔西县| 普兰店市|