Perbandingan Random Forest dan Support Vector Machine untuk Klasifikasi Penyakit Daun Tomat Berbasis Citra Digital
DOI:
https://doi.org/10.62712/juktisi.v5i2.1390Keywords:
Klasifikasi Penyakit Daun Tomat, Citra Digital, Random Forest, Support Vector Machine, Machine Learning.Abstract
Penyakit pada daun tomat merupakan salah satu penyebab utama menurunnya kualitas dan produktivitas hasil panen, sehingga diperlukan metode deteksi yang cepat dan akurat. Perkembangan teknologi pengolahan citra digital dan machine learning dapat dimanfaatkan untuk membantu proses identifikasi penyakit daun tomat secara otomatis. Penelitian ini bertujuan untuk membandingkan kinerja algoritma Random Forest dan Support Vector Machine (SVM) dalam mengklasifikasikan penyakit daun tomat berbasis citra digital. Data dikumpulkan melalui studi pustaka dan penggunaan dataset Tomato Leaf Disease Detection yang diperoleh dari Kaggle. Tahapan penelitian meliputi pengumpulan dataset, pra-pemrosesan citra, ekstraksi fitur menggunakan Histogram HSV, Histogram of Oriented Gradients (HOG), dan Gray Level Co-occurrence Matrix (GLCM), pembagian data latih dan data uji dengan rasio 80:20, pelatihan model menggunakan algoritma Random Forest dan SVM, serta evaluasi menggunakan confusion matrix, akurasi, presisi, recall, dan F1-score. Hasil penelitian menunjukkan bahwa algoritma Random Forest memiliki performa lebih baik dibandingkan SVM, dengan akurasi sebesar 86,33%, presisi 87,00%, recall 86,00%, dan F1-score 86,00%, sedangkan SVM memperoleh akurasi 74,67%, presisi 75,00%, recall 75,00%, dan F1-score 74,00%. Berdasarkan hasil tersebut, Random Forest terbukti lebih efektif dalam mengklasifikasikan penyakit daun tomat berbasis citra digital. Penelitian ini diharapkan dapat menjadi referensi dalam pengembangan sistem deteksi penyakit tanaman berbasis machine learning.
Downloads
References
[1] G. Henry, A. Panjaitan, and F. Simatupang, "Pemodelan Klasifikasi Penyakit Daun Tanaman Tomat dengan Convolutional Neural Network Algorithm," vol. 4, no. 5, pp. 2667–2675, 2024, doi: 10.30865/klik.v4i5.1646.
[2] G. Zhu, C. Ma, S. Yu, X. Zhang, and J. Jiang, "Transcriptome Analyses Reveal the Key Regulators of Tomato Compound Leaf Development," 2023.
[3] S. Kaur, N. Khanal, R. Dearth, and R. Kariyat, "Morphological characterization of intraspecific variation for trichome traits in tomato (Solanum lycopersicum)," Botanical Studies, 2023, doi: 10.1186/s40529-023-00370-3.
[4] M. Shafay, T. Hassan, M. Owais, I. Hussain, S. G. Khawaja, and L. Seneviratne, "Recent advances in plant disease detection: challenges and opportunities," 2025.
[5] T. Rahman, S. D. Dipto, I. J. June, A. Momin, and R. Al. Mamun, "Machine Learning-based Disease Classification in Tomato (Solanum lycopersicum) Plants," vol. 12, no. 3, pp. 151–159, 2024.
[6] R. Khan, N. U. Din, A. Zaman, and B. Huang, "Processing: An SVM-Based Approach with GLCM and SIFT Features," vol. 2024, 2024, doi: 10.1155/2024/9918296.
[7] A. Chelladurai, D. P. M. Kumar, and S. S. Askar, "Classification of tomato leaf disease using Transductive Long Short-Term Memory with an attention mechanism," pp. 1–15, 2025, doi: 10.3389/fpls.2024.1467811.
[8] O. Rainio, "Evaluation metrics and statistical tests for machine learning," Scientific Reports, pp. 1–14, 2024, doi: 10.1038/s41598-024-56706-x.
[9] C. Nyasulu, A. Diattara, A. Traore, and C. Ba, "A comparative study of Machine Learning-based classification of Tomato fungal diseases: Application of GLCM texture features," Heliyon, vol. 9, no. 11, p. e21697, 2023, doi: 10.1016/j.heliyon.2023.e21697.
[10] B. Khan et al., "Bayesian optimized multimodal deep hybrid learning approach for tomato leaf disease classification," Scientific Reports, vol. 0123456789, pp. 1–30, 2024, doi: 10.1038/s41598-024-72237-x.
[11] H. Riggs and M. Tariq, "Advancements and Challenges in Machine Learning: A Comprehensive Review of Models, Libraries, Applications, and Algorithms," 2023.
[12] V. Pandiyaraju et al., "Improved tomato leaf disease classification through adaptive ensemble models with exponential moving average fusion and enhanced weighted gradient optimization," pp. 1–26, 2024, doi: 10.3389/fpls.2024.1382416.
[13] S. Ahmed, M. B. Hasan, T. Ahmed, M. R. K. Sony, and M. H. Kabir, "Less is more: Lighter and faster deep neural architecture for tomato leaf disease classification," IEEE Access, vol. 10, pp. 68868–68884, 2022, doi: 10.1109/ACCESS.2022.3187203.
[14] A. Guerrero-Ibañez and A. Reyes-Muñoz, "Monitoring Tomato Leaf Disease through Convolutional Neural Networks," Electronics, vol. 12, no. 1, p. 229, Jan. 2023, doi: 10.3390/electronics12010229.
[15] A. R. Al-Shamasneh and R. W. Ibrahim, "Classification of tomato leaf images for detection of plant disease using conformable polynomials image features," MethodsX, 2024, doi: 10.1016/j.mex.2024.102844.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Pelagia Melati, Windi Irmayani, Muhammad Ifan Rifani Ihsan

This work is licensed under a Creative Commons Attribution 4.0 International License.














