Abstract
COVID-19 is a highly contagious disease that can quickly spread and overwhelm healthcare systems if not controlled in time. Reverse Transcription Polymerase Chain Reaction (RT-PCR) is commonly used to diagnose COVID-19 but has low sensitivity and can be time-consuming. Computed Tomography (CT) scans can identify specific lung patterns or abnormalities associated with COVID-19 infection, which can help diagnose the disease. This paper presents an efficient forecasting framework for COVID-19 based on Convolutional Neural Networks (CNNs) to aid medical professionals in diagnosing COVID-19. The proposed framework was trained on the online COVID-19 dataset from Kaggle, which was split into train, validation, and test sets. The CNN achieved an accuracy of 99.11% on the test set. K-fold cross-validation was applied to the CNN, resulting in an average accuracy of 97.2%. The research explores alternative Machine Learning (ML) models, including Logistic Regression, Support Vector Machine, Decision Tree, K-Nearest Neighbour, and Random Forest, alongside Deep CNNs like ResNet50, VGG16, and InceptionV3 for COVID-19 prediction. The CNN model underwent analysis using the Local Interpretable Model-Agnostic Explanations (LIME) method and bootstrap resampling for Confidence Interval (CI) estimation to enhance interpretability. This can help to understand the model’s predictions and assess their uncertainty. The developed CNN model, optimized for reduced memory usage, was seamlessly deployed on the Platform-as-a-Service (PaaS) cloud. Post-deployment, an accessible Hypertext Transfer Protocol Secure (HTTPS) link facilitates mobile phone accessibility, offering a user-friendly interface for widespread utilization. The proposed CNN-based forecasting framework is a promising tool for improving the accuracy and accessibility of COVID-19 diagnosis. The deployment of the CNN model to the PaaS cloud makes it accessible to a broader range of users, including those in remote or underserved areas. The HTTPS link generated after deployment allows users to access the model from their mobile phones, making it a convenient and portable tool for COVID-19 diagnosis.
Similar content being viewed by others
Data availability
It is a publicly available dataset and is available on Kaggle: https://www.kaggle.com/datasets/plameneduardo/sarscov2-ctscan-dataset.
References
Salem Salamh AB, Salamah AA, Akyüz HI (2021) A study of a new technique of the CT scan view and disease classification protocol based on Level challenges in cases of Coronavirus Disease. Radiol Res Pract 2021:1–9. https://doi.org/10.1155/2021/5554408
Arslan H, Arslan H (2021) A new COVID-19 detection method from human genome sequences using CpG island features and KNN classifier. Eng Sci Technol Int J 24:839–847. https://doi.org/10.1016/j.jestch.2020.12.026
Li C, Yang Y, Liang H, Wu B (2021) Transfer learning for establishment of recognition of COVID-19 on CT imaging using small-sized training datasets. Knowl Based Syst 218:106849. https://doi.org/10.1016/j.knosys.2021.106849
Sarvamangala DR, Kulkarni RV (2021) Convolutional neural networks in medical image understanding: a survey. Evol Intel. https://doi.org/10.1007/s12065-020-00540-3
Silva P, Luz E, Silva G et al (2020) COVID-19 detection in CT images with deep learning: a voting-based scheme and cross-datasets analysis. Inf Med Unlocked 20:100427. https://doi.org/10.1016/j.imu.2020.100427
Pereira S, Pinto A, Alves V, Silva CA (2016) Brain Tumor segmentation using Convolutional neural networks in MRI images. IEEE Trans Med Imaging 35:1240–1251. https://doi.org/10.1109/TMI.2016.2538465
Ng M-Y, Lee EYP, Yang J et al (2020) Imaging profile of the COVID-19 Infection: radiologic findings and literature review. Radiol: Cardiothorac Imaging 2:e200034. https://doi.org/10.1148/ryct.2020200034
Li T, Han Z, Wei B et al (2020) Robust screening of COVID-19 from chest x-ray via discriminative cost-sensitive learning. https://doi.org/10.48550/ARXIV.2004.12592
Kececi A, Yildirak A, Ozyazici K et al (2020) Implementation of machine learning algorithms for gait recognition. Eng Sci Technol Int J 23:931–937. https://doi.org/10.1016/j.jestch.2020.01.005
Lanjewar MG, Morajkar PP, Parab JS (2023) Hybrid method for accurate starch estimation in adulterated turmeric using Vis-NIR spectroscopy. Food Addit Contaminants: Part A 40:1131–1146. https://doi.org/10.1080/19440049.2023.2241557
Atli İ, Gedik OS (2021) Sine-Net: a fully convolutional deep learning architecture for retinal blood vessel segmentation. Eng Sci Technol Int J 24:271–283. https://doi.org/10.1016/j.jestch.2020.07.008
Lanjewar MG, Parab JS (2023) CNN and transfer learning methods with augmentation for citrus leaf Diseases detection using PaaS cloud on mobile. Multimed Tools Appl. https://doi.org/10.1007/s11042-023-16886-6
Kalaivani S, Seetharaman K (2022) A three-stage ensemble boosted convolutional neural network for classification and analysis of COVID-19 chest x-ray images. Int J Cogn Comput Eng 3:35–45. https://doi.org/10.1016/j.ijcce.2022.01.004
Kathamuthu ND, Subramaniam S, Le QH et al (2023) A deep transfer learning-based convolution neural network model for COVID-19 detection using computed tomography scan images for medical applications. Adv Eng Softw 175:103317. https://doi.org/10.1016/j.advengsoft.2022.103317
Hassan E, Shams MY, Hikal NA, Elmougy S (2023) The effect of choosing optimizer algorithms to improve computer vision tasks: a comparative study. Multimed Tools Appl 82:16591–16633. https://doi.org/10.1007/s11042-022-13820-0
Selvaraju RR, Cogswell M, Das A et al (2016) Grad-CAM: visual explanations from deep networks via gradient-based localization. https://doi.org/10.48550/ARXIV.1610.02391
Sanaj MS, Joe Prathap PM (2020) Nature inspired chaotic squirrel search algorithm (CSSA) for multi objective task scheduling in an IAAS cloud computing atmosphere. Eng Sci Technol Int J 23:891–902. https://doi.org/10.1016/j.jestch.2019.11.002
Padmaja K, Seshadri R (2021) Analytics on real time security Attacks in healthcare, retail and banking applications in the cloud. Evol Intel 14:595–605. https://doi.org/10.1007/s12065-019-00337-z
Rahaman MM, Li C, Yao Y et al (2020) Identification of COVID-19 samples from chest X-Ray images using deep learning: a comparison of transfer learning approaches. XST 28:821–839. https://doi.org/10.3233/XST-200715
El Asnaoui K, Chawki Y (2021) Using X-ray images and deep learning for automated detection of coronavirus Disease. J Biomol Struct Dynamics 39:3615–3626. https://doi.org/10.1080/07391102.2020.1767212
Zhang J, Xie Y, Pang G et al (2020) Viral pneumonia screening on chest x-ray images using confidence-aware anomaly detection. https://doi.org/10.48550/ARXIV.2003.12338
Wang L, Wong A (2020) COVID-Net: a tailored deep convolutional neural network design for detection of COVID-19 cases from chest X-Ray images. Sci Rep. https://doi.org/10.1038/s41598-020-76550-z. (arXiv:200309871 [cs, eess])
Abbas A, Abdelsamea MM, Gaber MM (2020) Classification of COVID-19 in chest X-ray images using DeTraC deep convolutional neural network. https://doi.org/10.48550/ARXIV.2003.13815
Khan AI, Shah JL, Bhat M (2020) CoroNet: a deep neural network for detection and diagnosis of COVID-19 from chest x-ray images. Comput Methods Programs Biomed 196:105581. https://doi.org/10.1016/j.cmpb.2020.105581
Maghdid HS, Asaad AT, Ghafoor KZ et al (2020) Diagnosing COVID-19 pneumonia from x-ray and CT images using deep learning and transfer learning algorithms. https://doi.org/10.48550/ARXIV.2004.00038
Rehman A, Naz S, Khan A et al (2020) Improving Coronavirus (COVID-19) diagnosis using deep transfer learning. Infectious Diseases (except HIV/AIDS). https://doi.org/10.1101/2020.04.11.20054643
Sarker L, Islam MM, Hannan T, Ahmed Z (2020) COVID-DenseNet: a Deep Learning Architecture to detect COVID-19 from chest radiology images. Math Comput Sci. https://doi.org/10.20944/preprints202005.0151.v1
Sun L, Mo Z, Yan F et al (2020) Adaptive feature selection guided Deep Forest for COVID-19 classification with chest CT. IEEE J Biomed Health Inform 24:2798–2805. https://doi.org/10.1109/JBHI.2020.3019505
Wang X, Deng X, Fu Q et al (2020) A weakly-supervised framework for COVID-19 classification and lesion localization from chest CT. IEEE Trans Med Imaging 39:2615–2625. https://doi.org/10.1109/TMI.2020.2995965
Xu X, Jiang X, Ma C et al (2020) Deep learning system to screen coronavirus Disease 2019 Pneumonia. Engineering 6:1122–1129. https://doi.org/10.1016/j.eng.2020.04.010
He X, Yang X, Zhang S et al (2020) Sample-efficient deep learning for COVID-19 diagnosis based on CT scans. Health Inf. https://doi.org/10.1101/2020.04.13.20063941
Li L, Qin L, Xu Z et al (2020) Using artificial intelligence to detect COVID-19 and community-acquired Pneumonia based on pulmonary CT: evaluation of the diagnostic accuracy. Radiology 296:E65–E71. https://doi.org/10.1148/radiol.2020200905
Song Y, Zheng S, Li L et al (2021) Deep learning enables accurate diagnosis of novel coronavirus (COVID-19) with CT images. IEEE/ACM Trans Comput Biol and Bioinf 1–1.https://doi.org/10.1109/TCBB.2021.3065361
Bai HX, Wang R, Xiong Z et al (2020) Artificial intelligence augmentation of radiologist performance in distinguishing COVID-19 from Pneumonia of other origin at chest CT. Radiology 296:E156–E165. https://doi.org/10.1148/radiol.2020201491
Gozes O, Frid-Adar M, Greenspan H et al (2020) Rapid AI development cycle for the coronavirus (COVID-19) pandemic: initial results for automated detection & patient monitoring using deep learning CT image analysis. https://doi.org/10.48550/ARXIV.2003.05037
Shah V, Keniya R, Shridharani A et al (2021) Diagnosis of COVID-19 using CT scan images and deep learning techniques. Emerg Radiol 28:497–505. https://doi.org/10.1007/s10140-020-01886-y
Loey M, Manogaran G, Khalifa NEM (2020) A deep transfer learning model with classical data augmentation and CGAN to detect COVID-19 from chest CT radiography digital images. Neural Comput Appl. https://doi.org/10.1007/s00521-020-05437-x
Mobiny A, Cicalese PA, Zare S et al (2020) Radiologist-level COVID-19 detection using CT scans with detail-oriented capsule networks. https://doi.org/10.48550/ARXIV.2004.07407
Polsinelli M, Cinque L, Placidi G (2020) A light CNN for detecting COVID-19 from CT scans of the chest. Pattern Recognit Lett 140:95–100. https://doi.org/10.1016/j.patrec.2020.10.001
Mishra AK, Das SK, Roy P, Bandyopadhyay S (2020) Identifying COVID19 from chest CT images: a deep convolutional neural networks based Approach. J Healthc Eng 2020:1–7. https://doi.org/10.1155/2020/8843664
Shaban WM, Rabie AH, Saleh AI, Abo-Elsoud MA (2020) A new COVID-19 patients Detection Strategy (CPDS) based on hybrid feature selection and enhanced KNN classifier. Knowl Based Syst 205:106270. https://doi.org/10.1016/j.knosys.2020.106270
Javaheri T, Homayounfar M, Amoozgar Z et al (2020) CovidCTNet: an open-source deep learning approach to identify COVID-19 using CT image. https://doi.org/10.48550/ARXIV.2005.03059
Wang S, Zha Y, Li W et al (2020) A fully automatic deep learning system for COVID-19 diagnostic and prognostic analysis. Eur Respir J 56:2000775. https://doi.org/10.1183/13993003.00775-2020
Amyar A, Modzelewski R, Li H, Ruan S (2020) Multi-task deep learning based CT imaging analysis for COVID-19 Pneumonia: classification and segmentation. Comput Biol Med 126:104037. https://doi.org/10.1016/j.compbiomed.2020.104037
Fan D-P, Zhou T, Ji G-P et al (2020) Inf-Net: automatic COVID-19 lung Infection segmentation from CT images. IEEE Trans Med Imaging 39:2626–2637. https://doi.org/10.1109/TMI.2020.2996645
Zhao W, Jiang W, Qiu X (2021) Deep learning for COVID-19 detection based on CT images. Sci Rep 11:14353. https://doi.org/10.1038/s41598-021-93832-2
Hayat A, Baglat P, Mendonça F et al (2023) Novel comparative study for the detection of COVID-19 using CT scan and chest X-ray images. IJERPH 20:1268. https://doi.org/10.3390/ijerph20021268
Foysal Md, Hossain ABMA, Yassine A, Hossain MS (2023) Detection of COVID-19 case from chest CT images using deformable deep convolutional neural network. J Healthc Eng 2023:1–12. https://doi.org/10.1155/2023/4301745
Althaqafi T, AL-Ghamdi ASA-M, Ragab M (2023) Artificial intelligence based COVID-19 detection and classification model on chest X-ray images. Healthcare 11:1204. https://doi.org/10.3390/healthcare11091204
Soares E, Angelov P, Biaso S et al (2023) A large multiclass dataset of CT scans for COVID-19 identification. Evol Syst. https://doi.org/10.1007/s12530-023-09511-2
Khan SH, Iqbal J, Hassnain SA et al (2023) COVID-19 detection and analysis from lung CT images using novel channel boosted CNNs. Expert Syst Appl 229:120477. https://doi.org/10.1016/j.eswa.2023.120477
Marefat A, Marefat M, Hassannataj Joloudari J et al (2023) CCTCOVID: COVID-19 detection from chest X-ray images using Compact Convolutional transformers. Front Public Health 11:1025746. https://doi.org/10.3389/fpubh.2023.1025746
Roy S, Das AK (2023) Deep-CoV: an integrated deep learning model to detect COVID ‐19 using chest X‐ray and CT images. Comput Intell 39:369–400. https://doi.org/10.1111/coin.12568
Soares E, Angelov P, Biaso S et al (2020) SARS-CoV-2 CT-scan dataset: A large dataset of real patients CT scans for SARS-CoV-2 identification. medRxiv 2020.04.24.20078584. https://doi.org/10.1101/2020.04.24.20078584
Liang W, Zhang H, Zhang G, Cao H (2019) Rice blast disease recognition using a deep convolutional neural network. Sci Rep 9:2869. https://doi.org/10.1038/s41598-019-38966-0
Skalski P (2019) Gentle dive into math behind convolutional neural networks. In: Medium. https://towardsdatascience.com/gentle-dive-into-math-behind-convolutional-neural-networks-79a07dd44cf9. Accessed 12 Aug 2023
(2021) Batch Normalization | What is Batch Normalization in Deep Learning. In: Analytics Vidhya. https://www.analyticsvidhya.com/blog/2021/03/introduction-to-batch-normalization/. Accessed 11 Aug 2021
CS231n Convolutional Neural Networks for Visual Recognition. https://cs231n.github.io/convolutional-networks/. Accessed 11 Aug 2021
Dertat A (2017) Applied deep learning - Part 4: convolutional neural networks. In: Medium. https://towardsdatascience.com/applied-deep-learning-part-4-convolutional-neural-networks-584bc134c1e2. Accessed 11 Aug 2021
Srivastava N, Hinton G, Krizhevsky A et al (2014) Dropout: a simple way to prevent neural networks from Overfitting. J Mach Learn Res 15:1929–1958
Joshi RC, Kaushik M, Dutta MK et al (2021) VirLeafNet: automatic analysis and viral Disease diagnosis using deep-learning in Vigna mungo plant. Ecol Inf 61:101197. https://doi.org/10.1016/j.ecoinf.2020.101197
He K, Zhang X, Ren S, Sun J (2015) Deep residual learning for image recognition. https://doi.org/10.48550/ARXIV.1512.03385
Lanjewar MG, Gurav OL (2022) Convolutional neural networks based classifications of soil images. Multimed Tools Appl 81:10313–10336. https://doi.org/10.1007/s11042-022-12200-y
Lanjewar MG, Morajkar PP, Parab J (2022) Detection of tartrazine colored rice flour adulteration in turmeric from multi-spectral images on smartphone using convolutional neural network deployed on PaaS cloud. Multimed Tools Appl 81:16537–16562. https://doi.org/10.1007/s11042-022-12392-3
Thakur R (2020) Step by step VGG16 implementation in Keras for beginners. In: Medium. https://towardsdatascience.com/step-by-step-vgg16-implementation-in-keras-for-beginners-a833c686ae6c. Accessed 11 Aug 2021
Szegedy C, Liu W, Jia Y et al (2014) Going deeper with convolutions. https://doi.org/10.48550/ARXIV.1409.4842
Shin H-C, Roth HR, Gao M et al (2016) Deep convolutional neural networks for computer-aided detection: CNN Architectures, dataset characteristics and transfer learning. IEEE Trans Med Imaging 35:1285–1298. https://doi.org/10.1109/TMI.2016.2528162
Kumar A, Kim J, Lyndon D et al (2017) An ensemble of fine-tuned convolutional neural networks for medical image classification. IEEE J Biomed Health Inform 21:31–40. https://doi.org/10.1109/JBHI.2016.2635663
Advanced Guide to Inception v3 on Cloud TPU. In: Google Cloud. https://cloud.google.com/tpu/docs/inception-v3-advanced. Accessed 11 Aug 2021
What is Cloud Computing? Pros and Cons of Different Types of Services. In: Investopedia. https://www.investopedia.com/terms/c/cloud-computing.asp. Accessed 13 Aug 2023
Lanjewar MG, Panchbhai KG (2022) Convolutional neural network based tea leaf Disease prediction system on smart phone using paas cloud. Neural Comput & Applic. https://doi.org/10.1007/s00521-022-07743-y
(2020) What is Heroku? Price, features, benefits, and competitors | Low-code backend to build modern apps. In: Back4App Blog. https://blog.back4app.com/what-is-heroku/. Accessed 11 Aug 2021
Wang D-H, Zhou W, Li J et al (2021) Exploring misclassification information for fine-grained image classification. Sensors 21:4176. https://doi.org/10.3390/s21124176
Haffar R, Jebreel NM, Domingo-Ferrer J, Sánchez D (2021) Explaining Image Misclassification in Deep Learning via adversarial examples. In: Torra V, Narukawa Y (eds) Modeling decisions for Artificial Intelligence. Springer International Publishing, Cham, pp 323–334
Lanjewar MG, Panchbhai KG, Charanarur P (2023) Lung cancer detection from CT scans using modified DenseNet with feature selection methods and ML classifiers. Expert Syst Appl 224:119961. https://doi.org/10.1016/j.eswa.2023.119961
Lanjewar MG, Parab JS, Shaikh AY, Sequeira M (2022) CNN with machine learning approaches using ExtraTreesClassifier and MRMR feature selection techniques to detect Liver Diseases on cloud. Cluster Comput. https://doi.org/10.1007/s10586-022-03752-7
Lanjewar MG, Parab JS, Shaikh AY (2023) Development of framework by combining CNN with KNN to detect Alzheimer’s Disease using MRI images. Multimed Tools Appl 82:12699–12717. https://doi.org/10.1007/s11042-022-13935-4
Lanjewar MG, Parate RK, Parab JS (2022) Machine learning approach with data normalization technique for early stage detection of hypothyroidism. In: Artificial Intelligence Applications for Health Care, CRC Press
Fawcett T (2006) An introduction to ROC analysis. Pattern Recognit Lett 27:861–874. https://doi.org/10.1016/j.patrec.2005.10.010
Ahuja S (2021) XAI with LIME for CNN Models. In: Medium. https://medium.datadriveninvestor.com/xai-with-lime-for-cnn-models-5560a486578. Accessed 12 Aug 2023
Raschka S (2022) Creating confidence intervals for machine learning classifiers. In: Sebastian Raschka, PhD. https://sebastianraschka.com/blog/2022/confidence-intervals-for-ml.html. Accessed 12 Aug 2023
Raschka S (2018) Model evaluation, model selection, and algorithm selection in machine learning. https://doi.org/10.48550/ARXIV.1811.12808
Bootstrap Confidence Intervals (n.d.). https://acclab.github.io/bootstrap-confidence-intervals.html#:~:text=The%2095%25%20indicates%20that%20any,of%20these%20confidence%20intervals%20would. Accessed 12 Aug 2023
Gorton I (2020) Scalability and cost analysis for cloud-based software systems (Part 1). In: Medium. https://blog.devgenius.io/scalability-and-cost-analysis-for-cloud-based-software-systems-part-1-472012435b26. Accessed 12 Aug 2023
Andrei A (2022) Scalability analysis for cloud computing | Cloud Computing & SaaS Awards. https://www.cloud-awards.com/scalability-analysis-for-cloud-computing/. Accessed 12 Aug 2023
Al-Said Ahmad A, Andras P (2019) Scalability analysis comparisons of cloud-based software services. J Cloud Comp 8:10. https://doi.org/10.1186/s13677-019-0134-y
How fast is my model? (2021) https://machinethink.net/blog/how-fast-is-my-model/. Accessed 11 Aug 2021
Sen S, Saha S, Chatterjee S et al (2021) A bi-stage feature selection approach for COVID-19 prediction using chest CT images. Appl Intell. https://doi.org/10.1007/s10489-021-02292-8
Lanjewar MG, Shaikh AY, Parab J (2023) Cloud-based COVID-19 Disease prediction system from X-Ray images using convolutional neural network on smartphone. Multimed Tools Appl 82:29883–29912. https://doi.org/10.1007/s11042-022-14232-w
Author information
Authors and Affiliations
Contributions
Kamini G Panchbhai: Conceptualization, Validation, Investigation, Data curation, Writing - editing. Panem Charanarur: Validation, Investigation, Data curation. Madhusudan G Lanjewar: Conceptualization, Methodology, Software, Formal analysis, Investigation, Data curation, Writing - original draft, Visualization.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Lanjewar, M.G., Panchbhai, K.G. & Charanarur, P. Small size CNN-Based COVID-19 Disease Prediction System using CT scan images on PaaS cloud. Multimed Tools Appl 83, 60655–60687 (2024). https://doi.org/10.1007/s11042-023-17884-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-17884-4