Projectspickban.gg
The Head-to-Head page comparing two top osu! players, with a ring showing a 56 percent matchup, their ratings, and radar and trend charts below

Machine learning

pickban.gg

Match prep for osu! tournaments, with a win probability for every map

pickban.gg (invite only)Source is private
0.875AUC on 144,234 held out games
4,900lineup matchups scored when picking four of eight
2.7Mplayer scores in the training data

pickban.gg is match preparation for osu! tournaments. A team pastes in its mappool and loads its opponent's roster. It gets a win probability for each map, a ranking of the maps that decide the match, and advice on what to pick and ban. The model is trained on about 96,000 tournament matches from the weekly database dump of o!TR, the osu! Tournament Rating project. The ratings behind it are computed locally with o!TR's own rating processor, run on that dump.

How it works

Every prediction starts from player and map data in PostgreSQL, which holds about 2.7 million player scores in the training data. The o!TR dump supplies the games and o!TR's processor turns them into ratings. A CatBoost model then turns two lineups and a map into the chance that each side wins it. On 144,234 games held out from training, the tuned model scores an AUC of 0.875. AUC is a score for how well a model tells winners from losers, where 0.5 is a coin flip and 1 is perfect. Each map carries a range that held the real result 90% of the time in testing, so a close call looks like one.

The pickban.gg sign in page, saying the site is invite only while it's in closed beta
The sign in page. The site is invite only while it's in closed beta.

On top of the predictions sit the tools a team uses in the lobby. A live simulator lets a coach drag maps into pick, ban, and protect zones and watch the probabilities move as games finish. Head-to-Head compares two players on patterns, form, and every game they've played against each other. Every prediction is saved, so an analysis can be forked, rerun against the current model, or shared as a read only link.

The lineup optimizer treats a lineup choice as a game. For a team of four picked from eight players, it scores all 70 lineups against all 70 of the other team's, 4,900 matchups, and ranks each lineup by its worst predicted result. On maps where players choose their own modifiers, each lineup keeps only its three best fitting combinations.

Highlights

  1. Calibrated probabilitiesA CatBoost model tuned with Optuna predicts each game. Isotonic calibration then adjusts its probabilities to match how often each side actually won, and testing measured a calibration error of 0.0054, where 0 is perfect. Every map gets a win probability with a range that held the real result 90% of the time in testing.
  2. Profiled before it was sped upProfiling a full prediction showed the model took a small share of the time, and preparing the model's input data took 96 to 99 percent of the time spent predicting each map. The work went where the time was.
  3. Picks and bans as a gameThe optimizer ranks each lineup by its worst predicted result against every lineup the other team could field, so the advice plans for the worst case. On maps where players choose their own modifiers, it only tries each lineup's three best fitting combinations.

Built with

  • Python
  • FastAPI
  • CatBoost
  • PostgreSQL
  • Redis
  • Next.js
  • TypeScript

Details

Started
Status
Closed beta
Source
Private
Built on
o!TR (osu! Tournament Rating)