Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty 19.4

Author: Robert Hyatt

Date: 09:36:46 11/10/03

Go up one level in this thread


On November 10, 2003 at 11:33:17, Bryan Hofmann wrote:

>A few questions as I have seached high and low and have not found any answers to
>these;
>
>1. When preforming a "make profile" (with gcc) do you use the book.bin and
>books.bin files?

Yes, although there is no need to do so.  I have one book position in the
profile positions to produce profile information for the book selection code.
Why, I don't know, since this is not exactly time-critical code. :)

>
>2. How can you make Crafty learn from a EPD after it has performed an analysis?
>(ie import into the book.lrn).

I am not sure what you are asking about.  When crafty plays a game, it
automatically learns and updates the book.bin file.  the book.lrn file is
just an ascii representation of what it learned that can be given to other
Crafty users, or whatever.  You can use the "import" command but there is
no need as it has already been included in the book.bin information.




>
>3. When creating a book file (from the gm2600.pgn on Dr. Hyatt's site) is is
>better to do a 60 2 100 or a 60 2 50 for stronger performance?
>

Here is the issue.  For every move played in a game, there is a probability
that it is either not best, or even that it is an outright blunder made near
a time control.  If you limit the book lines to something pretty short, you
tend to reduce the probability that your "game" has an error in it, for
obvious reasons.  The shorter, the less chance there is a gross blunder.  Of
course, if you reduce the length to zero you are _certain_ there are no
blunders.  :)

I tend to use 50 as the normal number for my books.  But it is probably
irrelevant if you use the "played N times" value.  IE here is the way I
build the book I use on ICC:

book create file.pgn 60 10 50

This says create a file with each line being no longer than 60 plies,
each move played at least 10 times (at least 10 games have this move
in this position played) and at least 50% of the games were won by the
side to move.

That makes the book fairly reliable, and also fairly small.

That's how the book.bin file on my ftp machine was made from the
enormous.pgn file also located there.  This produces a 13 mb book
file which is managable and pretty reliable.





>
>Thanks
>
>Bryan



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.