Comments (5)
Pivot time: I was going to use the statsmodels logit model (that had slightly better metrics) but it turns out that the pickled file is 175mb in size, because it stores the training data within the model itself. There's some options to reduce the size footprint but it's not enough. The sklearn LR model is... 855 bytes. So I will instead use that.
from chess-pipeline.
I think this is ready to deploy as of 1ea33d5 . Obviously something will go wrong :) but I have tested it a lot (and even found a bug in the evals code) so I hope it will work fine.
from chess-pipeline.
I found a few issues:
- forgot to install sklearn
- forgot to create the new win probabilities table
- a couple of positions without evals bleed through (
5rk1/p4p2/2p3pp/5q2/3R1NnP/4P1P1/PPQ2PK1/8 w - - 13
for example) - a couple of positions don't have a clock time even though they should (
https://lichess.org/SM7RGAXR#69
for example)
from chess-pipeline.
Oh god... I found an off-by-one error in the positions vs evals/clocks. For positions, I was counting the initial board state - for evals/clocks coming from lichess, I don't count the initial state. I think I have to re-run everything :(
from chess-pipeline.
Well... this looks like it's deployed and running fine now. I'll probably have to re-run a bunch of stuff at some point because of this off-by-one error though.
from chess-pipeline.
Related Issues (20)
- Check if Maia is useful
- Add parameters for newsletter
- Rewrite SQL queries to use cursors in pandas HOT 1
- Change visitors to use attributes under `game.headers`
- Move stockfish analysis to its own Task
- Some table SQLs don't match actual tables HOT 2
- Set up testing on push / pull requests
- Fix visitor in header issues
- Remove duplicate FENs from `position_evals`
- `EloByWeekday` fails when no games HOT 3
- Add perftype to filenames to prevent unfulfilled dependency errors HOT 5
- Organize analysis code HOT 6
- Set up staging environment
- WinRatioByColor fails when only one color played HOT 2
- Fix off-by-one data HOT 1
- Clean up GetEvals `explode()` calls
- Examine relative piece worth
- Fix EloByWeekday relying on other categories of games
- Minimize `GetEvals` footprint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chess-pipeline.