@article {10.3844/jcssp.2025.1811.1818, article_type = {journal}, title = {Crop Yield Prediction in Niger Using Machine Learning Techniques}, author = {Garba, Mahaman Lawali Inoussa and Harouna, Naroua and Kadri, Chaibou and Ali, Maman Aminou and Moussa, Hannatou}, volume = {21}, number = {8}, year = {2025}, month = {Sep}, pages = {1811-1818}, doi = {10.3844/jcssp.2025.1811.1818}, url = {https://thescipub.com/abstract/jcssp.2025.1811.1818}, abstract = {Agriculture is the most impactful sector on Niger's economic growth. Stresses related to climate change and the environment are leading to a continuous decline in crop yield. Accurate crop yield forecasting is of paramount importance for farmers, government, policy makers, and other stakeholders to make most appropriate decisions regarding resource allocation and food security. This study examines the power of Machine Learning (ML) algorithms for crop yield prediction in Niger by introducing a combined machine learning and multi-level stacking ensemble (CML MSE) model as a solution to improving the accuracy of crop forecasts using real farming data. Parameters such as agricultural, environmental and soil conditions are used to develop the CML- MSE approach to help farmers in making appropriate decisions for crop selection. The CML-MSE model consists of nine ML algorithms and three layers. The first layer uses K Nearest Neighbor (KNN), Decision Tree (DT), Random Forest (RF), XGBoost (XGboost), Lightgbm and Catboost algorithms as base learners; the second layer acts as a meta-learner and use Support Vector Machine (SVM), Neural Network (NN) and Linear Regression (LR); and the third layer which uses LR algorithm. The prediction performance is assessed by using the Mean Absolute Error (MAE), the Root Mean Square Error (RMSE) and the coefficient of determination (R2), allowing comparisons to be made with the prediction of its individual models. The results obtained show that the proposed CML-MSE model offers the best performance compared with other models, with an MAE of 177.14 kg/ha, an RMSE of 243.71 kg/ha and an R2of 65%. This work aims to provide Niger farmers with means to make appropriate decisions for improved food security.}, journal = {Journal of Computer Science}, publisher = {Science Publications} }