Giter Site home page Giter Site logo

andryrafam / tuberculosis Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 4.14 MB

Classification of Tuberculosis (X-ray imagery).

License: MIT License

Jupyter Notebook 99.21% Python 0.79%
keras tensorflow2 resnet-50 efficientnet vgg19 cnn transfer-learning vgg16 densenet201 inception-v3 inceptionv3

tuberculosis's Introduction

Tuberculosis

The purpose of this project is to check how well a computer vision model built from scratch performs against pre- trained model (VGG16, VGG19, ResNet, InceptionV3 โ€ฆ). Datasets are X-ray images of patient chests with tuberculosis. Interestingly, the model built from scratch performed very well, achieving an accuracy of 97% on the validation dataset and an accuracy of 95% on the test dataset. The best score was achieved by VGG19 (more than 99% on the validation dataset and test dataset) after using transfer learning techniques โ€“ fine tuning.

Two methods are mainly used here in order to achieve our goal. Transfer Learning techniques (Feature Extraction && Fine Tuning) and the other is about building a classfier model from scratch (CNN from scratch).

Result of the experiment (Alphabetical Order)

CNN from scratch:

- Validation accuracy: 97.35 %
- Validation loss: 8.34 %

- Test accuracy: 95.63 %
- Test loss: 12.82 %

DenseNet201:

- Validation accuracy: 98.12 %
- Validation loss: 5.20 %

- Test accuracy: 97.50 %
- Test loss: 7.21 %

EfficientNetB3:

- Validation accuracy: 93.82 %
- Validation loss: 18.21 %

- Test accuracy: 95.63
- Test loss: 15.45 %

InceptionV3 - Fine Tuned:

-Validation accuracy: 97.06 %
-Validation loss: 7.16 %

-Test accuracy: 98.75 %
-Test loss : 4.83 %

ResNet50V2:

- Validation accuracy: 97.94 %
- Validation loss: 5.04 %

- Test accuracy: 98.12 %
- Test loss : 5.58 %

VGG16 - Fine Tuned:

- Validation Accuracy: 99.37 %
- Validation Loss: 0.85 %

- Test Accuracy: 99.37 %
- Test Loss: 0.99 %

VGG19 - Fine Tuned:

- Validation accuracy: 99.85 %
- Validation loss: 1.71 %

- Test accuracy: 99.37 %
- Test loss: 3.30 %

tuberculosis's People

Stargazers

 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.