Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: new Crafty SE feature - GM personality opening books.....

Author: David Dahlem

Date: 15:58:47 10/10/04

Go up one level in this thread


Hi Mike

Nice work! I also created some personality books, although i didn't take the
time and effort to hand tune them. So i'm sure yours are much better. I assume
you included all games of the GM, wins, losses, and draws?

Personally, i wouldn't want the regular Crafty books to kick in after the GM
book. That would seem to defeat the purpose of a GM book. Easy to remedy, i can
just move or rename the regular Crafty books. :-)

Regards
Dave

>The next release will have personality opening books for the current 24 GM
>personalities ....
>It will be almost automatic/transparent to the user .
>
>For example if you load a GM personality (say "fischer" ) via crafty.rc the
>Fischer.bin , Crafty SE will offload the current small opening book  (books.bin)
>and replace with it Fischer.bin  -- the process will be virtually transparent to
>the user once you all the books set up.
>
>If you use the random personality feature "krafty ranper 23-46", it randomly
>selects one of the personalities and it will then load the appropriate book for
>that personality ( as described above., it will offload the existing small
>guiding book (standard crafty call this "books.bin" (or which ever personality
>book file is loaded in its place), and loads the appropriate GM personality to
>match the style that is playing.
>
>The personality books are not only based the actual moves played by the GM, but
>also the percentage the GM in actual games - for example in Fischer published
>games, he played the King's Gambit nearly 10% of the time against e4 e5.  Many
>of us know that Fischer played e4 nearly all the time, the Sicilian against e4
>but how about when he played against the Sicilian
>
>[d] rnbqkb1r/pp3ppp/3ppn2/8/3NP3/2N5/PPP2PPP/R1BQKB1R w KQkq - 0 6
>
>What move would Fischer played here?
>
>Fischer played 6. g4! in six of the 8 games  when playing against the Sicilian,
>Scheveningen, Keres Attack (B81)
>
>The Crafty SE [Fischer} personality will likewise play g4 88% of the time in
>this position.
>
>http://www.chessgames.com/perl/chessopening?eco=B81
>
>The hand tuning of the book to mirror the % of moves played in a given position
>is extremely time consuming.  I have just of the hand tuned books complete at
>this time.
>
>I have completed the opening books for all 24 GM's using standard automation
>tools.  These books will still stay with moves played by the GM until the game
>goes outside their standard opening play.  At that point, the Crafty's regular
>book will kick in.  The automated books play all the moves by GM, but not in the
>true percentages actually played by the GM when faced with a given position.
>
>When I "hand tune" a book, I can mirror the % percentages actually play by the
>GM to be almost exactly the same position.  The hand tuned Fischer book took me
>about 8 hours to complete.
>
>If you prefer to have your own GM books, I created a tool to generate all the
>books automatically.  All you need is 24 pgn files, one representing each GM,
>alekhine.pgn , etc.  The prefix of the pgn files have to be spelled exactly as I
>spelled the personality in Crafty SE (alekhine.pgn) .  Run this tool in the same
>folder as the pgn file, it will create 24 book.bin's - each will be named after
>the personality 'alekhine.bin' etc.  Crafty SE will open the appropriate book
>file whenever you start that krafty personality.  Either by typing "krafty
>alekhine" in the crafty.rc file or using the the random personality option
>"krafty ranper 23 46"  The personality books are not just for the GM
>personalities, you also have separate books for the non GM personalities - the
>method is the same.
>
>If just need to create a book for one personality, start crafty in the console
>window, change to the personality that you want to create the book for - say
>"krafty euwe" -- then use the same book creation command as regular crafty
>"book create euwe.pgn 40 1 0" (if these options are your preference I like
>making books where all it will the possibility to play every move that GM ever
>played in a given position see Crafty readme for more details about book
>creation).
>
>One last thing, you have to mark every move played  by the GM in the pgn file
>with an "!" (exclamation point) for that move to marked as playable in the [gm
>book].bin file.



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.