A hybrid CNN–KNN approach for identification of COVID-19 with 5-fold cross validation

Zarin Anjuman Sejuti, Md Saiful Islam
{"title":"A hybrid CNN–KNN approach for identification of COVID-19 with 5-fold cross validation","authors":"Zarin Anjuman Sejuti,&nbsp;Md Saiful Islam","doi":"10.1016/j.sintl.2023.100229","DOIUrl":null,"url":null,"abstract":"<div><p>The novel coronavirus is the new member of the SARS family, which can cause mild to severe infection in the lungs and other vital organs like the heart, kidney and liver. For detecting COVID-19 from images, traditional ANN can be employed. This method begins by extracting the features and then feeding the features into a suitable classifier. The classification rate is not so high as feature extraction is dependent on the experimenters' expertise. To solve this drawback, a hybrid CNN–KNN-based model with 5-fold cross-validation is proposed to classify covid-19 or non-covid19 from CT scans of patients. At first, some pre-processing steps like contrast enhancement, median filtering, data augmentation, and image resizing are performed. Secondly, the entire dataset is divided into five equal sections or folds for training and testing. By doing 5-fold cross-validation, the generalization of the dataset is ensured and the overfitting of the network is prevented. The proposed CNN model consists of four convolutional layers, four max-pooling layers, and two fully connected layers combined with 23 layers. The CNN architecture is used as a feature extractor in this case. The features are taken from the CNN model's fourth convolutional layer and finally, the features are classified using K Nearest Neighbor rather than softmax for better accuracy. The proposed method is conducted over an augmented dataset of 4085 CT scan images. The average accuracy, precision, recall and F1 score of the proposed method after performing a 5-fold cross-validation is 98.26%, 99.42%,97.2% and 98.19%, respectively. The proposed method's accuracy is comparable with the existing works described further, where the state of the art and the custom CNN models were used. Hence, this proposed method can diagnose the COVID-19 patients with higher efficiency.</p></div>","PeriodicalId":21733,"journal":{"name":"Sensors International","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9886434/pdf/","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sensors International","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666351123000037","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

The novel coronavirus is the new member of the SARS family, which can cause mild to severe infection in the lungs and other vital organs like the heart, kidney and liver. For detecting COVID-19 from images, traditional ANN can be employed. This method begins by extracting the features and then feeding the features into a suitable classifier. The classification rate is not so high as feature extraction is dependent on the experimenters' expertise. To solve this drawback, a hybrid CNN–KNN-based model with 5-fold cross-validation is proposed to classify covid-19 or non-covid19 from CT scans of patients. At first, some pre-processing steps like contrast enhancement, median filtering, data augmentation, and image resizing are performed. Secondly, the entire dataset is divided into five equal sections or folds for training and testing. By doing 5-fold cross-validation, the generalization of the dataset is ensured and the overfitting of the network is prevented. The proposed CNN model consists of four convolutional layers, four max-pooling layers, and two fully connected layers combined with 23 layers. The CNN architecture is used as a feature extractor in this case. The features are taken from the CNN model's fourth convolutional layer and finally, the features are classified using K Nearest Neighbor rather than softmax for better accuracy. The proposed method is conducted over an augmented dataset of 4085 CT scan images. The average accuracy, precision, recall and F1 score of the proposed method after performing a 5-fold cross-validation is 98.26%, 99.42%,97.2% and 98.19%, respectively. The proposed method's accuracy is comparable with the existing works described further, where the state of the art and the custom CNN models were used. Hence, this proposed method can diagnose the COVID-19 patients with higher efficiency.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于识别新冠肺炎的CNN–KNN混合方法,5倍交叉验证
新型冠状病毒是SARS家族的新成员,可导致肺部和心脏、肾脏和肝脏等其他重要器官的轻度至重度感染。为了从图像中检测新冠肺炎,可以采用传统的人工神经网络。该方法首先提取特征,然后将特征输入到合适的分类器中。分类率并不高,因为特征提取取决于实验者的专业知识。为了解决这一缺点,提出了一种具有5倍交叉验证的基于CNN–KNN的混合模型,以从患者的CT扫描中对新冠肺炎或非covid-19进行分类。首先,进行了对比度增强、中值滤波、数据增强和图像大小调整等预处理步骤。其次,将整个数据集划分为五个相等的部分或折叠,用于训练和测试。通过进行5倍的交叉验证,确保了数据集的泛化,防止了网络的过拟合。所提出的CNN模型由四个卷积层、四个最大池化层和两个与23层相结合的完全连接层组成。在这种情况下,CNN架构被用作特征提取器。特征取自CNN模型的第四卷积层,最后,使用K最近邻而不是softmax对特征进行分类,以获得更好的精度。所提出的方法是在4085个CT扫描图像的增强数据集上进行的。进行5次交叉验证后,该方法的平均准确度、精密度、召回率和F1得分分别为98.26%、99.42%、97.2%和98.19%。所提出的方法的准确性与进一步描述的现有工作相当,其中使用了最先进的技术和自定义的CNN模型。因此,该方法可以更高效地诊断新冠肺炎患者。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
17.40
自引率
0.00%
发文量
0
期刊最新文献
A method to detect enzymatic reactions with field effect transistor Blue luminescent carbon quantum dots derived from diverse banana peels for selective sensing of Fe(III) ions The application of ultrasonic measurement and machine learning technique to identify flow regime in a bubble column reactor A capacitive sensor-based approach for type-2 diabetes detection via bio-impedance analysis of erythrocytes GA-mADAM-IIoT: A new lightweight threats detection in the industrial IoT via genetic algorithm with attention mechanism and LSTM on multivariate time series sensor data
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1