Not logged inRybka Chess Community Forum
Up Topic The Rybka Lounge / Computer Chess / about bin books
- - By ccarica (*) Date 2009-02-25 22:50
hi all. i wanted to now,which can be the best move to give a higher value on bin  books tunning,how can i now this because when i made a bin book all the value are the same,so how can i now which its the best moves to make higher value with scid,please reply
Parent - - By ChessKnight (**) Date 2009-02-25 23:30
ccarica

Here is the reply from Marc Lacrosse pn my query, hope this will useful to you as well:

"Marc Lacrosse wrote┬╗

   
Polyglot.exe has all required .bin book-making functions
They are deteiled near the end of the excellent readme file that comes with it. You should have a look :-)

The most simple way is to do something like :

polyglot.exe make-book -pgn MyGameCollection.pgn -max-ply 50 -min-game 3 -min-score 30 -bin MyPolyglotBook.bin

This means that your book :
- goes 50 plies deep
- will only include moves that have been played at least three times in the underlying PGN base.
- will only include moves leading to a global score superior to 30% for the side to move.

When there are several candidate moves fulfilling these conditions for a given position, polyglot will choose more often those that had better results and/or were played more often.

This is only the basis : a book made with these parameters should be good (if the choice of games is good) but not excellent.

Then there is the most powerful book-making feature of Polygot : the possibility to combine several elementary books made with different parameters into one (supposedly) better book through the book-merge feature.

Performance.bin was made from six such books.

Then you may tune the book by hand, changing the "weight" of candidate moves in the SCID database program. SCID does not allow to add a new move in a book. In case you wish to, you may use the ad hoc utility by Michel Van den Bergh (see his posts mainly on the Winboard forum and also on the CCC).

Marc"

Rest you can hand tune each and every single move by using SCID.

ChessKnight
Parent - - By Prima (****) Date 2009-02-26 02:59
In addtion, the new & current Polyglot 1.4w17 has BookLearning, BookRandom, Chess960, UseNice capabilities among newly added features which allows "learning" based on previous games played in conjunction to "Minimum Score".
Currently, I've been inactive for a while in Computer Chess (PCC, FICS, ICC, Yahoo) due to other priorities or else I would test these myself.

I wonder if this "BookLearning" allows engines  and/or Polyglot to "write" to bin books - analogous to fritz & various chess base guis and ctg books. Any feedbacks on this ChessKnight?

Prima
Parent - - By ChessKnight (**) Date 2009-02-26 05:03
Prima

So far .bin book(s) I have made is by using Polyglot 1.4w15 coz I was not aware about Polyglot 1.4w17.

Newly added features you mentioned here like BookLearning, BookRandom, Chess960, UseNice capabilities has to be configured in polyglot.ini file in [POLYGLOT] section either as true or false.

I tried BookLearn (=true) in WindowsXP, but it crashed coz WindowsXP security settings did not allowed to overwrite .bin books. I guess BookLearn Feature requires write permission or .bin book must be writable under particular OS. I did not tried Chess960. While UseNice and NiceValue has reported to be working fine under WindowsNT/XP by those who tested my book. Also do not forget that some engine requires SyncStop = true otherwise they will freeze in middle.

Hope, I will search for Polyglot 1.4w17 and update my Polyglot 1.4w15.

CK
Parent - - By KingOfMate (**) Date 2009-02-26 05:12
Hi CK, Here you go.    http://www.geenvis.net/polyglot1.4w17.zip   :)
Parent - By ChessKnight (**) Date 2009-02-26 05:18
KingOfMate

Thanx A Lot! :)

CK
Parent - - By Prima (****) Date 2009-02-26 05:32

> I tried BookLearn (=true) in WindowsXP, but it crashed coz WindowsXP security settings did not allowed to overwrite .bin books. I guess BookLearn Feature requires write permission or .bin book must be writable under particular OS


> Hope, I will search for Polyglot 1.4w17 and update my Polyglot 1.4w15.
>


Here it is ChessKnight : http://www.geenvis.net/

> Newly added features you mentioned here like BookLearning, BookRandom, Chess960, UseNice capabilities has to be configured in polyglot.ini file in [POLYGLOT] section either as true or false.
>
>


Yes I know all these CK :)

> tried BookLearn (=true) in WindowsXP, but it crashed coz WindowsXP security settings did not allowed to overwrite .bin books. I guess BookLearn Feature requires write permission or .bin book must be writable under particular OS


Hmm. This is rather odd as, to the best of my unerstanding, Polyglot's "BookLearn" should not require any security over-writing measures of any sort. But then again, I have windows Vista 64-bit and I did not experience any problems with Polyglot's BookLearn; BookLearn = true.

> I did not tried Chess960.


This,as you already know, can only apply and work with engines capable of Chess960. In previous Polyglot versions, though the polyglot "readme.txts" stated polyglot supported chess960, I noticed that when I tried engine-engine match via Polyglot + Winboard with Log enabled, that is,
[Polyglot]
Log = true
LogFile = "whatever name".Log,

[Engine]
UCI_Chess960 = true

I noticed in the log file that chess960 is disabled as default!

To the best of my understanding, the UseNice and NiceValue has to do with priority allocated to an engine and its outputs, I may be wrong though. But as for SyncStop, I always set it to true.

Overall, I'm eager to test these new polyglot features out once my priorities/daily duties lightens up.

Best regards,

Prima

Parent - By Prima (****) Date 2009-02-26 05:47
One more thing ChessKnight; should this "BookLearn = true" problem persist, you may need to register in the Win Board Forum and/or TalkChess forum as the author of the Polyglot "w" version - Fonzy Bluemer is active in either of these forums. He should have better insight as to why this polyglot feature crashes in your Windows XP. Good luck CK

Prima
Parent - - By ChessKnight (**) Date 2009-02-26 05:48
Prima

Thanks for briefing me up for Chess960.
Is there any FREE chess engine available for Chess960 which is enough strong probably i can test on FICS.

>Overall, I'm eager to test these new polyglot features out once my priorities/daily duties lightens up.


Life is always busy round the clock, we have to steal little time for ourselves and hobbies. :)

CK
Parent - - By Prima (****) Date 2009-02-26 06:07

> Is there any FREE chess engine available for Chess960 which is enough strong probably i can test on FICS.


The best & strongest free FRC (Chess960) engines are StockFish 1.2 (both the Default and Optimistic version) and Glaurung 2.2.

You can get both (or 3 engines in total) from here : http://homepages.tesco.net/henry.ablett/jims.html

Scroll down to get these 2 engines

OR

StockFish 1.2JA  http://www.mediafire.com/?5z2iyoznijm
Glaurung 2.2JA  http://www.mediafire.com/?dgkwm0gmmgi
Glaurung 2.2 Tord Romstad http://www.glaurungchess.com/

Have fun :)
Parent - - By Vempele (Silver) Date 2009-02-26 07:16
Toga CMLX 1.4 beta 5c is probably a bit stronger, at least with less than 4 CPUs.
Parent - By ChessKnight (**) Date 2009-02-26 09:30
Prima and Vempele

Thanks for info.

CK
Parent - - By ccarica (*) Date 2009-02-26 16:31

> When there are several candidate moves fulfilling these conditions for a given position, polyglot will choose more often those that had better results and/or were played more often.


thanks for reply!
so even if i dont tune the book polygot its gone a choose the best move?
Parent - By ChessKnight (**) Date 2009-02-26 18:50
ccarica

> When there are several candidate moves fulfilling these conditions for a given position, polyglot will choose more often those that had better results and/or were played more often.


That is the beauty of polyglot made .bin books.

>so even if i dont tune the book polyglot its gone a choose the best move?


Yeah, it is very rare that two different moves has same statistical values and importance. 

If you wanna try by yourself to test two different books from same database, one equal probability and other hand tuned. You can download both from HERE.

Both books have been tested on FICS for more than 100 blitz games and both gave highly satisfactory results. Try both of them and play around the both.  You can also merge several books into one. There is lot more to learn.

ChessKnight

 
Up Topic The Rybka Lounge / Computer Chess / about bin books

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill