| model β truth β | Positive | Negative |
|---|---|---|
| Flagged | ||
| Passed |
Draw the line between spam and mail, sick and healthy, fraud and honest β and learn why every line has a price
Difficulty
Sound
Items ride a conveyor belt at the height of their model score: 0 at the bottom, 1 at the top. One line, your threshold, decides: everything at or above it is flagged as positive (spam, fever, fraudβ¦), everything below it passes as negative.
At the gate each item is revealed and drops onto the pile, and the pile is the confusion matrix: TP and FP above the line, FN and TN below it. Precision, recall and the ROC and PR curves follow every item.
Each client pays for right answers and fines you for mistakes. Find the line that earns the most and still meets the client's goal.
Point at a metric bar (or tap it) to see its formula with the live numbers and which cells of the matrix and which part of the pile it is made of. Tap it again for its cheat sheet card.
The Lab opens after the first contract: spend the money you earn on more data and better features (the two humps of the pile move apart), calibration (the badges become probabilities), a drift monitor (it warns when the scores stop looking like the data the model was tested on, and lets you retrain once per contract) and a review desk.
Review desk: a violet band under the threshold, with its own handle on the left. Items inside it go to people, who are always right but cost $1 each and can only take a few at a time; when the desk is full, the threshold decides. Tap or click an item on the belt to send it to the desk yourself.
Campaign: a contract with at least one star opens the next. β goal met, β β also the profit target, β β β also 90 % of what the best fixed threshold would have earned on the same stream. Too many misses at the fever gate start an outbreak, and a contract whose money falls below its fee goes bankrupt: both end it early.
Top-k search: each query is a column of pages, and the knob is k, how many of its best-scored pages are shown. The line jumps from column to column, between the k-th page and the next. Precision@k: how many of the k shown were relevant; Recall@k: how many of the relevant ones were shown.
Mouse and keyboard: drag the handle, or press anywhere on the belt or the pile and drag; the wheel moves the line by 0.01. β / β or W / S move it by 0.01 (with Shift by 0.05), Page Up / Page Down by 0.10; in a top-k search they change k by one (with Shift by five). With the review desk, Q / A move the band's lower edge. Esc or P pauses.
Touch: put a finger anywhere on the belt or the pile and slide it up or down: the line follows the movement, not the finger, so your thumb never covers the items. The large handle on the right can be dragged directly. On phones the game goes fullscreen.
Sound
Difficulty