Comparison of Supervised Learning Methods for COVID-19 Classification on Chest X-Ray Image


  • Faisal Dharma Adhinata Institut Teknologi Telkom Purwokerto
  • Nur Ghaniaviyanto Ramadhan Institut Teknologi Telkom Purwokerto
  • Arif Amrulloh Institut Teknologi Telkom Purwokerto
  • Arief Rais Bahtiar Institut Teknologi Telkom Purwokerto



Supervised Learning Methods, COVID- 19 Classification, Chest X-Ray Images


The Coronavirus (COVID-19) pandemic is still ongoing in almost all countries in the world. The spread of the virus is very fast because the transmission process is through air contaminated with viruses from COVID-19 patients’ droplets. Several previous studies have suggested that the use of chest X-Ray images can detect the presence of this virus. Detection of COVID-19 using chest X-Ray images can use deep learning techniques, but it has the disadvantage that the training process takes too long. Therefore, the research uses machine learning techniques hoping that the accuracy results are not too different from deep learning and result in fast training time. The research evaluates three supervised learning methods, namely Support Vector Machine (SVM), K-Nearest Neighbor (K-NN), and Random Forest, to detect COVID-19. The experimental results show that the accuracy of the SVM method using a polynomial kernel can reach 90% accuracy, and the training time is only 462 ms. Through these results, machine learning techniques can compensate for the results of the deep learning technique in terms of accuracy, and the training process is faster than the deep learning technique. The research provides insight into the early detection of COVID-19 patients through chest X-Ray images so that further medical treatment can be carried out immediately.


Plum Analytics

Author Biographies

Faisal Dharma Adhinata, Institut Teknologi Telkom Purwokerto

Department of Software Engineering, Faculty of Informatics

Nur Ghaniaviyanto Ramadhan, Institut Teknologi Telkom Purwokerto

Department of Software Engineering, Faculty of Informatics

Arif Amrulloh, Institut Teknologi Telkom Purwokerto

Department of Software Engineering, Faculty of Informatics

Arief Rais Bahtiar, Institut Teknologi Telkom Purwokerto

Department of Software Engineering, Faculty of Informatics


F. Rustam, A. A. Reshi, A. Mehmood, S. Ullah, B. W. On, W. Aslam, and G. S. Choi, “COVID-19 future forecasting using supervised machine learning models,” IEEE Access, vol. 8, pp. 101 489–101 499, 2020.

F. Wu, S. Zhao, B. Yu, Y. M. Chen, W. Wang, Z. G. Song, Y. Hu, Z. W. Tao, J. H. Tian, Y. Y. Pei et al., “A new coronavirus associated with human respiratory disease in china,” Nature, vol. 579, no. 7798, pp. 265–269, 2020.

N. H. L. Leung, “Transmissibility and transmission of respiratory viruses,” Nature Reviews Microbiology, vol. 19, pp. 528–545, 2021.

CDC, “Symptoms of COVID-19,” 2022. [Online]. Available:

R. Shrestha and L. Shrestha, “Coronavirus disease 2019 (COVID-19): A pediatric perspective,” JNMA: Journal of the Nepal Medical Association, vol. 58, no. 227, pp. 525–532, 2020.

F. Pan, T. Ye, P. Sun, S. Gui, B. Liang, L. Li, D. Zheng, J. Wang, R. L. Hesketh, L. Yang, and C. Zheng, “Time course of lung changes at chest CT during recovery from Coronavirus disease 2019 (COVID-19),” Radiology, vol. 295, no. 3, pp. 715–721, 2020.

H. Shi, X. Han, N. Jiang, Y. Cao, O. Alwalid, J. Gu, Y. Fan, and C. Zheng, “Radiological findings from 81 patients with COVID-19 pneumonia in Wuhan, China: A descriptive study,” The Lancet Infectious Diseases, vol. 20, no. 4, pp. 425–434, 2020.

R. Yasin and W. Gouda, “Chest X-ray findings monitoring COVID-19 disease course and severity,” Egyptian Journal of Radiology and Nuclear Medicine, vol. 51, no. 1, pp. 1–18, 2020.

S. H. Yoon, K. H. Lee, J. Y. Kim, Y. K. Lee, H. Ko, K. H. Kim, C. M. Park, and Y. H. Kim, “Chest radiographic and CT findings of the 2019 novel Coronavirus disease (COVID-19): analysis of nine patients treated in Korea,” Korean Journal of Radiology, vol. 21, no. 4, pp. 494–500, 2020.

N. Yudistira, A. W. Widodo, and B. Rahayudi, “Deteksi Covid-19 pada citra sinar-x dada menggunakan deep learning yang efisien,” Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 7, no. 6, pp. 1289–1296, 2020.

Y. S. Hariyani, S. Hadiyoso, and T. S. Siadari, “Deteksi penyakit covid-19 berdasarkan citra x-ray menggunakan deep residual network,” ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 8, no. 2, pp. 443–453, 2020.

A. U. Zailani, A. Perdananto, N. Nurjaya, and Sholihin, “Pengenalan sejak dini siswa smp tentang machine learning untuk klasifikasi gambar dalam menghadapi revolusi 4.0,” KOMMAS: Jurnal Pengabdian Kepada Masyarakat, vol. 1, no. 1, pp. 7–15, 2020.

P. Thanh Noi and M. Kappas, “Comparison of random forest, k-nearest neighbor, and support vector machine classifiers for land cover classification using Sentinel-2 imagery,” Sensors, vol. 18, no. 1, pp. 1–20, 2017.

S. Watmah, S. Suryanto, and M. Martias, “Komparasi metode K-NN, support vector machine dan random forest pada e-commerce Shopee,” INSANtek, vol. 2, no. 1, pp. 15–21, 2021.

M. E. H. Chowdhury, T. Rahman, A. Khandakar, R. Mazhar, M. A. Kadir, Z. B. Mahbub, K. R. Islam, M. S. Khan, A. Iqbal, N. Al Emadi, R. M. B. I., and M. T. Islam, “Can AI help in screening viral and COVID-19 pneumonia?” IEEE Access, vol. 8, pp. 132 665–132 676, 2020.

T. Rahman, A. Khandakar, Y. Qiblawey, A. Tahir, S. Kiranyaz, S. B. A. Kashem, M. T. Islam, S. Al Maadeed, S. M. Zughaier, M. S. Khan, and M. E. H. Chowdhury, “Exploring the effect of image enhancement techniques on COVID-19 detection using chest x-ray images,” Computers in Biology and Medicine, vol. 132, pp. 1–16, 2021.

R. Y. Endra, A. Cucus, F. N. Afandi, and M. B. Syahputra, “Deteksi objek menggunakan Histogram Of Oriented Gradient (HOG) untuk model smart room,” Explore: Jurnal Sistem informasi dan telematika (Telekomunikasi, Multimedia dan Informatika), vol. 9, no. 2, pp. 99–105, 2018.

B. E. Boser, I. M. Guyon, and V. N. Vapnik, “A training algorithm for optimal margin classifiers,” in Proceedings of the Fifth Annual Workshop on Computational Learning Theory, 1992, pp. 144–152.

K. B. Duan, J. C. Rajapakse, and M. N. Nguyen, “One-versus-one and one-versus-all multiclass SVM-RFE for gene selection in cancer classification,” in European Conference on Evolutionary Computation, Machine Learning and Data Mining in Bioinformatics. Valencia, Spain: Springer, April 11–13, 2007, pp. 47–56.

F. D. Adhinata, A. Harjoko, and Wahyono, “Object searching on video using ORB descriptor and support vector machine,” in International Conference on Computational Collective Intelligence. Da Nang, Vietnam: Springer, Nov. 30–Dec. 3, 2020, pp. 239–251.

D. Kurniawan and A. Saputra, “Penerapan KNearest Neighbour dalam penerimaan peserta didik dengan sistem zonasi,” Jurnal Sistem Informasi Bisnis, vol. 9, no. 2, pp. 212–219, 2019.

H. Tyralis, G. Papacharalampous, and A. Langousis, “A brief review of random forests for water scientists and practitioners and their recent history in water resources,” Water, vol. 11, no. 5, pp. 1–37, 2019.

F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg et al., “Scikit-learn: Machine learning in Python,” The Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.

M. Awad and R. Khanna, Efficient learning machines: Theories, concepts, and applications for engineers and system designers. Springer Nature, 2015.

R. C. Chen, C. Dewi, S. W. Huang, and R. E. Caraka, “Selecting critical features for data classification based on machine learning methods,” Journal of Big Data, vol. 7, no. 1, pp. 1–26, 2020.



Abstract 215  .
PDF downloaded 92  .