How Our DFS Projections and Lineup Optimizer Work
Step 1: project every player
For each upcoming week we estimate a player's PPR fantasy points from five facts that are all known before kickoff:
| Input | Why it matters |
|---|---|
| Last-3-games average | Recent form |
| Season-to-date average | The player's baseline this year |
| Opponent points allowed to the position | Matchup difficulty over the opponent's last 3 games |
| Team implied total | The market's expected points for the player's team: more team scoring means more fantasy opportunity |
| Home or away | A small effect on opportunity |
The weights come from ridge regression: ordinary least squares with a penalty that shrinks every weight toward zero. We standardize the inputs first so the penalty treats a 0-to-1 home flag and a 15-to-30 implied total fairly. The model is plain linear algebra, five numbers and an intercept per position, so you can read exactly what it is doing. There is no black box.
Two honest limits
The projections also know nothing about weather, an offensive line missing three starters, or how teammates' outcomes move together (a quarterback and his top receiver tend to score on the same drives). Injury status is shown in the tool, but the formula does not use it. We validate the model week by week using only data available at the time, because accuracy numbers from a model that has seen the answers are meaningless.
Step 2: choose the best nine under the cap
A DraftKings classic roster is nine players: one QB, two RB, three WR, one TE, one FLEX (a RB, WR or TE) and one DST, with a salary cap of $50,000. Picking the best nine is a knapsack problem. Let every player be a yes/no switch, then:
With a few hundred players this is solved in a fraction of a second by a mixed-integer linear programming solver. Nothing about it is a guess: it finds the highest-projection lineup that satisfies the rules.
Building a portfolio of up to 50 lineups
Tournaments reward covering more of the possible outcomes, not betting everything on one projection being exactly right. To build many lineups, the optimizer solves the problem again and again. Each new solve adds a rule: it may share at most 5 players with any lineup already built, so every new lineup differs from the others by at least four players. On a small slate the supply of genuinely different good lineups runs out before 50, and the tool tells you how many it could make.
The builder also has dials for how much weight to put on recent form, how much risk to take, and how hard to fade rookies after the first-year hype. Each one changes the inputs and keeps the math above the same.