Penerapan Algoritma Extra Trees untuk Klasifikasi Kondisi Unsur Hara Tanah

Application of the Extra Trees Algorithm for Soil Nutrient Condition Classification

Authors

  • Anas Haetami Putra Ramadhan Politeknik Negeri Sriwijaya
  • Ade Silvia Handayani Politeknik Negeri Sriwijaya
  • Ahmad Taqwa Politeknik Negeri Sriwijaya

DOI:

https://doi.org/10.57152/malcom.v6i4.2953

Keywords:

Extra Trees, Kondisi Hara Tanah, Machine Learning, Pertanian Presisi, Rekomendasi Pemupukan

Abstract

Ketersediaan unsur hara tanah merupakan penentu mendasar produktivitas pertanian. Penggunaan pupuk yang tidak tepat serta mengabaikan kondisi tanah dapat mengurangi efisiensi, meningkatkan biaya, dan menurunkan hasil panen. Oleh karena itu, pendekatan berbasis data diperlukan untuk memberikan rekomendasi pupuk yang akurat. Studi ini menerapkan algoritma Extra Trees untuk mengklasifikasikan kondisi unsur hara tanah menggunakan Fertilizer Recommendation Dataset. Persiapan data melibatkan inspeksi kualitas, pengkodean label untuk atribut kategorikal, dan pembagian dataset 80:20 untuk pelatihan dan validasi. Validasi model menggunakan metrik akurasi, presisi, recall, dan F1-score. Selain itu, validasi silang 5-Fold mengevaluasi konsistensi dan kemampuan generalisasi model. Model mencapai akurasi pengujian 94,50%. Validasi silang menghasilkan akurasi rata-rata 94,02% (SD = 0,0053), menunjukkan ketahanan di berbagai pembagian data. Analisis kepentingan fitur mengidentifikasi Nitrogen, Fosfor, dan Kalium sebagai atribut klasifikasi yang paling penting. Hasil penelitian menunjukkan efektivitas algoritma dalam mengklasifikasikan kondisi tanah dan merekomendasikan pupuk. Pada akhirnya, metodologi ini menawarkan potensi signifikan untuk meningkatkan pengambilan keputusan di bidang pertanian melalui pendekatan aplikasi yang efisien dan berbasis data.

Downloads

Download data is not yet available.

References

R. Islam, K. Oliullah, M. Kabir, M. Alom, and M. F. Mridha, “Machine learning enabled IoT system for soil nutrients monitoring and crop recommendation,” J. Agric. Food Res., vol. 14, no. November, p. 100880, 2023, doi: 10.1016/j.jafr.2023.100880.

J. Mugwe and E. O. Otieno, “Integrated Soil Fertility Management Approaches for Climate Change Adaptation , Mitigation , and Enhanced Crop Productivity,” pp. 1–22, 2021, doi: https://doi.org/10.1007/978-3-030-22759-3_325-1 1.

G. Saha, F. Shahrin, F. H. Khan, and M. M. Meshkat, “Smart IoT-driven precision agriculture?: Land mapping , crop prediction , and irrigation system,” pp. 1–33, 2025, doi: 10.1371/journal.pone.0319268.

T. Alahmad, M. Nemenyi, and A. Nyeki, “Applying IoT Sensors and Big Data to Improve Precision Crop Production?: A Review,” agronomy, vol. 13, 2023, doi: https://doi.org/ 10.3390/agronomy13102603.

S. Postolache, P. Sebasti, V. Viegas, and O. Postolache, “IoT-Based Systems for Soil Nutrients Assessment in Horticulture,” sensors, vol. 23, 2023, doi: https://doi.org/ 10.3390/s23010403.

C. M. Al Kalaany, H. N. Kimaita, and A. A. Abdelmoneim, “The Potential of Low-Cost IoT-Enabled Agrometeorological Stations?: A Systematic Review,” sensors, 2025, doi: https://doi.org/10.3390/ s25196020.

O. Folorunso et al., “Exploring Machine Learning Models for Soil Nutrient Properties Prediction?: A Systematic Review,” big data Cogn. Comput., 2023, doi: https:// doi.org/10.3390/bdcc7020113.

O. Ennaji, L. Vergütz, and A. El, “Machine learning in nutrient management?: A review,” vol. 9, pp. 1–11, 2023, doi: 10.1016/j.aiia.2023.06.001.

S. O. Araújo, R. S. Peres, J. C. Ramalho, F. Lidon, and J. Barata, “Machine Learning Applications in Agriculture?: Current Trends , Challenges , and Future Perspectives,” pp. 1–27, 2023, doi: https:// doi.org/10.3390/agronomy13122976.

K. G. Liakos, P. Busato, D. Moshou, and S. Pearson, “Machine Learning in Agriculture?: A Review,” no. Ml, pp. 1–29, doi: 10.3390/s18082674.

A. Sharma, A. Jain, P. Gupta, and V. Chowdary, “Machine Learning Applications for Precision Agriculture?: A Comprehensive Review,” 2020, doi: 10.1109/ACCESS.2020.3048415.

X. Wang et al., “Machine learning-based in-season nitrogen status diagnosis and side-dress nitrogen recommendation for corn,” Eur. J. Agron., vol. 123, no. October 2020, p. 126193, 2021, doi: 10.1016/j.eja.2020.126193.

B. Dey, J. Ferdous, and R. Ahmed, “Machine learning based recommendation of agricultural and horticultural crop farming in India under the regime of NPK , soil pH and three climatic variables,” Heliyon, vol. 10, no. 3, p. e25112, 2024, doi: 10.1016/j.heliyon.2024.e25112.

M. Wu et al., “Precision forecasting of fertilizer components ’ concentrations in mixed variable-rate fertigation through machine learning,” Agric. Water Manag., vol. 298, no. April, p. 108859, 2024, doi: 10.1016/j.agwat.2024.108859.

J. Pant, M. C. Joshi, D. Singh, H. K. Pant, A. Bhatt, and D. Pant, “An Investigation into Ensemble Learning Techniques for Evaluating Soil Fertility through Analytical Approaches,” Procedia Comput. Sci., vol. 235, pp. 1998–2008, 2024, doi: 10.1016/j.procs.2024.04.189.

W. Abdullah, “A Comparative Study of Machine Learning Models for Soil Fertility Prediction Based on Soil Properties,” vol. 2, pp. 1–9, 2025, doi: https://doi.org/10.61356/j.oia.2025.2477.

Y. Pristyanto, I. Aji, F. Romadhon, and A. F. Nugraha, “Performance Evaluation of Machine Learning Models for Soil Fertility Classification Based on the Indian Soil Fertility Dataset,” vol. 12, no. 1, pp. 21–30, 2025.

L. Syed, “Smart Agriculture using Ensemble Machine Learning Techniques in IoT Environment,” Procedia Comput. Sci., vol. 235, pp. 2269–2278, 2024, doi: 10.1016/j.procs.2024.04.215.

H. Gunasekaran, K. Ramalakshmi, and S. Debnath, “Physics-Aware Ensemble Learning for Superior Crop Recommendation in Smart Agriculture,” pp. 1–17, 2025, doi: https://doi.org/10.3390/s25196243.

A. M. Gimba and P. K. Mishra, “Leveraging Ensemble Learning Techniques for Efficient Fertilizer Recommendation,” J. IlmiahTeknologi Sist. Inf., vol. 6, no. 4, pp. 363–371, 2025, doi: 10.62527/jitsi.6.4.509.

S. Akhilesh, B. T. Abburi, P. Somya, R. Mohana, S. Krishna, and T. Srihari, “Fertilizer Recommendation for Agriculture using Machine Learning,” pp. 756–760, 2025.

N. Veerasekar, K. I. T. Kalaignarkarunanidhi, and K. I. T. Kalaignarkarunanidhi, “Machine Learning-Based Fertilizer Recommendation System for Sustainable Crop Production,” pp. 1–6, 2025, doi: 10.55041/ISJEM04825.

G. Mamatha and J. S. Nayak, “A Novel Design and Implementation of Fertilizer Recommendation System Based on Hybrid Machine Learning Models,” vol. 11, no. 11, pp. 448–460, 2024, doi: https://doi.org/10.14445/23488379/IJEEE-V11I11P141.

I. H. Sarker, “Machine Learning?: Algorithms , Real ? World Applications and Research Directions,” SN Comput. Sci., 2021, doi: https://doi.org/10.1007/s42979-021-00592-x.

X. Wu, K. Wu, S. Hao, E. Yu, J. Zhao, and Y. Li, “Machine learning ensemble technique for exploring soil type evolution,” pp. 1–13, 2025, doi: https://doi.org/10.1038/s41598-025-10608-8 1.

Published

2026-10-31

How to Cite

Ramadhan, A. H. P., Handayani, A. S., & Taqwa, A. (2026). Penerapan Algoritma Extra Trees untuk Klasifikasi Kondisi Unsur Hara Tanah: Application of the Extra Trees Algorithm for Soil Nutrient Condition Classification. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(4). https://doi.org/10.57152/malcom.v6i4.2953