Slide 16
Slide 16 text
- Time-series models (ARIMA,
Elo) need data sorted by date/
time
- Spent days debugging an Elo
model with 50% accuracy
When doing date,me-sensi,ve calcula,ons, make sure
your rows are in the correct order
assert data_frame["date"].is_monotonic_increasing, (
"Data must be sorted by date to calculate cumulative values ",
"or make predictions with time-series models.",
)
data_frame.groupby(["team", "year"].cumsum("match_wins"))
@englishcraig