Skip to content
jsn.devPortuguês
Close

Opening predictor

In development

Who wins at chess, based on the opening?

  1. 1. Problem

    Given the opening and the rating gap between players, how likely is White to win?

    e2 to e4, e7 to e5

  2. 2. Decision

    I use Lichess games. Each opening becomes a number: White's win rate with it.

    g1 to f3, b8 to c6

  3. 3. Care

    I compute that rate from training games only, so the test does not give the answer away.

    f1 to b5, a7 to a6

  4. 4. Next move

    Data cleaning and preparation are done. Training, comparing models and building the API come next.

    b5 to a4, g8 to f6

Ruy Lopez

See the code