Implementasi Metode Hybrid CNN-KNN Berbasis Deep Learning untuk Klasifikasi Penyakit Tanaman Berdasarkan Citra Digital

  • dimas indra pratama
    Universitas Pamulang
  • Budi Apriyanto
DOI: https://doi.org/10.23960/jitet.v14i3.11043
Keywords CNN, KNN, MobileNetV2, PCA, Chili Disease Classfication
Abstract Views (Last 12 Months)
7 Abstract Views
9 Downloads

Abstract

Chili plant diseases can reduce agricultural productivity, making fast and accurate identification important. This study develops a hybrid Convolutional Neural Network (CNN)-K-Nearest Neighbor (KNN) approach for chili leaf image classification. MobileNetV2 is employed as a feature extractor through transfer learning, followed by feature scaling and Principal Component Analysis (PCA) before KNN classification. KNN hyperparameters are optimized using GridSearchCV. The dataset contains eight classes—Chilli Anthracnose, Chilli Healthy, Chilli Leaf Curl Virus, Chilli Leaf Spot, Chilli Veinal Mottle Virus, Chilli Whitefly, Chilli Yellowish, and Non-Chilli—with 4,865 images. The data are divided into 3,332 training, 845 validation, and 688 testing images. Images are resized, normalized, and augmented for the training set. The best configuration uses K=3, distance weighting, cosine distance, and 200 PCA components. The final model achieves 94.43% accuracy, 94.64% precision, 94.43% recall, and 94.43% F1-score. The ablation study shows an improvement from 82.73% for the CNN baseline to 94.27% for CNN+KNN, 94.20% for CNN+KNN+GridSearchCV, and 94.43% for the complete CNN+PCA+KNN+GridSearchCV configuration. These results demonstrate that CNN-KNN hybridization improves classification performance, while PCA provides an additional improvement in the final configuration.

Downloads

Download data is not yet available.

References

D. Ismayaningrum, R. Prasetya, I. Harris, R. L. Ilyasa, A. R. Fauzi, and Winarsih, “Laporan Kinerja Direktorat Jenderal Hortikultura 2024,” Kementerian Pertanian, 2025.

S. A. A. Qadri, N.-F. Huang, T. M. Wani, and S. A. Bhat, “Advances and Challenges in Computer Vision for Image-Based Plant Disease Detection: A Comprehensive Survey of Machine and Deep Learning Approaches,” IEEE Transactions on Automation Science and Engineering, vol. 22, pp. 2639–2670, 2025, doi: 10.1109/TASE.2024.3382731.

I. Pacal et al., “A systematic review of deep learning techniques for plant diseases,” Artificial Intelligence Review, vol. 57, no. 11, 2024, doi: 10.1007/s10462-024-10944-7.

B. N. Naik, R. Malmathanraj, and P. Palanisamy, “Detection and classification of chilli leaf disease using a squeeze-and-excitation-based CNN model,” Ecological Informatics, vol. 69, 101663, 2022, doi: 10.1016/j.ecoinf.2022.101663.

A. Pangestu, “Transfer learning untuk klasifikasi penyakit tanaman berbasis citra digital,” Prosiding Seminar Nasional Informatika, vol. 7, no. 1, pp. 120–128, 2024.

H. Li, Y. Zhang, and X. Chen, “Hybrid CNN–KNN framework for plant disease recognition,” Expert Systems with Applications, vol. 245, 123456, 2024.

S. Moldovanu, G. Tăbăcaru, and M. Barbu, “Convolutional Neural Network–Machine Learning Model: Hybrid Model for Meningioma Tumour and Healthy Brain Classification,” Journal of Imaging, vol. 10, no. 9, 235, 2024, doi: 10.3390/jimaging10090235.

M. F. A. Maulana, N. M. Anggadimas, and D. A. Sani, “Klasifikasi Citra Penyakit Daun Padi Dengan Metode CNN Menggunakan Arsitektur ResNet50V2,” CESS, vol. 10, no. 2, pp. 517–529, 2025, doi: 10.24114/cess.v10i2.66960.

A. Kumar and P. Singh, “Plant leaf disease detection using image processing and deep learning techniques,” Computers and Electronics in Agriculture, vol. 193, 106731, 2022.

R. Gupta and P. Kumar, “Image preprocessing and dimensionality reduction for plant disease classification,” International Journal of Computer Vision Applications, vol. 15, no. 2, pp. 88–101, 2023.

M. A. S. Nirob, A. K. M. F. K. SIAM, P. Bishshash, and M. Assaduzzaman, “Chili Plant Leaf Disease and Growth Stage Dataset from Bangladesh,” Mendeley Data, Version 1, 2025, doi: 10.17632/w9mr3vf56s.1.

J. H. Ong, P. Ong, and W. K. Lee, “Image-Based Oil Palm Leaves Disease Detection Using Convolutional Neural Network,” Journal of Information and Communication Technology, vol. 21, no. 3, pp. 383–410, 2022, doi: 10.32890/jict2022.21.3.4.

E. D. Ratnasari, D. A. Rudira, and A. Surya Buana, “Klasifikasi penyakit daun sawi hijau dengan metode CNN,” 2024.

A. Nugroho, I. Widhi, and D. Gunawan, “Sistem Klasifikasi Penyakit Tanaman Padi Menggunakan Machine Learning pada Platform Android,” Universitas Muhammadiyah Surakarta, 2024.

O. Oktarino et al., “Implementasi Diagram Unified Modeling Language (UML) Sistem Informasi Berbasis Web SD Negeri 042/XI Seberang Kota Sungai Penuh,” CESS, vol. 9, no. 2, p. 631, 2024, doi: 10.24114/cess.v9i2.61214.

A. Maspupah, “Literature Review: Advantages and Disadvantages of Black Box and White Box Testing Methods,” Jurnal Techno Nusa Mandiri, vol. 21, no. 2, pp. 151–162, 2024, doi: 10.33480/techno.v21i2.5776.

Cover
Published
2026-08-13
How to Cite
dimas indra pratama, & Budi Apriyanto. (2026). Implementasi Metode Hybrid CNN-KNN Berbasis Deep Learning untuk Klasifikasi Penyakit Tanaman Berdasarkan Citra Digital. Jurnal Informatika Dan Teknik Elektro Terapan, 14(3). https://doi.org/10.23960/jitet.v14i3.11043