The effects of mismatched train and test data cleaning pipelines on regression models: lessons for practice

James Nevin, Michael Lees, Paul Groth

Research output: Contribution to journalArticlepeer-review

Abstract

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.

Original languageEnglish
Article numbere2793
Pages (from-to)1-22
Number of pages22
JournalPeerJ Computer Science
Volume11
DOIs
StatePublished - 2025
Externally publishedYes

Keywords

  • Data cleaning
  • Data quality
  • Regression models

Fingerprint

Dive into the research topics of 'The effects of mismatched train and test data cleaning pipelines on regression models: lessons for practice'. Together they form a unique fingerprint.

Cite this