Studi Klasifikasi Presisi Kesesuaian Lahan Pertanian Menggunakan Algoritma Extreme Gradient Boosting (XGBoost)
DOI:
https://doi.org/10.31599/b7c8py98Keywords:
Precision Agriculture, Classification, Extreme Gradient Boosting (XGBoost), Feature EngineeringAbstract
The application of artificial intelligence technology in the agricultural sector is the main foundation in the paradigm shift towards sustainable precision agriculture. This study presents a comprehensive analysis of the application of the Extreme Gradient Boosting (XGBoost) algorithm to predict the suitability of crop types based on soil chemical characteristics and macro-environmental conditions. Model evaluation was conducted using the benchmark dataset Crop Recommendation Dataset accessed through the Kaggle platform. This dataset has a perfect class balance with a total of 2,200 samples evenly divided into 22 agricultural commodities. The developed predictive model evaluates seven soil and climate biophysical parameters, namely nitrogen, phosphorus, potassium, air temperature, relative humidity, soil acidity (pH), and rainfall intensity. The test results show that the XGBoost algorithm ranks top in classification accuracy with values ranging from 99.31% to 99.77%, surpassing other ensemble algorithms such as Random Forest as well as traditional models such as Decision Tree and Naive Bayes. Feature contribution analysis demonstrates that climate parameters (rainfall and humidity) act as primary ecological filters at the macro-level, while soil macronutrient (NPK) ratios serve as secondary determinants at the crop-specific micro-level. Overall, this boosting-based ensemble approach offers high accuracy and robustness to data outliers, making it a highly reliable agronomic decision-making tool for supporting sustainable land productivity.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Gunawan, Allan Desi Alexander (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Please read and understand the copyright terms for submissions to this journal.
Copyright Notice
The Jurnal Keamanan Nasional is under the Creative Commons Attribution 4.0 International (CC-BY 4.0) License, according to which:
1) Authors retain copyright and grant the journal the right to first publication, with the work simultaneously licensed under the Creative Commons Attribution (CC-BY 4.0) that allows the sharing of articles published with the acknowledgement of authorship and the initial publication in this journal.
2) The authors are authorized to make additional contracts separately for distribution of the version of the work published in this journal (for example, publication in an institutional repository or as a chapter of the book), as long as there is recognition of authorship and initial publication in this journal.
3) Authors are authorized and encouraged to publish and distribute their work online (for example, in institutional repositories or on their personal pages) at any time before or during the editorial process, as it increases the impact and reference of the published work.



2.jpg)


_-_Copy1.jpg)