Skip to content

Predicts chess960 or crazyhouse ratings given bullet or blitz and others for either Lichess.org or Chess.com servers.

License

Notifications You must be signed in to change notification settings

fsmosca/Rating-Correlations

Repository files navigation

Rating Correlations

Streamlit App Python 3.9

Generates a linear model and use it to predict a rating like chess960 or crazyhouse given bullet and blitz ratings for example. It can only predict ratings from the same server like if your input is from Lichess its prediction is only applicable for Lichess. Supported servers are Lichess and Chess.com.

The users are provided with two libraries namely xgboost and statsmodels to create simple and multiple linear regression models. Regression plots are generated when the libary used is statsmodels. There is also SHAP plot to see which features matters most and in what directions and how much it influences the prediction output.

Data are generated using the lichess api and both the official and unofficial chess.com apis. This web app is written in Python with Streamlit and is hosted by streamlit cloud.

App link: https://rating-correlations.streamlit.app/

You can run this locally by cloning this repo, install the dependents in requirements.txt and execute streamlit run rating_correlations.py.

Usage
A sample video on how to use it.

rating_correlations_v1.5.5.mov

Credits

About

Predicts chess960 or crazyhouse ratings given bullet or blitz and others for either Lichess.org or Chess.com servers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages