|
Quick Software Introduction |
|
|
|
Page 6 of 10 Running your first graphical experiment Running your first experiment is as simple as choosing a trainer and an agent and running the run.bash script in each of their directories. Details about trainers and agents are explained later in this file.
For now, to run a random agent on any of the Java domains, open two terminal windows:
Terminal 1: $>cd trainers/guiTrainerJava $>bash run.bash
Terminal 2: $>cd agents/randomAgentJava $>bash run.bash
This will bring up the rlVizApp visualization window. Choose the problem you want to use (GeneralizedMountainCar, GeneralizedTetris, GeneralizedHelicopter, or Polyathalon), press "Load Experiment", and press "Start". Voila! You can select the speed of the experiment using the slider bar, or proceed one time-step at a time by pressing "stop" and then "step" repeatedly.
Since you are running the random agent, the experiment is probably not going very well. To see better results, try running one of the specialized sample agents and matching the environment appropriately. Notice that if you mismatch the agents and environments (run the mountain car agent on Tetris), the experiment may crash.
|