Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opening books

Author: Tony Werten

Date: 04:00:49 02/02/00

Go up one level in this thread


On February 02, 2000 at 05:19:40, Colin Frayn wrote:

>On February 01, 2000 at 14:42:02, Dann Corbit wrote:
>
>OK, I basically just added a new function into my chess program, ColChess, to
>learn openings as it goes along (as you know, Dann).  I taught it pretty much
>nothing at the beginning, about 6 positions like open with e4 or d4 all the
>time, reply e4 with e5 or c5, and reply d4 with d5 or Nf6, and maybe 2 more, and
>then I let it run against GNUChess for 50 games with a fairly secure learning
>algorithm which basically means that it will pick out the winning openings, but
>not overstretch itself so that it learns a bad opening after a blunder, which is
>a waste of space and time.
>
>I just left it running against Crafty last night for another 50 games, and the
>opening book is already 108 positions, and is growing by the minute :)
>
>The benefits that I can see of this method are multiple.  Especially;
>
>(1) It learns only the good openings.
>(2) It finetunes the weighting so that it plays its best openings more often.
>(3) It saves me typing the whole damn lot in, or writing a parser for existing
>pgn ones.
>
>The only problem is that, playing against Crafty I'm not going to win any of the
>matches, so at the moment it's just learning the book from Crafty's perspective.
>Hopefully, once the book is large enough, I can somehow cripple GNUChess or
>something, and my program should be able to win rather often, meaning that it
>can finetune the book so that it only plays the openings it like :)
>
>Well, that's the theory, anyway...
>
>Let me know if I'm being an idiot;)

No problem, I don't think that's the case. I think the theory is correct as
well. Only problem is the time it will take. If I understood correctly you got
108 positions after 2 nights. ( and 100 games )

I'm not sure how the math works, but I'm affraid it'll take a lot of nights (
and games ) before you reach 2000 positions.

Maybe writing a parser and selecting 'good' games is a bit faster.

Cheers,

Tony

>
>Cheers,
>Colin



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.