Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: plos.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.3%) to scientific vocabulary

Keywords

covid-19 deep-learning machine-learning
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: Javiercbr
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 2.62 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
covid-19 deep-learning machine-learning
Created about 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

Deep Learning for COVID19 detection in CT images

This is a classificator to detect signs of SARS-CoV-2 pneumonia in chest CT scans. It is the first step of a major pipeline, currently under development, intended to analyze the existence, distribution, and extension of the typical radiological findings of Covid19 such as ground-glass opacification, pleural effusion, and consolidation.

Dataset

The model was trained with labeled Covid19 and normal images from the database in [1] after converting them to NIfTI format. The figure shows an example of a normal subject (left) and an infected subject exhibiting the typical ground-glass pattern (right).

A total number of 108 subjects was included (54 normal and 54 Covid19). Each image is a slice of a CT volume that consists of approximately 200 slices. Images positives for Covid19 were labeled by experts as explained in [1]. Normal images are sampled uniformly form a volume of a normal patient. The slice distribution on normal and Covid19 images is shown in next figure where $z\in[0, 1]$ is the normalized position of the slice, i.e. $z=0$ is the first slice and $z=1$ the last one.

Covid19 slices exhibit a normal shaped distribution whereas normal slices are more uniformly distributed. The table summarizes the distribution of samples in each dataset. There is no patient overlap among sets.

Set| Number of samples | Covid19 [%] --- | --- | --- Training | 5318| 50 Validation | 1486| 48 Test | 755| 53

Model

The model was developed in Keras/Tensorflow. Architecture: DenseNet121 with a sigmoid activation layer that represents the probability of being positive for Covid19. The configuration was inspired in [2] where it was shown to be efficient for X-ray classification. The final model had more than seven million of trainable parameters.

Training

The model was trained on a NVIDIA GeForce GTX 1650 Ti GPU. A validation set was used to monitor the progress of the training, for instance the learning rate was adapted when the accuracy on the validation set plateaued.

Setting | Value --- | --- Loss function | binary crossentropy Epochs | 20 Learning rate | 0.00005 (adaptive) Optimizer | Adam

Performance

The table shows the outcomes of the assessment on the testing set, figure shows the ROC curve.

Metric | Value --- | --- True positives | 399 True negatives | 284 False positives | 4 False negatives | 65 Accuracy | 0.91 Loss | 0.21 Misclassification rate | 0.09 AUC | 0.99

Heatmaps

Heatmaps provide information on the regions of the image that activate the neural network [3]. Figure shows two Covid19 positive scans (row 1) and their respective heatmaps (row 2). While in the first case the involvement of the lung is left dominant, in the other case the right lung seems to be more affected.

Let be the heatmap where . Quantities $ql$ and $qr$ are defined as

where

is the indicator function on set $i$ , $Al$ and $Ar$ denote the support of the left and right lungs respectively. These integrals can be numerically calculated using masks for left and right lungs (row 3) obtained using the AI-based tool for lung segmentation in [4]. For the images shown, values are: $ql= 327$ and $qr=60$ for the first column (left dominant) and $ql=48$ and $qr=333$ for the second (right dominant).

Remarks

This is just an example of how DL tools can be used to classify CT scans for further analysis. It´s not a diagnosis tool. Some of the issues that are necessary to address for developing a suitable tool for diagnosis are discussed in [5]. For detailed information on the applications of this AI tool see 6.

References

[1] Afshar, P., Heidarian, S., Enshaei, N. et al. COVID-CT-MD, COVID-19 computed tomography scan dataset applicable in machine learning and deep learning. Sci Data 8, 121 (2021). https://doi.org/10.1038/s41597-021-00900-3

[2] Pranav Rajpurkar, Jeremy Irvin ,Robyn L. Ball,Kaylie Zhu et al. Deep learning for chest radiograph diagnosis: A retrospective comparison of the CheXNeXt algorithm to practicing radiologists PLOS Medicine, November 2018. https://dx.plos.org/10.1371/journal.pmed.1002686=

[3] R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, D. Batra. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization, International Journal of Computer Vision, Springer Nature 2019. https://doi.org/10.1007/s11263-019-01228-7

[4] https://github.com/JoHof/lungmask

[5] M. Roberts et al. Common pitfalls and recommendations for using machine learning to detect and prognosticate for COVID-19 using chest radiographs and CT scans, Nature Machine Intelligence, 2021. https://doi.org/10.1038/s42256-021-00307-0

[6] M. Ledesma, J. Cebeiro, M. Morvidone, AI-based descriptors of the distribution of SARS-CoV-2 in chest CT-scans, XXII Congreso Argentino de Bioingeniería y XII Jornadas de Ingeniería Clínica, San Juan, Argentina, Septiembre de 2022.

Owner

  • Name: Javier
  • Login: Javiercbr
  • Kind: user
  • Location: Buenos Aires
  • Company: Instituto de Tecnologías Emergentes y Ciencias Aplicadas (ITECA), UNSAM-CONICET, Escuela de Ciencia y Tecnología, Centro de Matemática Aplicada (CEDEMA)

...en la vida, todo lo que elegimos por su levedad no tarda en revelar su propio peso insoportable.

Citation (citation.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Cebeiro"
  given-names: "Javier"

title: "Covid19_DL"
version: 1.0.0
date-released: 2022-05-29
url: "https://github.com/Javiercbr/Covid19_DL"

GitHub Events

Total
  • Push event: 49
  • Fork event: 1
Last Year
  • Push event: 49
  • Fork event: 1