Giter VIP home page Giter VIP logo

lichess-games-analysis's Introduction

lichess-games-analysis

A project for learning some processes in data science and building data visualisations to provide insight! The lichess dataset was selected because I like chess.

Notes on some themes that can/probably cannot be explored:

Endgame insights - seems hard

Maybe:

  • Classify games into different types of endgames - use chess rules to determine the pieces remaining on the board. For instance, if only kings and pawns are left, classify it as 'King and Pawn' endgame.
  • Separate games that ended in a win from those that were draws or losses.

Dataset cannot be used for mistake analysis - need data from a chess engine

Piece Activity

  • Defining Critical Squares: Determine what constitutes a critical square. For pawn promotion, this would be the 8th rank for White and the 1st rank for Black.
  • Then analyse when and how often pieces reach these critical squares.
    • For pawns:
      • Count how many times pawns are promoted in the dataset.
      • Examine the context of these promotions - for instance, in which types of positions or game phases (opening, middle game, endgame) they occur most frequently.
      • Look for any patterns in pawn promotion, such as specific opening moves leading to higher promotion rates.
  • Heatmaps or bar charts - illustrate the frequency and distribution of piece movements to critical squares.
  • Compare these frequencies across different levels of play or different player demographics?
  • Correlation with winning:
    • Creating a Correlation Variable: Create a binary variable indicating the occurrence of the event (e.g., pawn promotion) in each game.
    • Logistic Regression: If analyzing a binary outcome (win/loss - what about draw?), to quantify the relationship between promotion and winning.
    • The correlation varies by the strength of the players (e.g., different correlations in amateur vs. professional games)?
    • What graph or chart to use?

lichess-games-analysis's People

Contributors

sar-cheng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.