Abstract & Overview
Accurate crop yield prediction is essential for enhancing food security, optimizing resource use, and supporting smart farming initiatives. Traditional statistical models often fail to capture the nonlinear interactions between environmental, climatic, and agronomic variables. To address these challenges, this research evaluated seven ensemble machine learning algorithms: Random Forest, Bagged Decision Tree, AdaBoost, Gradient Boosting, Stochastic Gradient Boosting, eXtreme Gradient Boosting, and CatBoost. Being interested in the region of Saudi Arabia, we collected and integrated multi-source data that resulted in meteorological factors (temperature, humidity, precipitation), vegetation indices, pesticide usage, and historical yield records of thirty eight crop categories. While selecting only eight crops to study in the optimization phase, each model was assessed under four experimental configurations: baseline models, hyperparameter tuning, outliers' removal, and Bayesian optimization. Results showed that the optimized models performed up to 47\\% better than the default models. More precisely, hyperparameter tuning showed marginal gains, and Bayesian optimization and outliers' removal led to noticeable performance improvements. However, the effectiveness of each strategy was crop-specific.