Sensitivity of machine learning regression models to data structure and quality in crop yield prediction.
Mahoukpégo Luc Zinzinhédo, Mèvognon Firmin Mitchozounnou, Kolawolé Valère Salako, Romain Glèlè Kakaï
Laboratoire de Biomathématiques et d'Estimations Forestières, Faculté des Sciences Agronomiques, Université d'Abomey-Calavi, Abomey-Calavi, Atlantique, Bénin.
Key points
From the paper's conclusion- Overall, this study highlights the complex interplay between data characteristics and pre-processing, urging the development of clearer guidelines for applying ML to agricultural datasets.
Abstract
Accurate crop yield prediction is essential for agricultural planning, yet machine learning (ML) models remain highly sensitive to the quality and structure of input data. This study uses simulated datasets to systematically investigate how data structure (sample size and number of predictors), data imperfections (missing values and multicollinearity), and pre-processing methods (imputation techniques and principal component analysis) influence ML regression performance. The performance of ML-based models (RF, SVM, MLR, XGBoost, LightGBM, NNet, and kNN) on the pre-processed data was evaluated. In total, each algorithm was tested on 1,728 datasets and pre-processing scenarios, yielding 12,096 model-scenario evaluations across the seven ML algorithms. Results show that missing data decreases performance (R2 drops by up to 20.63%; MAE increases by 12.67%), while multicollinearity may inflate R2 values despite poorer MAE performance. Larger sample sizes consistently improve prediction accuracy (R2 = +18.87%; MAE = -8.16%), whereas more predictors generally reduce it (R2 = -8.47%; MAE = +44.74%). Regression-based imputation improved both R2 and MAE the most, while RF demonstrated greater robustness across varying conditions. These simulation findings were further validated on five real-world crop datasets (Maize, Yam, Cassava, Sorghum, and Peanuts), confirming that despite RF remains the safest and most robust default, no single pre-processing strategy is universally optimal and that the selection of imputation method and dimensionality reduction must be strictly contingent upon the dataset's specific missingness rate and correlation structure. Overall, this study highlights the complex interplay between data characteristics and pre-processing, urging the development of clearer guidelines for applying ML to agricultural datasets.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Automated yield monitor data post-processing pipeline via explainable model benchmarking and stacked ensembleComputers and Electronics in Agriculture · 2025
- Smart Farming using Machine Learning: A Review on Recent Trends and Approaches of Crop Yield PredictionWIREs Data Mining and Knowledge Discovery · 2026
- Explainable Data-Driven Approach for Smart Crop Yield Prediction in Sub-Saharan Africa: Performance and Interpretability AnalysisAgriculture · 2026
- Machine Learning-Based Regional Assessment of Second-Crop Corn Yield Using Climatic and Water-Balance VariablesEarth · 2026
- A Comparative Assessment of Regular and Spatial Cross-Validation in Subfield Machine Learning Prediction of Maize Yield from Sentinel-2 PhenologyEng—Advances in Engineering · 2025
- A Robust and Explainable Approach to Crop Recommendation Using a Balanced Multi-Crop Agronomic DatasetJournal of Environmental and Agricultural Studies · 2026