naahi V.I.P.MEMBER
Posts : 351 Reputation : 508 Join date : 2019-02-02
| Subject: S_MCTSL 220319 32-64 Fri Mar 22, 2019 7:07 pm | |
| S_MCTSL 220319 32-64:-Additions ### MCTS-Learn-in Mode _Boolean, Default: True MonteCarloTreeSearch, if activated, the engine's behaviour is similar to AlphaZero concepts. Idea are implemented, integrated on SugaR: [You must be registered and logged in to see this link.] (montecarlo by Kelly Kinyama) only when true. This creates three files for machine learning purposes: ### -experience.binWhen no more than 40 moves are played, there are non more than 6 pieces on the chessboard and at a not low depth in analysis ### -pawngame.binWhen there are no more than 2 pieces and the game's phase is not the ending ### -openings.binIn the form .bin (>=1) at the initial stage of game with memorized the move played, the depth and the score. In this mode, the engine is not less strong than Stockfish in a match play without learning, but a lot better in analysis mode and to solve hard positions. With learning, the engine became stronger and stronger. MCTS-Learn-in Mode
- Code:
-
"From Kelly kinyama The engine learns from experience. It writes the moves it plays to the hard disk. In the next game, it uses the same information if it encounters the same position, the same way we use the transposition table. It saves the information permanently on the hard drive, And loads information in memory during play. With the decision tree, it plays more accurately and evaluates the positions more correctly.
Notes: -For this method to work, you must always restart the engine for each and every game. -Games should be started from the start position. -Those binary files represent opening variations. We humans give names to the variations. My engine is giving them numbers. So it always knows which file to load in memory. -The engine is constantly updating the files each time it plays." [You must be registered and logged in to see this link.] The engine learns from experience for default.
master @Zerbinati Zerbinati committed
Source code [You must be registered and logged in to see this link.]
Deletions --- playoutSimpleAlways [You must be registered and logged in to see this link.] ... mpleAlways Special thank to amchess for hint Instructions: Download the Learning BIN Pack [You must be registered and logged in to see this link.] ... earning.7z - Unzip the archive - Copy SugaR to the same folder and install it All future versions of "S_MCTSL" or subsequent SugaR Officials can be installed in the same folder containing the BIN Learning files "With learning, the engine gets stronger and stronger."
[You must be registered and logged in to see this link.] Bench: 2946428 | |
|
vv56 V.I.P.MEMBER
Posts : 54 Reputation : 146 Join date : 2019-02-25 Age : 43 Location : Ukrain, Makiivka.
| |