Strategy to Prevent Data Leakage in Time-correlated Datasets
Strategy to Prevent Data Leakage in Time-correlated Datasets
If you randomly split time-correlated datasets for machine learning models, your training set may contain future transactions, leading to biased predictions.
To avoid data leakage in time-correlated datasets, split the data by time.