Common Usage
Start:
#br
>>''Common usage of running the demo programs is describe...
#br
* Build the Demo Program [#v1ba860f]
Execute:
$ cd benchmarks/DEMO_DIR
$ make
Here, DEMO_DIR is each demo directory.
See [[Documentation/Installation Guide]] for the detail.
* Running Command [#a9fbd19a]
Execute as follows:
$ ./DEMO_PRG -path PATH_LIST -agent AGENT_FILE -outdir ...
Here, the demo-specific elements are:
:DEMO_PRG| Demo program whose name is *.out.
:PATH_LIST| Comma separated path list for the demo progra...
:AGENT_FILE| Comma separated agent script(s) in which a r...
:OUT_DIR| Result directory into which the program store s...
* Result Analysis [#h9cbb14c]
In OUT_DIR, the following files are stored:
:cmdline| Command line of the execution.
:before.agent, after.agent| A whole agent script generate...
:ext_sto| External storage directory (maybe not used in t...
:included| Directory to store the copy of every included ...
:log-eps-ret.dat| Log file of (episode number, return in ...
:log-action-res.dat| Log file of each action.
For example, use gnuplot to plot the learning curve as:
$ gnuplot
gnuplot> plot 'log-eps-ret.dat' w l
#ref(rl1-eps-ret.png,center,zoom,300x0)
* Miscellaneous [#heb72746]
In order to specify the random seed, just append an agent...
$ ./maze2d.out -path ../cmn,m -agent ql_da1,seed0 -outd...
This is a case of the Maze2D task.
Here, seed0 is m/seed0.agent; in this file, the random se...
By specifying the random seed, we can obtain the same res...
End:
#br
>>''Common usage of running the demo programs is describe...
#br
* Build the Demo Program [#v1ba860f]
Execute:
$ cd benchmarks/DEMO_DIR
$ make
Here, DEMO_DIR is each demo directory.
See [[Documentation/Installation Guide]] for the detail.
* Running Command [#a9fbd19a]
Execute as follows:
$ ./DEMO_PRG -path PATH_LIST -agent AGENT_FILE -outdir ...
Here, the demo-specific elements are:
:DEMO_PRG| Demo program whose name is *.out.
:PATH_LIST| Comma separated path list for the demo progra...
:AGENT_FILE| Comma separated agent script(s) in which a r...
:OUT_DIR| Result directory into which the program store s...
* Result Analysis [#h9cbb14c]
In OUT_DIR, the following files are stored:
:cmdline| Command line of the execution.
:before.agent, after.agent| A whole agent script generate...
:ext_sto| External storage directory (maybe not used in t...
:included| Directory to store the copy of every included ...
:log-eps-ret.dat| Log file of (episode number, return in ...
:log-action-res.dat| Log file of each action.
For example, use gnuplot to plot the learning curve as:
$ gnuplot
gnuplot> plot 'log-eps-ret.dat' w l
#ref(rl1-eps-ret.png,center,zoom,300x0)
* Miscellaneous [#heb72746]
In order to specify the random seed, just append an agent...
$ ./maze2d.out -path ../cmn,m -agent ql_da1,seed0 -outd...
This is a case of the Maze2D task.
Here, seed0 is m/seed0.agent; in this file, the random se...
By specifying the random seed, we can obtain the same res...
Page: