- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- Micheal Lanham
- 288字
- 2021-08-13 15:58:25
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:
- Set the properties for the Academy component, as shown in the following screenshot:

Setting the properties on the Academy component of the Academy object
- 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.
推薦閱讀
- MySQL高可用解決方案:從主從復(fù)制到InnoDB Cluster架構(gòu)
- 在你身邊為你設(shè)計(jì)Ⅲ:騰訊服務(wù)設(shè)計(jì)思維與實(shí)戰(zhàn)
- 達(dá)夢數(shù)據(jù)庫編程指南
- 數(shù)據(jù)庫基礎(chǔ)與應(yīng)用:Access 2010
- 正則表達(dá)式必知必會
- Power BI商業(yè)數(shù)據(jù)分析完全自學(xué)教程
- Hadoop大數(shù)據(jù)開發(fā)案例教程與項(xiàng)目實(shí)戰(zhàn)(在線實(shí)驗(yàn)+在線自測)
- Oracle數(shù)據(jù)庫管理、開發(fā)與實(shí)踐
- Filecoin原理與實(shí)現(xiàn)
- 數(shù)據(jù)庫應(yīng)用系統(tǒng)技術(shù)
- 數(shù)據(jù)庫原理與設(shè)計(jì)實(shí)驗(yàn)教程(MySQL版)
- 數(shù)據(jù)分析方法及應(yīng)用:基于SPSS和EXCEL環(huán)境
- 數(shù)據(jù)會說話:活用數(shù)據(jù)表達(dá)、說服與決策
- SQL Server 2012 數(shù)據(jù)庫教程(第3版)
- 數(shù)據(jù)可視化五部曲