spmviz.datasets.load_chess_openings#
- spmviz.datasets.load_chess_openings(n_games=2000, random_state=0, max_plies=None)[source]#
Synthetic chess games drawn from a small opening book of 33 main lines.
Each game follows one main line (chosen with illustrative popularity weights, not real statistics) and leaves theory after a random number of plies (at least four). Moves are in standard algebraic notation; the attributes hold the opening name, its family (open game, Sicilian, semi-open, closed, Indian, flank) and a synthetic result.