NBA Odds Predictor Elo ratings, scraper, and matchup predictor

Model feature

Home-win predictor

Pick a home team and an away team, and the app turns recent form, team strength, rest, and the latest official injury report into a predicted winner and a home-win probability. It trains two models on the same engineered feature set and shows them side by side, because a linear model and a tree model can read the same features differently on a given matchup.

The training window is fixed to the 2022-2025 seasons automatically, so you don't tune it per request. The predictor trains on every completed game before the target date and then builds one matchup row from the home and away teams you pick.

Matchup inputs

Training window 2022-2025, fixed.

The first full refresh can take 20+ minutes: it rebuilds the game and injury training data from scratch. Later refreshes reuse cached CSVs and finish much faster.

Prediction output

Trained on all completed games before the target date, then asked to predict this one matchup.

Pick a home and away team on the left and submit the form to see the combined prediction here.