giovanni wrote:Thanks for your answer, but I wasn't able to find a way how to view and edit a book in xboard. Could you detail a little bit more your answer?
Select "Edit Book" from the "Edit" menu.
A window like this should appear:
It would edit the book currently configured as GUI book, through the "Common Engine Options" dialog. (In the "Options' or the "Engine" menu, depending on which XBoard version you use.)
Thanks. May I choose any book to edit or it has to be the one that comes with the engine I am using?
Any book. Just select the book first and then go to edit book.
(SCID BTW has the same option in newer versions, but XB/WB shows slightly more info IIRC)
giovanni wrote:Thanks for your answer, but I wasn't able to find a way how to view and edit a book in xboard. Could you detail a little bit more your answer?
Select "Edit Book" from the "Edit" menu.
A window like this should appear:
It would edit the book currently configured as GUI book, through the "Common Engine Options" dialog. (In the "Options' or the "Engine" menu, depending on which XBoard version you use.)
I'm guessing the number after the weight, is the raw data (wins x2 + draws x1), but what're the fractions?
The numbers in braces are the learn fields: half-points and number of games during learning.
BTW, the percentage cannot/neednot be edited; it is automatically recalculated based on the weights when you commit the edited data to book.
With the 'add next move' button you can cause the next move you play on the board to be a added to the list with weight 1.
hgm wrote:The numbers in braces are the learn fields: half-points and number of games during learning.
BTW, the percentage cannot/neednot be edited; it is automatically recalculated based on the weights when you commit the edited data to book.
According to Ed Schröder, "Polyglot opening books lack learning". I guess he wasn't aware of this thread, neither was I.
To be honest, I think the best way to have your bin book learn something, is by updating the DB. But I see that might be a problem for those manually editing weights (it can be done with Scid).
I guess that the learning is meant to have a much faster effect. The intended application is to find out which openings your engine is comfortable with, and which not. If it tries a certain line 10 times, and loses all 10 games, it seems rather foolhardy to keep trying it. Even though in the database it might have been played 5000 times, with a 53% score. You don't want to lose 500 games before you conclude that the move makes the engine score below average.
hgm wrote:I guess that the learning is meant to have a much faster effect. The intended application is to find out which openings your engine is comfortable with, and which not. If it tries a certain line 10 times, and loses all 10 games, it seems rather foolhardy to keep trying it. Even though in the database it might have been played 5000 times, with a 53% score. You don't want to lose 500 games before you conclude that the move makes the engine score below average.
That's clearly a concern, but it should be addressed at the DB level, by giving priority to recent games, for example. Not exactly what I do, but then, I don't need to
Well, it is addressed that way. To give priority to recent games you would have to be able to distinguish recent games from other games. So the book keeps separate statistics for the recent games.
giovanni wrote:Is it possible to view a book file in bin format? I mean, a view of a ctg format book a la ChessBase would be perfect.
Thanks in advance.
Giovanni
Thanks to all people that contributed to this thread. Both Xboard and scid are indeed excellent and free tools to view and edit bin book file. Thanks to the authors for providing them.