Time-based split
Also written: splitting by time, time leakage
For data collected over time, train on earlier rows and test on later ones, instead of shuffling. A random split would let the model learn from the future.
Also written: splitting by time, time leakage
For data collected over time, train on earlier rows and test on later ones, instead of shuffling. A random split would let the model learn from the future.