Pattern: Slowly changing dimension, type 2
Keep every version of a row so "what was true in February" stays answerable after March changes it.
Tag
18 pieces tagged “modelling”, newest first.
Keep every version of a row so "what was true in February" stays answerable after March changes it.
When a rule gets you most of the way, when you cannot get labels, when nobody will act on the prediction, or when being wrong is expensive and unexpla
Build the dumbest thing that could work and measure it properly. Your model must beat it on the same split, or it has done nothing.
Keep every version of a row so "what was true in February" stays answerable after March changes it.
Derive the key from the content instead of an auto-increment, so reprocessing the same row produces the same key.
Validate the way you will deploy — train on the past, predict the future, and leave the gap your real prediction lag imposes.
If this were 100% accurate, what would change, and what is that worth?
Every feature must be computable from information available at prediction time. Write down each one's timestamp, and the leakage disappears.
Every feature must be computable from information available at prediction time. Write down each one's timestamp, and the leakage disappears.
A feedback loop, a holdout we should have kept, and the cost of finding out late.
Derive the key from the content instead of an auto-increment, so reprocessing the same row produces the same key.
Four lessons became three, and the deleted one was about algorithms.
Validate the way you will deploy — train on the past, predict the future, and leave the gap your real prediction lag imposes.
Validate the way you will deploy — train on the past, predict the future, and leave the gap your real prediction lag imposes.
Every feature must be computable from information available at prediction time. Write down each one's timestamp, and the leakage disappears.
Keep every version of a row so "what was true in February" stays answerable after March changes it.
Build the dumbest thing that could work and measure it properly. Your model must beat it on the same split, or it has done nothing.
Build the dumbest thing that could work and measure it properly. Your model must beat it on the same split, or it has done nothing.