Evaluasi Kinerja SVM, Random Forest, Xception dan MobilenetV2 untuk Klasifikasi Jenis Mangga

  • Jason Chainara Putra Teknik Informatika, Universitas Tarumanagara, Indonesia
  • Teny Handhayani Teknik Informatika, Universitas Tarumanagara, Indonesia
Keywords: Mango, MobileNetV2, Random Forest, SVM, Xception

Abstract

Mango is one of many tropical fruits that became a fruit with high market value that is adored by many in Indonesia, and has been cultivated all around the world because of the the sweet taste and it’s high yield rate. There are still many people who can’t differentiate types of mango due to it’s high variety, from it’s shape, color, size, to it’s leaf bone structure. This research uses mango images as the dataset that consists of 5 types of mangoes, which are Geding, Harumanis, Indramayu, Kiojay and Manalagi with 50 images for each types, that totals to 250 images. The purpose of this paper is to compare the performance of 2 machine learning algorithms, which are Random Forest and SVM (Support Vector Machine) RBF, with 2 deep learning algoritthms, which are Xception and MobileNetV2 to clasifity the type of mango using the mango images. The benefits of this research are to help differentiate the types of mangoes so that many people can recognize and differentiate the types of mangoes accurately and easily. Before traning and testing, the dataset goes through pre-processing first, by data augmentation and then transforming the images into grayscale. And then the data is divided using K-Fold Cross Validation with the value of k = 5. The result of this research shows that classifying the types of mangoes using all 4 of the algorithms can be done with good results, and obtained that using MobileNetV2 yields the highest matrix evalution with a mean accuracy of 0.9640, precision of 0.9676, recall of 0.9640, and F1-score of 0.9635.

References

N. N. Komah and D. Hermanto, “Classification of Mango Varieties from Leaf Images Using ResNet-50 CNN Architecture,” Brilliance: Research of Artificial Intelligence, vol. 5, no. 1, pp. 559–567, Jul. 2025, doi: 10.47709/brilliance.v5i1.6571.

D. Hidayat, “Klasifikasi Jenis Mangga Berdasarkan Bentuk Dan Tekstur Daun Menggunakan Metode Convolutional Neural Network (CNN),” INTECOMS: Journal of Information Technology and Computer Science, vol. 5, no. 1, pp. 98–103, Jun. 2022, doi: 10.31539/intecoms.v5i1.3401.

A. H. Mardiah, Y. S. Wulandari, and A. F. Syahputra, “Analisis Faktor-Faktor yang Memengaruhi Pendapatan Petani Mangga (Mangifera indica L.) di Desa Sumberjaya Kecamatan Tempuran Kabupaten Karawang,” Paspalum: Jurnal Ilmiah Pertanian, vol. 12, no. 2, Nov. 2024, doi: 10.35138/paspalum.v12i2.760.

A. Asfiani, S. Samudin, and I. S. Madauna, “Karakteristik Mangga (Mangifera indica L.) Lokal Berdasarkan Ciri Morfologi Dan Anatomi,” AGROTEKBIS : JURNAL ILMU PERTANIAN (e-journal), vol. 7, no. 5, Oct. 2018, [Online]. Available: http://jurnal.faperta.untad.ac.id/index.php/agrotekbis/article/view/576

A. M. Kiloes, Y. N. Muflikh, D. Joyce, and A. Abdul Aziz, “Understanding the complexity of the Indonesian fresh mango industry in delivering quality to markets: A systems thinking approach,” Food Policy, vol. 118, p. 102497, Jul. 2023, doi: 10.1016/j.foodpol.2023.102497.

V. Y. P. Ardhana, J. Saputra, and M. Afriansyah, “Klasifikasi Jenis Mangga Berdasarkan Tekstur Tulang Daun Menggunakan Metode Learning Vector Quantization (LVQ),” Journal of Computer System and Informatics (JoSYC), vol. 4, no. 1, pp. 220–228, Dec. 2022, doi: 10.47065/josyc.v4i1.2420.

C. Ke et al., “Mango Varieties Classification-Based Optimization with Transfer Learning and Deep Learning Approaches,” in Classification Applications with Deep Learning and Machine Learning Technologies, vol. 1071, J. Kacprzyk, Ed., Warsaw: Springer, Cham, 2023, pp. 45–66.

M. R. Sopany and T. Handhayani, “Leaf-Type Image Classification Using Deep Learning Method Convolution Neural Network,” METHOMIKA: Jurnal Manajemen Informatika & Komputerisasi Akuntansi, vol. 9, no. 1, pp. 86–91, Apr. 2025.

P. A. Suri, M. A. Setiono, A. Andrew, and M. Fajar, “Comparative Study of CNN-based Deep Learning Models for Animal, Digit, and Flower Image Classification,” Engineering, MAthematics and Computer Science Journal (EMACS), vol. 7, no. 3, pp. 321–326, Sep. 2025, doi: 10.21512/emacsjournal.v7i3.14317.

P. Wang, E. Fan, and P. Wang, “Comparative analysis of image classification algorithms based on traditional machine learning and deep learning,” Pattern Recognit Lett, vol. 141, pp. 61–67, Jan. 2021, doi: 10.1016/j.patrec.2020.07.042.

M. Belgiu and L. Drăguţ, “Random forest in remote sensing: A review of applications and future directions,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 114, pp. 24–31, Apr. 2016, doi: 10.1016/j.isprsjprs.2016.01.011.

M. Sheykhmousa, M. Mahdianpari, H. Ghanbari, F. Mohammadimanesh, P. Ghamisi, and S. Homayouni, “Support Vector Machine Versus Random Forest for Remote Sensing Image Classification: A Meta-Analysis and Systematic Review,” IEEE J Sel Top Appl Earth Obs Remote Sens, vol. 13, pp. 6308–6325, 2020, doi: 10.1109/JSTARS.2020.3026724.

D. Mustafa Abdullah and A. Mohsin Abdulazeez, “Machine Learning Applications based on SVM Classification A Review,” Qubahan Academic Journal, vol. 1, no. 2, pp. 81–90, Apr. 2021, doi: 10.48161/qaj.v1n2a50.

R. S. Saputra and M. P. A. Saputra, “Comparison of Random Forest and SVM Algorithms in Classification of Diabetic Retinopathy Based on Fundus Image Texture Features,” International Journal of Quantitative Research and Modeling, vol. 6, no. 2, pp. 218–226, Jun. 2025, doi: 10.46336/ijqrm.v6i2.1011.

J. O. Carnagie, A. R. Prabowo, E. P. Budiana, and I. K. Singgih, “Essential Oil Plants Image Classification Using Xception Model,” Procedia Comput Sci, vol. 204, pp. 395–402, 2022, doi: 10.1016/j.procs.2022.08.048.

B. A. Wijaya, P. J. Gea, A. D. Gea, A. Sembiring, and C. M. S. Hutagalung, “Satellite Images Classification using MobileNet V-2 Algorithm,” sinkron, vol. 8, no. 4, pp. 2316–2326, Oct. 2023, doi: 10.33395/sinkron.v8i4.12949.

M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen, “MobileNetV2: Inverted Residuals and Linear Bottlenecks,” IEEE Conference on Computer Vision and Pattern Recognition, pp. 4510–4520, 2018.

M. A. Mumtaazah and A. N. Handayani, “Comparative Analysis Using Xception and MobileNetV2 Deep Learning Models for Brain Tumor Detection in MRI Images,” Journal Of Informatics And Telecommunication Engineering, vol. 9, no. 1, Jul. 2025.

K. Maharana, S. Mondal, and B. Nemade, “A review: Data pre-processing and data augmentation techniques,” Global Transitions Proceedings, vol. 3, no. 1, pp. 91–99, Jun. 2022, doi: 10.1016/j.gltp.2022.04.020.

A. Mumuni and F. Mumuni, “Data augmentation: A comprehensive survey of modern approaches,” Array, vol. 16, p. 100258, Dec. 2022, doi: 10.1016/j.array.2022.100258.

N. A. Simanjuntak, Janoe Hendarto, and Wahyono, “The Effect Of Image Preprocessing Techniques On Convolutional Neural Network-Based Human Action Recognition ,” Journal of theoritical and applied information technology, vol. 98, no. 16, pp. 3364–3374, Aug. 2020.

Moch. A. Aprihartha and I. Idham, “Optimization of Classification Algorithms Performance with k-Fold Cross Validation,” EIGEN MATHEMATICS JOURNAL, vol. 7, no. 2, pp. 61–66, Sep. 2024, doi: 10.29303/emj.v7i2.212.

W. Wijiyanto, A. I. Pradana, S. Sopingi, and V. Atina, “Teknik K-Fold Cross Validation untuk Mengevaluasi Kinerja Mahasiswa,” Jurnal Algoritma, vol. 21, no. 1, May 2024, doi: 10.33364/algoritma/v.21-1.1618.

F. Utaminingrum et al., “Feature selection of gray-level Cooccurrence matrix using genetic algorithm with Extreme learning machine classification for early detection of Pole roads,” Results in Engineering, vol. 20, p. 101437, Dec. 2023, doi: 10.1016/j.rineng.2023.101437.

K. Sharode, R. Savdekar, and T. Chaudhari, “Texture Feature Analysis Of An Image Using Gray Level Co-Occurrence Matrix,” International Journal Of Novel Research And Development, vol. 7, no. 2, pp. 139–143, Feb. 2022.

O. Rainio, J. Teuho, and R. Klén, “Evaluation metrics and statistical tests for machine learning,” Sci Rep, vol. 14, no. 1, p. 6086, Mar. 2024, doi: 10.1038/s41598-024-56706-x.

R. Yacouby and D. Axman, “Probabilistic Extension of Precision, Recall, and F1 Score for More Thorough Evaluation of Classification Models,” in Proceedings of the First Workshop on Evaluation and Comparison of NLP Systems, Stroudsburg, PA, USA: Association for Computational Linguistics, 2020, pp. 79–91. doi: 10.18653/v1/2020.eval4nlp-1.9.

D. J. Hand, P. Christen, and S. Ziyad, “Selecting a classification performance measure: matching the measure to the problem,” Sep. 2024.

Published
2026-09-30
How to Cite
[1]
J. Chainara Putra and T. Handhayani, “Evaluasi Kinerja SVM, Random Forest, Xception dan MobilenetV2 untuk Klasifikasi Jenis Mangga”, JI, vol. 5, no. 2, pp. 57-66, Sep. 2026.