Abstract
COVID-19 is an infectious disease caused by SARS-Cov2 that has spread rapidly worldwide. According to the World Health Organization (WHO), the total cases of 4374783839 are reported from different countries. In this consequence, it is necessary to diagnose automatically COVID-19, which helps in prevention during spreading among people. In this study, we have used machine learning techniques to diagnose and classify the COVID-19 and normal patients from chest X-ray images using a machine learning technique. The proposed system involves pre-processing, feature extraction, and classification. In the pre-processing, the image is to enhance and improve the contrast. In the feature extraction, the Histogram of Oriented Gradients has been applied to extract the image's feature. Finally, in classification two different machine learning techniques (Support Vector Machine and Logistic Regression) have been used to classify COVID-19 and normal patients. The result analysis shows that the SVM achieved the highest accuracy of 96% and provide a better result than logistic regression (92% accuracy).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Yan, L., Zhang, H.T., Xiao, Y., Wang, M., Guo, Y., Sun, C., Tang, X., Jing, L., Li, S., Zhang, M., Xiao, Y., Cao, H., Chen, Y., Ren, T., Jin, J., Wang, F., Xiao, Y., Huang, S., Tan, X., Huang, N., Jiao, B., Zhang, Y., Luo, A., Cao, Z., Xu, H. Yuan, Y.: Prediction of criticality in patients with severe Covid-19 infection using three clinical features: a machine learning-based prognostic model with clinical data in Wuhan. MedRxiv (2020)
Lupia, T., Scabini, S., Pinna, S.M., Di Perri, G., De Rosa, F.G., Corcione, S.: 2019-novel coronavirus outbreak: a new challenge. J. Global Antimicrob. Resist. 21, 22–27 (2020)
Here’s what coronavirus does to the body. https://www.nationalgeographic.com/science/2020/02/here-is-what-coronavirus-does-to-the-body/ (2021). Retrieved 19 Jan 2021
Coronavirus. https://www.who.int/health-topics/coronavirus/coronavirus (2021). Retrieved 19 Jan 2021
Huang, C., Wang, Y., Li, X., Ren, L., Zhao, J., Hu, Y., Zhang, J., Hu, J., Zhang, L., Fan, G., Xu, J., Gu, X., Cheng, Z., Yu, T., Cao, B.: Clinical features of patients infected with 2019 novel coronavirus in Wuhan. China. The Lancet 395(10223), 497–506 (2020)
Coronavirus Disease 2019 (COVID-19). https://www.cdc.gov/coronavirus/2019-ncov/cdcresponse/about-COVID-19.html (2021). Retrieved 19 Jan 2021
Q&A: How is COVID-19 transmitted? https://www.who.int/vietnam/news/detail/14-07-2020-q-a-how-is-covid-19-transmitted (2021). Retrieved 19 Jan 2021
https://www.who.int/docs/default-source/coronaviruse/situation-reports/20200311-sitrep-51-covid-19.pdf?sfvrsn=1ba62e57_10 (2021). Retrieved 19 Jan 2021
WHO Coronavirus Disease (COVID-19) Dashboard data explorer. https://covid19.who.int/explorer/ (2021). Retrieved 19 Jan 2021
Punn, N.S., Sonbhadra, S.K., Agarwal, S.: COVID-19 epidemic analysis using machine learning and deep learning algorithms. medRxiv (2020)
Khanday, A.M.U.D., Rabani, S.T., Khan, Q.R., Rouf, N., Din, M.M.U.: Machine learning based approaches for detecting COVID-19 using clinical text data. Int. J. Inf. Technol. 12(3), 731–739 (2020)
Yadav, M., Perumal, M., Srinivas, M.: Analysis on novel coronavirus (COVID-19) using machine learning methods. Chaos, Solitons Fractals 139, 110050 (2020)
Sethy, P.K., Behera, S.K.: Detection of coronavirus disease (covid-19) based on deep features. Preprints, 2020030300, 2020 (2020)
Barstugan, M., Ozkaya, U., Ozturk, S. Coronavirus (covid-19) classification using ct images by machine learning methods. arXiv preprint arXiv:2003.09424 (2020)
Zheng, C., Deng, X., Fu, Q., Zhou, Q., Feng, J., Ma, H., Wang, X.: Deep learning-based detection for COVID-19 from chest CT using weak label. medRxiv (2020)
Ferrari, D., Milic, J., Tonelli, R., Ghinelli, F., Meschiari, M., Volpi, S., Guaraldi, G.: Machine learning in predicting respiratory failure in patients with COVID-19 pneumonia-challenges, strengths, and opportunities in a global health emergency. medRxiv (2020)
Afshar, P., Heidarian, S., Naderkhani, F., Oikonomou, A., Plataniotis, K.N., Mohammadi, A.: Covid-caps: a capsule network-based framework for identification of covid-19 cases from x-ray images. arXiv preprint arXiv:2004.02696 (2020)
Li, W.T., Ma, J., Shende, N., Castaneda, G., Chakladar, J., Tsai, J.C., Ongkeko, W.M.: Using machine learning of clinical data to diagnose COVID-19: a systematic review and meta-analysis. BMC Med. Inform. Decision Mak. 20(1), 1–13 (2020)
Razzak, I., Naz, S., Rehman, A., Khan, A., Zaib, A.: Improving Coronavirus (COVID-19) diagnosis using deep transfer learning. medRxiv (2020)
Ahamad, M.M., Aktar, S., Rashed-Al-Mahfuz, M., Uddin, S., Liò, P., Xu, H., Moni, M.A.: A machine learning model to identify early-stage symptoms of SARS-Cov-2 infected patients. Expert Syst. Appl. 160, 113661 (2020)
Pinter, G., Felde, I., Mosavi, A., Ghamisi, P., Gloaguen, R.: COVID-19 pandemic prediction for hungary; a hybrid machine learning approach. Mathematics 8(6), 890 (2020)
Sujath, R., Chatterjee, J.M., Hassanien, A.E.: A machine learning forecasting model for COVID-19 pandemic in India. Stoch. Env. Res. Risk Assess. 34, 959–972 (2020)
Ahmad, A., Garhwal, S., Ray, S.K., Kumar, G., Malebary, S.J., Barukab, O.M.: The number of confirmed cases of covid-19 by using machine learning: methods and challenges. Arch. Comput. Methods Eng., 1–9 (2020)
Khan, N., Ullah, F., Hassan, M.A., Hussain, A.: COVID-19 classification based on Chest X-Ray images using machine learning techniques. J. Comput. Sci. Technol. Stud. 01–11 (2020)
Search | Kaggle. https://www.kaggle.com/search?q=covid+19+dataset+datasetFilTypes%3Apng+datasetFileTypes%3Ajpg+datasetFileTypes%3Ajpeg (2021). Retrieved 19 Jan 2021
Chettri, S., Debnath, D., Devi, P.: Leveraging digital tools and technologies to alleviate COVID-19 pandemic. SSRN Electron. J. (2020). https://doi.org/10.2139/ssrn.3626092
Abbas, A., Abdelsamea, M., Gaber, M.: Classification of COVID-19 in chest X-ray images using DeTraC deep convolutional neural network. Appl. Intell. 51(2), 854–864 (2020). https://doi.org/10.1007/s10489-020-01829-7
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Nazish, Ullah, S.I., Salam, A., Ullah, W., Imad, M. (2021). COVID-19 Lung Image Classification Based on Logistic Regression and Support Vector Machine. In: Musleh Al-Sartawi, A.M., Razzaque, A., Kamal, M.M. (eds) Artificial Intelligence Systems and the Internet of Things in the Digital Era. EAMMIS 2021. Lecture Notes in Networks and Systems, vol 239. Springer, Cham. https://doi.org/10.1007/978-3-030-77246-8_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-77246-8_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-77245-1
Online ISBN: 978-3-030-77246-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)