TY - JOUR
T1 - The effects of mismatched train and test data cleaning pipelines on regression models
T2 - lessons for practice
AU - Nevin, James
AU - Lees, Michael
AU - Groth, Paul
N1 - Publisher Copyright:
© Copyright 2025 Nevin et al.
PY - 2025
Y1 - 2025
N2 - Data quality problems are present in all real-world, large-scale datasets. Each of these potential problems can be addressed in multiple ways through data cleaning. However, there is no single best data cleaning approach that always produces a perfect result, meaning that a choice needs to be made about which approach to use. At the same time, machine learning (ML) models are being trained and tested on these cleaned datasets, usually with one single data cleaning pipeline applied. In practice, however, data cleaning pipelines are updated regularly, often without retraining of production models. It is therefore common to apply different test (or production) data than the data on which the models were originally trained. The changes in these new test data and the data cleaning process applied can have potential ramifications for model performance. In this article, we show the impact that altering a data cleaning pipeline between the training and testing steps of an ML workflow can have. Through the fitting and evaluation of over 6,000 models, we find that mismatches between cleaning pipelines on training and test data can have a meaningful impact on regression model performance. Counter-intuitively, such mismatches can improve test set performance and potentially alter model selection choices.
AB - Data quality problems are present in all real-world, large-scale datasets. Each of these potential problems can be addressed in multiple ways through data cleaning. However, there is no single best data cleaning approach that always produces a perfect result, meaning that a choice needs to be made about which approach to use. At the same time, machine learning (ML) models are being trained and tested on these cleaned datasets, usually with one single data cleaning pipeline applied. In practice, however, data cleaning pipelines are updated regularly, often without retraining of production models. It is therefore common to apply different test (or production) data than the data on which the models were originally trained. The changes in these new test data and the data cleaning process applied can have potential ramifications for model performance. In this article, we show the impact that altering a data cleaning pipeline between the training and testing steps of an ML workflow can have. Through the fitting and evaluation of over 6,000 models, we find that mismatches between cleaning pipelines on training and test data can have a meaningful impact on regression model performance. Counter-intuitively, such mismatches can improve test set performance and potentially alter model selection choices.
KW - Data cleaning
KW - Data quality
KW - Regression models
UR - http://www.scopus.com/inward/record.url?scp=105001848088&partnerID=8YFLogxK
U2 - 10.7717/peerj-cs.2793
DO - 10.7717/peerj-cs.2793
M3 - Artículo
AN - SCOPUS:105001848088
SN - 2376-5992
VL - 11
SP - 1
EP - 22
JO - PeerJ Computer Science
JF - PeerJ Computer Science
M1 - e2793
ER -