Hi!
On Sun, Aug 14, 2011 at 10:41:04AM +0200, Rémi Coulom wrote:
> I am working on a black-box parameter-optimization paper now, and I'd like to
> include experiments with a Go program. Of course, I already ran a lot of
> experiments with Crazy Stone, but for an academic paper I'd rather publish
> experiments with an open-source program so that they can be easily
> replicated. I would like a program whose parameters can be set at run time,
> either on the command line or via gtp commands. Coefficients of the UCT
> formula are the typical kind of parameter I'd like to tune.
Almost all parameters and features of Pachi (including pluggable
policies and such) can be tuned via command line. Unfortunately, there
is no explicit documentation, but there are some examples available and
large chunks of code handling the parameters setup should be reasonably
self-describing. For example, let's assume you want to switch from heavy
to light playouts, turn off dynamic komi, enlarge score-value scaling
coefficient and change UCT tree policy parameters rave_equiv
(for beta) and explore_p (the exploration coefficient, by default zero
in Pachi) - pass this parameter to Pachi:
playout=light,dynkomi=none,val_scale=0.1,policy=ucb1amaf:rave_equi=2000:explore_p=0.05
The main parameters are parsed in uct/uct.c, playout=moggy
sub-parameters are parsed in playout/moggy.c, policy=ucb1amaf
sub-parameters are parsed in uct/policy/ucb1amaf.c, etc. I will be also
happy to point you at parameters for specific features if you want.
--
Petr "Pasky" Baudis
UNIX is user friendly, it's just picky about who its friends are.
_______________________________________________
Computer-go mailing list
[email protected]
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go