6. LEARNING REPRESENTATIONS Taxonomies Procedural encodings Frames and Schemas Graphs and Networks Formal logic Production rules Formal grammars Decision Trees Parameters in algebraic expressions Data
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24. Black King is in a corner square. White King is blocking the black King from moving to the two outer squares of the four square Anatomy of Mate mating pattern. Rook is controlling either the back rank or the file ending in the corner square 1. DIRECT KING OPPOSITION: …contd.
25. 2. MISALIGNED KING OPPOSITION: 2.1. Kings are on squares that are not aligned parallel to each other, but separated by one square White King prevents black King from moving to the three outer squares in adjoining file for the six square rectangle Anatomy of Mate mating pattern.
26.
27.
28.
29. Board position i/p representation for given board Thus, input representation for above board position 001101011010101110 INPUT REPRESENTATION …contd. Parameter Value Representation File of Black king b 001 Rank of Black King 6 101 File of White king d 011 Rank of White King 3 010 File of White Rook f 101 Rank of White Rook 7 110
30.
31.
32.
33. Initial board position After White King’s move The output representation of the above move is 001001 OUTPUT REPRESENTATAION …contd. Parameter Representation K/R index 0 No. of squares 01 Direction 001
34. (b) White Rook to move OUTPUT REPRESENTATAION …contd. Neuron in the O/p Layer Representation 1 K/R Index 2-3 Direction of the move 4-6 Number of squares the piece has moved
35.
36.
37. Board position White rook’s move The output representation of the above move is 100101 OUTPUT REPRESENTATAION …contd. Parameter Representation K/R index 1 Direction 00 No. of squares 101
53. EFFECT OF CLUSTERING AND BIAS Clustered samples on d1 Hidden nodes=80 Total number of testing samples= 39354 Total number of training samples=???? Total number of training epochs=????? Criteria Accuracy for biased NN Accuracy for unbiased NN Valid moves 54.609% 19.822% Ideal moves 3.295% 4.200%