Some studies in machine learning using the game of Checkers · PDF

kaynak: jeo.kompas.com
PDF görünümü Sayfa metni Paylaş Orijinal PDF ↗
/ 20

SAYFA 5 / 20

4.3.3 Some Studies in Machine Learning Using the Game of Checkers 539 MACHINE CHOOSES BRANCH CD WITH LARGEST SCORE OPPONENT EXPECTfD CD TO CHOOSE BRANCH WITH SMALLEST SCORE MACHINE CHOOSES BRANCH CD WI TH MOST POSI TI VE SCORE .--;- -. -70 +7 PLY NUMBERCD '·'--., +7 +15 .1 \ , CD .: '.AA A A EVALUATIONS MADE AT THIS LEVEL • • • • • • • • • • • • • • • • +100 +50 +20 -7 +4 -3 o +3 -lD -20 -70 -100 +3 +7 +15 -5 Figure 2 Simplified diagram showing how the evaluations are backed-up through the "tree" of possible moves to arrive at the best next move. The evaluation process starts at @. rates as being better than the book move and th~ number cal information which assist in the evaluation of playing it rates as being poorer. The sides are then reversed and performance. the process is repeated. At the end of a book game a cor- Numerous other features have also been added to rdation coefficient is computed, relating the machine's make the program convenient to operate (for details see indicated moves to those moves adjudged best by the Appendix A), but these have no direct bearing on the checker masters.!!; problem of learning, to which we will now turn our It should be noted that the emphasis throughout all of attention. these studies has been on learning techniques. The Rote learning and its variantstemptation to improve the machine's game by giving it standard openings or other man-generated knowledge of Perhaps the most elementary type of learning worth dis- playing techniques has been consistently resisted. Even cussing would be a form of rote learning in which the when book games are played, no weight is given to the program simply saved all of the board positions en- fact that the moves as listed are presumably the best pos- countered during play, together with their computed sible moves under the circumstances. scores. Reference could then be made to this memory For demonstration purposes, and also as a means of record and a certain amount of computing time might avoiding lost machine time while an opponent is think- be saved. This can hardly be called a very advanced ing. it is sometimes convenient to play several simul- form of learning; nevertheless, if the program then util- taneous games against different opponents. With the izes the saved time to compute further in depth it will program in its present .form the most convenient num- improve with time. her for this purpose has been found to be six, although Fortunately, the ability to store board information at eight have been played on a number of occasions. a ply of 0 and to look up boards at a larger ply provides Games may be started with any initial configuration the possibility of looking much farther in advance than fllr the hoard position so that the program may be tested might otherwise be possible. To understand this, con- lIn end games. checkcr puzzles. et cetera. For nonstand- sider a very simple case where the look-ahead is always ani starting conditions, the program lists the initial piece terminated at a fixed ply, say 3. Assume further that the arrangement. From time to time, and at the end of each program saves only the board positions encountered game. the program also tabulates various bits of statisti- during the actual play with their associated backed-up