4 ms·
They should post a link to the code. I’d love to explore further.
by oli5679 4y ago
They should post a link to the code. I’d love to explore further.
- jsnell 4y agoThe link to the repo is in the first paragraph.
- oli5679 4y agoHe linked to an earlier version of the article, but I couldn't see the actual code.
- alexmolas 4y agothe repo with the analyses and scripts is here: https://github.com/alexmolas/chess-960 https://github.com/alexmolas/chess-960
- oli5679 4y agoHere is another way to show that the there are not meaningful differences in the position winrates. # calculate cumulative black/white wins for each position # ignoring current result headers['cumul_white_points'] = headers.groupby('pos')['white_points'].cumsum().shift() headers['cumul_black_points'] = headers.groupby('pos')['black_points'].cumsum().shift() # calculate white's chance of winning given previous position results headers['position_prior'] = (headers.cumul_white_points +1) / (headers.cumul_black_points + headers.cumul_white_points + 2) # calulate difference in player ratings headers['rating_difference'] = headers.WhiteElo - headers.BlackElo headers[['white_points','position_prior','rating_difference']].corr() - position_prior 0.000721 - rating_difference 0.401107
- alexmolas 4y agoI like how you computed the correlation between positions priors and rating differences, it's simple and right to the point. Thanks for sharing :)