Moderator: Andres Valverde
H.G.Muller wrote:To edit the book, you would simply replace the weights (7800 or 65520 in this case) by what you want it to be, by typing into the Edit Book window, and press OK. The info in the window is then written back into the book. (You'd better not write something invalid there, like illegal moves or nonsense messages, as in this primitive implementaton there is no validity checking before writing the info back to the book, and it will only write back the stuff upto the point where it encounters something invalid. So you could lose moves from the book by this!) The learning info tells you that you played two games with 1.d4, and won them both (4 half-points), and 1 game with 1.e4, which was a draw (1 half-point). Results when the opponent played white are not incorporated. You could also edit that before you OK the dialog (but there seems little point in doing that).
H.G.Muller wrote:Idon't think you would ever have to log off, to edit the opening book. Whether you do it with SCID or with WinBoard. The weights are the nominal realtive playing probabilities. WinBoard used them if 'book variation' is set to 50. At other values of book variation it raises them to a power (ranging from 0 to infinity) first.
Book=true
BookLearn=true
BookRandom=true
BookDepth=99
BookTreshold=5
BookFile=C:\PolyGlot\Bin\PCG-Beta3-X.Bin
H.G.Muller wrote:The version I uploaded now should fix it.
Well, a separate UseLearn option could be useful. The patch I made makes the use of learn info subject to the BookLearn option, so people that would swicth BookLearn off would not be bothered by it. Only people that want to use BookLearn would have to be worried about not starting with a polluted book.
But I don't think the danger is very bad, and the solution you propose is quite inefficient (as space is already reserved for the learn info, and would presumably stay reserved for backward comptibility). And the two-books approach is very error prone, because the books can get out of phase on editing (adding or deleting a move). That seems much worse, and more difficult to check by the user than the problem of books poluted with prior learn info. (To check that, the user can simply open the entry for the opening position for editing, and see if there is learn info in there.)
The main application I see is to adapt an aready good book to peculiarities of a specific engine (weeding out lines leading to positions it does not understand well, as evidened by their results). I don't see the need for very controlled conditions for that. (And you might want to have a diffeent book for blitz and long TC anyway.)
Michel wrote:(In fact a better way to do learning might be as follows: save the games in a pgn-file, use pgn-extract to extract the useful ones
and then use the book merge command of polyglot to make a new book. Possibly the merge command should be enhanced to make this really work)
I don't expect this to be a better way, as you cannot use the information while it is laying the games.
Return to Winboard and related Topics
Users browsing this forum: No registered users and 10 guests