EconPapers    
Economics at your fingertips  
 

Crop Yield Prediction Using Random Forest Algorithm and Xgboost Machine Learning Model

Sultan Saiful and Narendra Bayutama Wibisono
Additional contact information
Sultan Saiful: Department of Business Law, Sekolah Tinggi Ilmu Ekonomi Swadaya, Indonesia
Narendra Bayutama Wibisono: Department of Business Law, Sekolah Tinggi Ilmu Ekonomi Swadaya, Indonesia

International Journal of Research and Innovation in Social Science, 2025, vol. 9, issue 3, 1983-1994

Abstract: Agricultural productivity is strongly influenced by environmental and climatic factors, requiring robust analytical approaches to evaluate their combined impact. This study examines the relationship between food production, biodiversity, and weather patterns across temperate heterogeneous agricultural landscapes in Switzerland. The dataset integrates crop yield, farm characteristics (area, altitude, crop category, and crop type), and 11 climate indices sourced from the European Climate Assessment & Dataset (ECA&D). These indices include temperature variations, precipitation levels, humidity, sunshine duration, and seasonal extremes across four major seasonal subcategories. To model these relationships, we applied machine learning techniques, comparing Random Forest and XGBoost algorithms to analyze their predictive performance. To calculate the model accuracy, we use 3 model evaluation metrics, including R², Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). The results shows that Random Forest outperforms XGBoost with slightly higher R² score (0.9589 vs. 0.9568) and lower MSE (908.80 vs. 956.48). These findings highlight the potential of learning methods in predicting agricultural outcomes and assessing climate impact on crop yield.

Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.rsisinternational.org/journals/ijriss/ ... ssue-3/1983-1994.pdf (application/pdf)
https://rsisinternational.org/journals/ijriss/arti ... hine-learning-model/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:bcp:journl:v:9:y:2025:issue-3:p:1983-1994

Access Statistics for this article

International Journal of Research and Innovation in Social Science is currently edited by Dr. Nidhi Malhan

More articles in International Journal of Research and Innovation in Social Science from International Journal of Research and Innovation in Social Science (IJRISS)
Bibliographic data for series maintained by Dr. Pawan Verma ().

 
Page updated 2025-04-18
Handle: RePEc:bcp:journl:v:9:y:2025:issue-3:p:1983-1994