naahira Queen
Posts : 378 Join date : 2019-01-02
| Subject: S_MCTSL 220319 32-64 Sat Mar 23, 2019 12:35 am | |
| 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: https://github.com/Kellykinyama12/Stockfish (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." https://github.com/Zerbinati/SugaR/commit/cc08a49412fb46e6445624ce3d2bec682c4d2c5d The engine learns from experience for default.
master @Zerbinati Zerbinati committed
Source code https://github.com/Zerbinati/SugaR
Deletions --- playoutSimpleAlways https://github.com/official-stockfish/S ... mpleAlways Special thank to amchess for hint Instructions: Download the Learning BIN Pack https://github.com/Zerbinati/SugaR/blob ... 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."
Download Here Bench: 2946428 | |
|