Tech
Shipping a statistical model to the browser: Dixon–Coles soccer predictions with no backend and no API key
I wanted a public page where anyone could click a soccer match and see real probabilities behind it — 1X2, Over/Under, both teams to score, exact scorelines. The model already existed: a Dixon–Coles bivariate Poisson fitted on finished matches. The hard part was never the statistics. It was getting the thing onto a page that costs me nothing and exposes nothing.
Here's what I ended up with, and why the obvious approaches don't work.
Three options that all fail
Call the API fr...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to