Update README.md
Browse files
README.md
CHANGED
@@ -44,14 +44,11 @@ example = next(iter(dataset))
|
|
44 |
A single sample from the dataset contains one complete chess game as a dictionary. The dictionary keys are as follows:
|
45 |
|
46 |
1. `example['fens']` --- A list of FENs in a slightly stripped format, missing the halfmove clock and fullmove number (see [definitions on wiki](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation#Definition)). The starting positions have been excluded (no player made a move yet).
|
47 |
-
2. `example['moves']` --- A list of moves in [UCI format](https://en.wikipedia.org/wiki/Universal_Chess_Interface). `example['moves'][42]` is the move that led to position `example['fens'][42]`, etc.
|
48 |
-
3. `example['scores']` --- A list of Stockfish evaluations (in centipawns) from the perspective of the player who is next to move. If `example['fens'][42]` is black's turn, `example['scores'][42]` will be from black's perspective. If the game ended with a terminal condition, the last element of the list is a string 'C' (checkmate), 'S' (stalemate) or 'I' (insufficient material). Games with other outcome conditions have been excluded.
|
49 |
4. `example['WhiteElo'], example['BlackElo']` --- Player's Elos.
|
50 |
<br>
|
51 |
|
52 |
-
Everything but Elos is stored as strings.
|
53 |
-
<br>
|
54 |
-
|
55 |
### 3. Define Functions for Preprocessing
|
56 |
To use the data, you will require to define your own functions for transforming the data into your desired format.
|
57 |
For this guide, let's define a few mock functions so I can show you how to use them.
|
|
|
44 |
A single sample from the dataset contains one complete chess game as a dictionary. The dictionary keys are as follows:
|
45 |
|
46 |
1. `example['fens']` --- A list of FENs in a slightly stripped format, missing the halfmove clock and fullmove number (see [definitions on wiki](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation#Definition)). The starting positions have been excluded (no player made a move yet).
|
47 |
+
2. `example['moves']` --- A list of moves in [UCI format](https://en.wikipedia.org/wiki/Universal_Chess_Interface). `example['moves'][42]` is the move that **led to** position `example['fens'][42]`, etc.
|
48 |
+
3. `example['scores']` --- A list of Stockfish evaluations (in centipawns) and the game's terminal outcome condition if one exists. Evaluations are from the perspective of the player who is next to move. If `example['fens'][42]` is black's turn, `example['scores'][42]` will be from black's perspective. If the game ended with a terminal condition, the last element of the list is a string 'C' (checkmate), 'S' (stalemate) or 'I' (insufficient material). Games with other outcome conditions have been excluded.
|
49 |
4. `example['WhiteElo'], example['BlackElo']` --- Player's Elos.
|
50 |
<br>
|
51 |
|
|
|
|
|
|
|
52 |
### 3. Define Functions for Preprocessing
|
53 |
To use the data, you will require to define your own functions for transforming the data into your desired format.
|
54 |
For this guide, let's define a few mock functions so I can show you how to use them.
|