Leak‑Free NBA Dataset Still Falls Short of Beating the Betting Line

NBA Dataset · 2026: Leak-Free NBA Dataset Fails to Beat Betting Line

The author of a popular NBA modeling tutorial published a new “point‑in‑time” dataset that guarantees no future‑information leakage, yet the accompanying Gradient Boosting model still underperforms the betting market’s closing line.

Leak‑Free Feature Engineering

Each row in the dataset represents a single game and contains 56 features—28 for each team—derived exclusively from games that finished before tip‑off. The author computes season‑to‑date averages blended with the previous season’s final averages (using a 10‑pseudo‑game weight) to stabilise early‑season entries, records the last ten games’ form (scoring, defense, pace, plus/minus), and builds percentages from cumulative makes and attempts rather than averaging percentages. Rare box‑score items such as blocks against and fouls drawn are also captured exactly. The free sample of 79 games from the 2026‑27 season is hosted on Kaggle, and a runnable demo notebook demonstrates a baseline Gradient Boosting implementation. Both the article and the GitHub repository confirm these construction details.

Benchmark Results and Live Test

When the default Gradient Boosting model is trained on the full 2022‑23 → 2026‑27 data (4,372 games), it achieves an RMSE of 19.56 and an MAE of 15.56 on the 2025‑26 season, with 39.2 % of predictions falling within ±10 points of the actual total. In a live November 2026 evaluation over 45 games, the model’s MAE slipped to 16.6 and only 26.7 % of its forecasts stayed within the same ±10‑point band, indicating that early‑season volatility degrades accuracy. A three‑season walk‑forward backtest against closing totals (3,216 games) shows the model winning 48.7 % of bets overall, rising to 53.7 % only when the absolute prediction‑line gap exceeds eight points. The author notes that even the most divergent bets lost in the first two live cases. These figures are drawn from the author’s own reporting and the GitHub readme.

Commercial Packages and Access

Beyond the free sample, the creator sells three tiers via Gumroad: the full 4,372‑game dataset for $19, an extended edition covering 22,054 games back to 2005‑06 for $39, and a bundled package that adds the three‑season backtest and model code for $49. A separate $12 offering provides the backtest data alone. All paid items are available through a Gumroad store, and a discount code (LAUNCH25) grants 25 % off purchases made before 30 Nov 2026. The pricing structure and discount details come directly from the author’s post.

Why the Model Still Loses to the Line

The results highlight two persistent challenges in sports‑betting AI. First, even a rigorously leak‑free feature set cannot erase the intrinsic randomness of basketball outcomes, especially early in the season when team performance fluctuates sharply. Second, the historical data span shows diminishing returns: extending the training window to 21 seasons marginally worsened RMSE (19.78 versus 19.56), suggesting that older seasons carry patterns that no longer apply to the modern game. For practitioners, the dataset offers a clean foundation for experimenting with era‑aware weighting, feature selection, or alternative model families, but the benchmarks caution against expecting systematic edge over professional bookmakers. Betting organisations, data scientists, and hobbyist modelers should treat the release as a research‑grade resource rather than a ready‑to‑use profit engine.

Editorial graphic and headline text by Signal Titans.

Source: I built a leak-free NBA dataset — and my model still doesn't beat the closing line · GitHub – kmdspark5/nba-point-in-time-features · GitHub

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *