Coder Social home page Coder Social logo

talhaanwarch / corona_virus Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 3.0 1.09 MB

Diagnosis of corona virus using Chest X-ray and CT-scan through deep learning

Jupyter Notebook 100.00%
coronavirus chest-xray-images deep-learning convolutional-neural-networks keras-tensorflow coronavirus-analysis

corona_virus's Introduction

Corona_Virus

Diagnosed using X-ray and CT-scan

Two different dataset has been tried.

  • X-ray dataset
  • CT-scan dataset

Results using Chest Xray dataset

There are three classes in this dataset

  • covid
  • normal
  • pneumonia

No seprate test holdout dataset is used. Instead 5 fold cross validation technique is used. The dataset is taken from tawsifur/COVID-19-Chest-X-ray-Detection github repo. The author achieved an F1-score of 0.983, where as we got an F1-score of 0.981.

Precision Recall F1-score Accuracy
Fold 1 0.99 0.98 0.98 0.98
Fold 2 0.99 0.98 0.99 0.98
Fold 3 0.97 0.98 0.98 0.97
Fold 4 0.98 0.98 0.98 0.97
Fold 5 0.98 0.98 0.98 0.97

We achieved an F1 score of 0.98. Result can be reproduce through this notebook

In order to download data in notebook you need to provide it a kaggle API. Go to kaggle.com, click on my account and then go to API section. Click on create new API token. It will download a file , kaggle.json . upload this kaggle.json to content folder of colab. And run the whole notebook.

Result using CT-scan dataset

Dataset is taken from github.com/UCSD-AI4H/COVID-CT repo, where author achieved an F1-score of 0.85.
All CT-scan related files are in CT-scan folder
Here i study effect of learning rate on model performance.

Plateau LR Cyclic LR Constant LR
Macro Average Precision 0.90 0.89 0.85
Macro Average Recall 0.89 0.86 0.82
Macro Average F1 Score 0.90 0.86 0.82
Accuracy 0.90 0.86 0.86
AUC score 0.90 0.86 0.82

Jeremy Kohn has compiled all image based diagnostic of coronavirus at one place. Do check his repo github.com/jeremykohn/rid-covid

PAPER citation

@INPROCEEDINGS{9318212,  
author={T. {Anwar} and S. {Zakir}},  
booktitle={2020 IEEE 23rd International Multitopic Conference (INMIC)},   
title={Deep learning based diagnosis of COVID-19 using chest CT-scan images},   
year={2020},  volume={},  number={},  pages={1-5},  
doi={10.1109/INMIC50486.2020.9318212}}

corona_virus's People

Contributors

talhaanwarch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.