quick tutorial on tuning ctg books

Post Reply
User avatar
quade1337
Advanced Member
Advanced Member
Posts: 66
Joined: 20 Jun 2009 03:43

quick tutorial on tuning ctg books

Post by quade1337 »

OK so i got fritz 13.

I go to file open new database
then i import my pgn games from yahoo
i click on the game i lost
i do a blunder check
what do i do next?

i know fritz can autonte for you. or is this not how u tune the book

User avatar
quade1337
Advanced Member
Advanced Member
Posts: 66
Joined: 20 Jun 2009 03:43

Re: quick tutorial on tuning ctg books

Post by quade1337 »

do i then go to analyze section. opening book. click learn from database? i chose only to checkmark learn from losses. is that it?

do i also have to import the games to the book? or is learn from database enough

User avatar
quade1337
Advanced Member
Advanced Member
Posts: 66
Joined: 20 Jun 2009 03:43

Re: quick tutorial on tuning ctg books

Post by quade1337 »

lol is not constructive at all. If you have nothing helpful to say plz dont post.

Either help or dont post

goldminer999
Moderator
Moderator
Posts: 200
Joined: 21 Apr 2008 07:05

Re: quick tutorial on tuning ctg books

Post by goldminer999 »

quade1337 wrote:OK so i got fritz 13.

I go to file open new database
then i import my pgn games from yahoo
i click on the game i lost
i do a blunder check
what do i do next?

i know fritz can autonte for you. or is this not how u tune the book
Here is one way to hand tune the book that I have found very successful although it takes some time and effort. Use the book to play some engine games. Then play back over the games until you reach the point where either the book line ends and there are no more book moves, or the point at which you begin to get negative evaluations. Then set your engine on infinite analysis for a while so it goes quite deep in it's search and by doing this you will find the best next move - then add this move to the book line to extend it. Then next time your engine plays the same line it will make this better stronger move. You do not need to add the game to the book.

To manually edit the book go into Fritz and do File/Open/Openings Book and select the book you want to edit. Then select the Openings Book tab on right hand side of screen. Basically you can either:

Add a new move to the book, To do this right click somewhere in that book area (not on a move just in empty space) and tick Allow Move Adding. then when you play back through a game and want to add new line, just make the move on the actual board and then select new main line from the options. This will then have added the move to the book. You can do this for as many moves as you like so you can extend a book line quite significantly.

Change the 'weighting' of an existing move making it more/less likely to be chosen. This is shown in the Prob / % column. To change it right click on the actual move itself and do change weight. The value is from -125 (very unlikely to be picked) to +125 (very likely to be picked). You can change these manually to any value. Actually this is what the automatic book learning does based on whether games are won or lost - but this is how you do it manually.

Mark moves either red (means they won't be played ever) or green (mean they will be picked, with a probablility given by the % column). To make a move red right click on it and select Don't play in tournament
To make a move green right click on it and select Main Move. You might want to make a move red if you find that at some point in the book line you had a negative evaluation and therefore you can mark that move red so it won't be played again.

Learn from Database is different - it is a feature you can use to enhance your openings book. It looks at the games of the chosen database and pretends it has played them itself (which of course it hasn't). On the basis of the results it changes the weightings of individual variations - so your book weightings are updated as though you have played all of the games. (the 'weighting' of an existing move makes it more/less likely to be chosen). You can change these manually to any value but this is what the automatic book learning does based on whether games are won or lost).

Because learn from database adds the statistics from a selected database without actually importing the moves into the tree - when applying the learning you can either use the database you have made your book from, or a subset of it, or even a completely different one (If a different one then the program "learns" from the experience of other players). One idea is to use a smaller subset of games as your Learn Base eg. it could be selection of high quality games from high elo players.
When using this feature you can set a number of learning parameters:
Wins: Only won games are used, the program increases the weights of white moves if White won
and black moves if Black won.
Losses: Only losses are considered. If White lost, the white moves are reduced, and if Black lost, the black moves are reduced.
White: The program evaluates the games from the point of view of White only. The weights for white moves are increased if White won, and decreased if White lost.
Black: The weights for black moves are increased if Black won, and decreased if Black lost.
Player: Only considers the games of one specific player in the database.
These five options can be combined in any way you like. You can also restrict the import to a certain number of games in the database by selecting "Games" at the top of the dialog box.

Hope this helps.

Post Reply