Giter Site home page Giter Site logo

irfanrob / classification-ct-scan-of-covid-19 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.61 MB

A deep learning classification program to detect the CT-scan results using python

Jupyter Notebook 99.34% Python 0.66%
deep-learning alexnet machine-learning covid-19 classification adam-optimizer sgd-optimizer adamax rmsprop adadelta

classification-ct-scan-of-covid-19's Introduction

Classification-CT-Scan-of-Covid-19

The dataset that I used were from Iran researcher Mohammad Rahimzadeh. From the dataset that he shared, I took 1000 images that contain 500 infected Covid-19 images and 500 normal images.

The dataset that I used is shared in this folder : https://drive.google.com/drive/folders/1sqKQh_Kbi7h8ao-u0TFmY5DST4lga36F?usp=sharing

The whole dataset can be seen here : https://github.com/mr7495/COVID-CTset

The raw images are 16-bit grayscale images in TIFF format and normal monitors cannot visualize the image clearly. According to Mohammad Rahimzadeh instruction, the dataset must be normalized first by converted it to float by dividing each image pixel value by the maximum pixel value of that image. By using this normalisation the images will be 32-bit float type pixel values which can be seen in normal monitors.

Normalized normalized

After normalized the images, I added 2 preprocessing methods to these images which are gaussian filter and CLAHE. The gaussian filter can reduce the noise of the images, also detect the edge of the images. As for CLAHE, this method can improve the visibility level of the images.

Gaussian filter gaussian filter

CLAHE clahe

In this project, I used AlexNet architecture with 5 optimizers which are SGD, Adadelta, RMSprop, Adam, and AdaMax. The learning rates that were used are 0.1, 0.001, and 0.0001. After the training process, I analyze and compare the accuracy, loss, and precision.

The result of the project can be seen here : https://drive.google.com/drive/folders/1QoH7QBv56g0BoOm3jCDRbkFBTzQkwcEJ?usp=sharing

I also set the checkpoint for each training, so the best weight can be saved. With the best weight that I’ve got, I load it to the application prototype that I built so this application could detect the CT-Scan images whether is it Covid-19 or normal.

application

The book and journal unfortunately only available in Indonesian language, but the abstract of the book and journal is available in English language. The book and journal can be accessed below :

Book : https://drive.google.com/file/d/17dIDVaBaXrqnw1fjVp9M6_c92j_S2jau/view?usp=sharing

Journal : https://drive.google.com/file/d/1DgaX53oz2fSc3PSQw8Zg7eVcJB2v2cQi/view?usp=sharing

If you have any questions, contact me by this email: [email protected]

classification-ct-scan-of-covid-19's People

Contributors

irfanrob avatar

Stargazers

 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.