Compares the effectiveness of the bagging method in classifying spices using the histogram of oriented gradient feature extraction technique

Authors

  • Muhathir Muhathir Universitas Medan Area, Indonesia

DOI:

https://doi.org/10.35335/cit.Vol15.2023.386.pp48-57

Keywords:

Bagging Method, Histogram of Oriented Gradient, Spices

Abstract

Spice classification is a crucial task in the food industry to ensure food safety and quality. This study focuses on the classification of spices using the Histogram of Oriented Gradient (HoG) feature extraction method and bagging method. The objective of this research is to compare the performance of three different models of bagging method, including Bootstrap Aggregating (Bagging), Random Forests, and Extra Tree Classifier, in classifying spices. The evaluation metrics used in this research are Precision, Recall, F1-Score, F2-Score, Jaccard Score, and Accuracy. The results show that the Random Forest model achieved the best performance, with precision, recall, F1-score, F2-Score, Jaccard, and Accuracy values of 0.861, 0.8633, 0.8587, 0.8607, 0.7694, and 0.8733 respectively. On the other hand, the Extra Tree Classifier had the lowest performance with precision, recall, F1-score, F2-Score, Jaccard, and Accuracy values of 0.7034, 0.7958, 0.7037, 0.7047, 0.5635, and 0.72 respectively. Overall, the results indicate a fairly good success rate in classifying spices using the HoG feature extraction method and bagging method. However, further evaluation is needed to improve the accuracy of the classification results, such as increasing the number of training data or considering the use of other feature extraction methods. The findings of this research may have significant implications for the food industry in ensuring the quality and safety of food products.

Downloads

Download data is not yet available.

Author Biography

Muhathir Muhathir, Universitas Medan Area, Indonesia

 

 

References

H. Anggrasari and W. A. Saputro, “COMPARATIVE ADVANTAGE OF INDONESIA WITH COMPETITIVE COUNTRIES FOR EXPORTING OF WORLD SPICES,†Journal ASEAN Dynamics and Beyond, vol. 2, no. 1, 2021.

S. Y. Riska and L. Farokhah, “Klasifikasi Bumbu Dapur Indonesia Menggunakan Metode K-Nearest Neighbors (K-NN),†SMATIKA, vol. 11, no. 1, 2021.

M. E. Embuscado, “Spices and herbs: Natural sources of antioxidants – a mini review,†J Funct Foods, vol. 18, pp. 811–819, 2015, doi: https://doi.org/10.1016/j.jff.2015.03.005.

A. Ali, H. Wu, E. N. Ponnampalam, J. J. Cottrell, F. R. Dunshea, and H. A. R. Suleria, “Comprehensive Profiling of Most Widely Used Spices for Their Phenolic Compounds through LC-ESI-QTOF-MS2 and Their Antioxidant Potential,†Antioxidants, vol. 10, no. 5, 2021, doi: 10.3390/antiox10050721.

T. Sudhakar Johnson and D. B. A. Narayana, “Role of spices in offering natural immunity to fight various diseases,†Pharmacognosy Journal, vol. 13, no. 2. EManuscript Technologies, pp. 600–613, Mar. 01, 2021. doi: 10.5530/pj.2021.13.76.

K. Umakanth and S. A. Girija, “ROLE OF COMMONLY USED ASIAN SPICES IN BOOSTING IMMUNITY AGAINST INFECTIOUS AGENTS,†European Journal of Molecular & Clinical Medicine, vol. 7, no. 1, 2020.

M. Setiawan, M. Rahayu, D. Q. Wahyu Ningsih, and N. Arifa, “Tumbuhan Rempah dan Masakan Tradisional di Kelurahan Nanggewer Mekar, Cibinong, Kabupaten Bogor,†Jurnal Masyarakat dan Budaya, vol. 23, no. 3, Mar. 2022, doi: 10.14203/jmb.v23i3.1434.

I. Wulandari, H. Yasin, and T. Widiharih, “KLASIFIKASI CITRA DIGITAL BUMBU DAN REMPAH DENGAN ALGORITMA CONVOLUTIONAL NEURAL NETWORK (CNN),†JURNAL GAUSSIAN, vol. 9, no. 3, 2020, [Online]. Available: https://ejournal3.undip.ac.id/index.php/gaussian/

M. Muhathir, M. H. Santoso, and R. Muliono, “Analysis Naïve Bayes In Classifying Fruit by Utilizing Hog Feature Extraction,†JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, vol. 4, no. 1, pp. 151–160, Jul. 2020, doi: 10.31289/jite.v4i1.3860.

N. Dewi Girsang and M. Muhathir, “Classification Of Batik Images Using Multilayer Perceptron With Histogram Of Oriented Gradient Feature Extraction,†in PROC. INTERNAT. CONF. SCI. ENGIN, 2021, vol. 4.

S. Ghaffari, P. Soleimani, K. F. Li, and D. W. Capson, “Analysis and Comparison of FPGA-Based Histogram of Oriented Gradients Implementations,†IEEE Access, vol. 8, pp. 79920–79934, 2020, doi: 10.1109/ACCESS.2020.2989267.

J. P. Tanjung and M. Muhathir, “Classification of facial expressions using SVM and HOG,†JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, vol. 3, no. 2, pp. 210–215, Jan. 2020, doi: 10.31289/jite.v3i2.3182.

T. Tri Saputra Sibarani and C. Author, “Analysis K-Nearest Neighbors (KNN) in Identifying Tuberculosis Disease (Tb) By Utilizing Hog Feature Extraction,†International of Computer Science and Information Technology (AIoCSIT) JournalISSN, vol. 1, no. 1, pp. 33–38, 2020.

S. Bakheet and A. Al-Hamadi, “A Framework for Instantaneous Driver Drowsiness Detection Based on Improved HOG Features and Naïve Bayesian Classification,†Brain Sci, vol. 11, no. 2, 2021, doi: 10.3390/brainsci11020240.

P. Xu, Z. Xiao, X. Wang, L. Chen, C. Wang, and F. An, “A multi-core object detection coprocessor for multi-scale/type classification applicable to iot devices,†Sensors (Switzerland), vol. 20, no. 21, pp. 1–13, Sep. 2020, doi: 10.3390/s20216239.

Muhathir, R. A. Rizal, J. S. Sihotang, and R. Gultom, “Comparison of SURF and HOG extraction in classifying the blood image of malaria parasites using SVM,†in 2019 International Conference of Computer Science and Information Technology (ICoSNIKOM), 2019, pp. 1–6. doi: 10.1109/ICoSNIKOM48755.2019.9111647.

H. Leidiyana and J. Warta, “Implementasi Metode SVM untuk Klasifikasi Bunga dengan Ekstraksi Fitur Histogram of Gradient (HOG),†Journal of Informatic and Information Security, vol. 3, no. 1, pp. 89–98, 2022.

L. Breiman, “Bagging predictors,†Mach Learn, vol. 24, no. 2, pp. 123–140, 1996, doi: 10.1007/BF00058655.

L. Breiman, “Random Forests,†Mach Learn, vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

P. Geurts, D. Ernst, and L. Wehenkel, “Extremely randomized trees,†Mach Learn, vol. 63, no. 1, pp. 3–42, Apr. 2006, doi: 10.1007/s10994-006-6226-1.

F. A. I. Achyunda Putra, F. Utaminingrum, and W. F. Mahmudy, “HOG Feature Extraction and KNN Classification for Detecting Vehicle in The Highway,†IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 14, no. 3, p. 231, Jul. 2020, doi: 10.22146/ijccs.54050.

T. Adilah and Q. N. Azizah, “Klasifikasi Tumor Otak Menggunakan Ekstraksi Fitur HOG dan Support Vector Machine,†2022. [Online]. Available: http://ejournal.bsi.ac.id/ejurnal/index.php/infortech45

T. Q. Bao, N. T. T. Kiet, T. Q. Dinh, and H. X. Hiep, “Plant species identification from leaf patterns using histogram of oriented gradients feature space and convolution neural networks,†Journal of Information and Telecommunication, vol. 4, no. 2, pp. 140–150, 2020, doi: 10.1080/24751839.2019.1666625.

N. Khairina, T. T. S. Sibarani, R. Muliono, Z. Sembiring, and M. Muhathir, “Identification of Pneumonia using The K-Nearest Neighbors Method using HOG Fitur Feature Extraction,†JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, vol. 5, no. 2, pp. 562–568, Jan. 2022, doi: 10.31289/jite.v5i2.6216.

F. Fadlisyah and M. Muhathir, “Performance Evaluation Of Variations Boosting Algorithms For Classifying Formalin Fish From Photos,†JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, vol. 6, no. 2, pp. 621–629, Jan. 2023, doi: 10.31289/jite.v6i2.6614.

Muhathir and Al-Khowarizmi, “Measuring the Accuracy of SVM with Varying Kernel Function for Classification of Indonesian Wayang on Images,†in 2020 International Conference on Decision Aid Sciences and Application (DASA), 2020, pp. 1190–1196. doi: 10.1109/DASA51403.2020.9317197.

M. Ula, M. Muhathir, and I. Sahputra, “Optimization of Multilayer Perceptron Hyperparameter in Classifying Pneumonia Disease Through X-Ray Images with Speeded-Up Robust Features Extraction Method,†IJACSA) International Journal of Advanced Computer Science and Applications, vol. 13, no. 10, 2022, [Online]. Available: www.ijacsa.thesai.org

Muhathir, M., Trisno Pangestu, R., Safira, I., & Melisah, M. (2023). Performance Comparison of Boosting Algorithms in Spices Classification Using Histogram of Oriented Gradient Feature Extraction. Journal of Computer Science, Information Technology and Telecommunication Engineering (JCoSITTE), 4(1), 342–349. https://doi.org/10.30596/jcositte.v4i1.13710

Downloads

Published

2023-03-30

How to Cite

Muhathir, M. (2023). Compares the effectiveness of the bagging method in classifying spices using the histogram of oriented gradient feature extraction technique. Jurnal Teknik Informatika C.I.T Medicom, 15(1), 48–57. https://doi.org/10.35335/cit.Vol15.2023.386.pp48-57

Issue

Section

OPTIMIZATION AND ARTIFICIAL INTELLIGENCE