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

Open Access
Authors
Publication date 2025
Journal PeerJ Computer Science
Article number e2793
Volume | Issue number 11
Pages (from-to) 1-22
Number of pages 22
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
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.

Document type Article
Note With supplementary files
Language English
Published at https://doi.org/10.7717/peerj-cs.2793
Downloads
peerj-cs-2793 (Final published version)
Supplementary materials
Permalink to this page
Back