Hello Dr. Deeb,
Would you still be interested in making an opening book for ZCT? Since we last talked I implemented book updating. What other functions would you need?
Thanks,
Zach
ZCTACCAWCRCC
Moderator: Ras
-
Zach Wegner
- Posts: 1922
- Joined: Thu Mar 09, 2006 12:51 am
- Location: Earth
-
Dr.Wael Deeb
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: ZCTACCAWCRCC
Hi Zach,Zach Wegner wrote:Hello Dr. Deeb,
Would you still be interested in making an opening book for ZCT? Since we last talked I implemented book updating. What other functions would you need?
Thanks,
Zach
It would be my pleasure to make an opening book for your interesting engine
Well,what I need is a opening book making feature,a command line to extract the opening lines from a clean pgn which will be provided by me and sorting the candidate opening moves according to their frequency in the pgn and the winning games for both sides....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
-
Zach Wegner
- Posts: 1922
- Joined: Thu Mar 09, 2006 12:51 am
- Location: Earth
Re: ZCTACCAWCRCC
Sure, that's already there. Right now, you can make a book with a PGN where you can limit the positions based on ply depth, win rate, and minimum frequency. You can also add a PGN in later to the same book, with different settings (though the win rate and minimum frequency will be used for the whole book each time it is updated, not just the latest update). Right now I don't have any code to detect annotations like ! or ?, so the book selection code is based only on the number of games played. I might modify this slightly so that it selects based on winrate*games, i.e. the number of games won.
So in the current ZCT, you can use the "bookc" command:
Also, I would note that you don't need clean PGNs, all comments (at least those inside parentheses or braces) are ignored.
Thanks for the interest, and I hope to finally see a nice book for ZCT!
So in the current ZCT, you can use the "bookc" command:
Code: Select all
Usage: bookc pgn_file book_file min_play max_depth win_percentThanks for the interest, and I hope to finally see a nice book for ZCT!
-
Dr.Wael Deeb
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: ZCTACCAWCRCC
Excellent Zach and you will finally see a nice opening book for ZachZach Wegner wrote:Sure, that's already there. Right now, you can make a book with a PGN where you can limit the positions based on ply depth, win rate, and minimum frequency. You can also add a PGN in later to the same book, with different settings (though the win rate and minimum frequency will be used for the whole book each time it is updated, not just the latest update). Right now I don't have any code to detect annotations like ! or ?, so the book selection code is based only on the number of games played. I might modify this slightly so that it selects based on winrate*games, i.e. the number of games won.
So in the current ZCT, you can use the "bookc" command:Also, I would note that you don't need clean PGNs, all comments (at least those inside parentheses or braces) are ignored.Code: Select all
Usage: bookc pgn_file book_file min_play max_depth win_percent
Thanks for the interest, and I hope to finally see a nice book for ZCT!
Would you mind sending you the pgn,say tomorrow by this time and you can make the book and giving it a little test with the latest version of ZCT before releasing it
Keep up the good work,
Dr.Wael Deeb
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
-
Zach Wegner
- Posts: 1922
- Joined: Thu Mar 09, 2006 12:51 am
- Location: Earth
Re: ZCTACCAWCRCC
Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
-
Dr.Wael Deeb
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: ZCTACCAWCRCC
My only recommendation is to limit the opening lines to 40 halfmoves,this is the optimal number for this pgn....Zach Wegner wrote:Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
You can set whatever other settings as you prefer....
P.S.pm me your e-mail please....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
-
Dr.Wael Deeb
- Posts: 9773
- Joined: Wed Mar 08, 2006 8:44 pm
- Location: Amman,Jordan
Re: ZCTACCAWCRCC
My only recommendation is to limit the opening lines to 40 halfmoves,this is the optimal number for this pgn....Zach Wegner wrote:Absolutely, at least when I get the time. I'm looking forward to it. Do you have any recommendations on what settings to use?
You can set whatever other settings as you prefer....
P.S.pm me your e-mail please....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
-
Bill Rogers
- Posts: 3562
- Joined: Thu Mar 09, 2006 3:54 am
- Location: San Jose, California
Re: ZCTACCAWCRCC
Please forgive me for jumping into this conversation but I have been looking for exactly the same tool for a few years now. Is it possible that I can get/buy a copy too? If so I will send you my private mail.
Bill
Bill
-
Zach Wegner
- Posts: 1922
- Joined: Thu Mar 09, 2006 12:51 am
- Location: Earth
Re: ZCTACCAWCRCC
No need--ZCT is open source (relevant source here: http://zct.cvs.sourceforge.net/zct/zct/ ... iew=markup).
Unfortunately, it only works for ZCT's native book format. Your best bet is probably to use Polyglot books.
Unfortunately, it only works for ZCT's native book format. Your best bet is probably to use Polyglot books.