Comparison of Support Vector Machine Optimization Methods for Chili Pepper Nutrient Deficiency Identification
DOI:
https://doi.org/10.47709/brilliance.v6i4.9730Keywords:
chili pepper;, nutrient deficiency;, support vector machine;, particle swarm optimization;, adaptive boosting;, grid search;, principal component analysisAbstract
Deficiencies of macronutrients such as nitrogen, phosphorus, and potassium in chili pepper plants can cause visible changes in leaf characteristics, which can be utilized as information for identifying plant conditions through digital images. The performance of the Support Vector Machine in classifying leaf conditions is highly influenced by its hyperparameter configuration; therefore, an appropriate optimization strategy is required. This study aims to compare the performance of four Support Vector Machine optimization methods, namely Grid Search, Particle Swarm Optimization, Principal Component Analysis, and Adaptive Boosting, combined with RGB color features and Gray Level Co-occurrence Matrix texture features to classify four conditions of chili pepper leaves: healthy, nitrogen-deficient, phosphorus-deficient, and potassium-deficient leaves. The classification was performed using two image resolutions, namely 120 × 120 and 244 × 244 pixels. This study employed a quantitative approach using 1,040 chili pepper leaf images obtained from primary data and secondary datasets from Kaggle and Roboflow. The research process consisted of data augmentation, feature extraction, Support Vector Machine modeling, and evaluation using accuracy, precision, recall, and F1-score. The experimental results showed that the Particle Swarm Optimization configuration achieved the highest accuracy, reaching 86.06% for 244 × 244 pixel images and increasing to 91.83% for 120 × 120 pixel images. It was followed by Grid Search, which achieved 84.13% and 90.38%, respectively, while Principal Component Analysis and Adaptive Boosting achieved lower accuracy at both image resolutions. This study concludes that the combination of RGB and Gray Level Co-occurrence Matrix features with Particle Swarm Optimization provides the best classification performance for identifying nutrient conditions in chili pepper plants based on leaf images. The findings also indicate that image resolution affects classification accuracy differently across optimization methods.
References
Agrerio Firera, R., Nugraha, W., & Sa’adah, R. (2026). Identifikasi Penyakit Tanaman Cabai Berdasarkan Ekstrasi Fitur Warna Tekstur Menggunakan SVM dan Random Forest. Jurnal Komputer Teknologi Informasi Sistem Komputer (JUKTISI), 5(2), 1654–1663. https://doi.org/10.62712/juktisi.v5i2.1415
Apriani, N., & Supatman. (2025). Analisis Ekstraksi Citra GLCM Dan Wavelet Untuk Klasifikasi Penyakit Cabai Dengan Metode SVM. Jurnal Informatika Teknologi Dan Sains (JINTEKS), 7, 895–903. https://doi.org/https://doi.org/10.51401/jinteks.v7i2.5860
Awalullaili, F. O., Ispriyanti, D., & Widiharih, T. (2023). Klasifikasi Penyakit Hipertensi Menggunakan Metode SVM Grid Search Dan SVM Genetic Algorithm (GA). Jurnal Gaussian, 11(4), 488–498. https://doi.org/10.14710/j.gauss.11.4.488-498
Chiatra, S., & Lestari, S. (2026). Optimization of Machine Learning Model for Sugarcane Leaf Detection Using Ensemble Methods. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 6(1), 332–340. https://doi.org/10.57152/malcom.v6i1.2577
Dendi Rachmatsyah, A., Sugihartono, T., & Irfan, K. (2025). Perbandingan Teknik Optimasi Grid Search dan Randomized Search dalam Meningkatkan Akurasi Metode Klasifikasi SVM Pada Sentimen Ulasan Pengguna Aplikasi JKN Mobile. SKANIKA: Sistem Komputer Dan Teknik Informatika, 8(1), 13–22.
Herteno, R., Kartini, D., Budiman, I., Komputer, I., & Matematika dan Ilmu Pengetahuan Alam, F. (2024). Implementasi Metode Principal Component Analysis (PCA) Dan Modified K-Nearest Neighbor Pada Klasifikasi Citra Daun Tanaman Herbal (Vol. 7, Number 1).
Iriananda, S. W., Budiawan, R. W., Rahman, A. Y., & Istiadi, I. (2024). Optimasi Klasifikasi Sentimen Komentar Pengguna Game Bergerak Menggunakan Svm, Grid Search Dan Kombinasi N-Gram. Jurnal Teknologi Informasi Dan Ilmu Komputer, 11(4), 743–752. https://doi.org/10.25126/jtiik.1148244
Lubis, S. W., Adikara, P. P., & Darma, B. (2024). Optimasi Hyperparameter Support Vector Machine Dengan Particle Swarm Optimization Terhadap Klasifikasi Citra Digital Imbalanced. https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/download/13508/6003/95540
Munir, M. S., & Eddy Purnama, I. K. (2015). IDENTIFIKASI KEKURANGAN UNSUR HARA PRIMER PADA PERTUMBUHAN TANAMAN KEDELAI BERDASARKAN TEKSTUR DAUN MENGGUNAKAN SUPPORT VEKTOR MACHINE. Scan?: Jurnal Teknologi Informasi Dan Komunikasi, 10(2). https://doi.org/10.33005/scan.v10i2.607
Nazila, S. F., Arman, Y., Wahyuni, D., Nurhasanah, N., & Putra, Y. S. (2023). Deteksi Dini Serangan Hama Penyakit pada Cabai Rawit Menggunakan Metode Image Recognition. Jurnal Teknik Informatika Dan Sistem Informasi, 9(2). https://doi.org/10.28932/jutisi.v9i2.6342
Purnawansyah, P., Wibawa, A. P., Widyaningtyas, T., Haviluddin, H., Hasihi, C. E., Teng, M. F., & Darwis, H. (2023). Comparative Study of Herbal Leaves Classification using Hybrid of GLCM-SVM and GLCM-CNN. ILKOM Jurnal Ilmiah, 15(2), 382–389. https://doi.org/10.33096/ilkom.v15i2.1759.382-389
Putri, S. W., Sari, A. P., & Aditiawan, F. P. (2026). Identifikasi Penyakit Daun Dan Batang Tanaman Jagung Menggunakan VGG16-SVM. JIPI (Jurnal Ilmiah Penelitian Dan Pembelajaran Informatika), 11(2), 794–802. https://doi.org/10.29100/jipi.v11i2.8020
Qur’ania, A., Karlitasari, L., Maryana, S., Sudrajat, C., & Zolla, Z. (2023). Identifikasi Defisiensi Unsur Hara Pada Tanaman Cabai Menggunakan Support Vector Machine. Jurnal Komputer Dan Informatika, 11(1), 62–67. https://doi.org/10.35508/jicon.v11i1.9803
Rahadiyan, D., Hartati, S., Wahyono, & Nugroho, A. P. (2023). Feature aggregation for nutrient deficiency identification in chili based on machine learning. Artificial Intelligence in Agriculture, 8, 77–90. https://doi.org/10.1016/j.aiia.2023.04.001
Samir, M., Purnawansyah, Darwis, H., & Umar, F. (2023). Fourier Descriptor Pada Klasifikasi Daun Herbal Menggunakan Support Vector Machine Dan Naive Bayes. Jurnal Teknologi Informasi Dan Ilmu Komputer, 10(6), 1205–1212. https://doi.org/10.25126/jtiik.2023107309
Sanora, S., & Wulanningrum, R. (2022). Segmentasi Metode Particle Swarm Optimization Pada Pendeteksi Citra Tangan. https://doi.org/10.30736/informatika.v7i2.847
Siddik Hasibuan, M., & Harahap, H. (2024a). Penerapan Metode Haar-Like Feature Dan Algoritma Adaboost Dalam Penentuan Klasifikasi Hama Tanaman Kopi. In Journal of Science and Social Research (Number 1). http://jurnal.goretanpena.com/index.php/JSSR
Siddik Hasibuan, M., & Harahap, H. (2024b). Penerapan Metode Haar-Like Feature Dan Algoritma AdaBoost Dalam Penentuan Klasifikasi Hama Tanaman Kopi. In Journal of Science and Social Research (Number 1). https://doi.org/10.54314/jssr.v7i1.1718
Sriani, S., & Rizky, Y. (2024). Klasifikasi Kualitas Daun Tembakau Menggunakan Glcm (Gray Level Co-Occurrence Matrix) Dan Svm (Support Vector Machine). Jurnal Informatika Dan Teknik Elektro Terapan, 12(3). https://doi.org/10.23960/jitet.v12i3.4599
Wijayanti, E. A., Rahmadanti, T. F., & Enri, U. (2021). Perbandingan Algoritma SVM dan SVM Berbasis Particle Swarm Optimization Pada Klasifikasi Beras Mekongga. In Generation Journal (Vol. 5, Number 2).
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ilham Sahputra, Usnawiyah, Athiyatul Ulya, Sirril Muna, Ahmad Rizki

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















