Return to the Unity editor and follow these steps to configure the agent:
- Select the Brain object in the Hierarchy window.
- Set the Simple Decision component parameters, as shown in the following screenshot:
Agent configuration beside the agent running
- After you enter the parameters, save the project and scene.
- Press Play to run the scene, and with the Brain object selected, observe how the values for each action (0 for action 1) quickly converge to the reward values for each arm pull. The preceding screenshot also shows this. Remember that in the last chapter, we set these to the following:
- Arm 1 = Gold = 3 reward ...