• Stars
    star
    150
  • Rank 247,323 (Top 5 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created about 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Detecting Pneumonia in Chest X-ray Images using Convolutional Neural Network and Pretrained Models

Pneumonia Detection from Chest X-Ray Images using Transfer Learning

Domain             : Computer Vision, Machine Learning
Sub-Domain         : Deep Learning, Image Recognition
Techniques         : Deep Convolutional Neural Network, ImageNet, Inception
Application        : Image Recognition, Image Classification, Medical Imaging

Description

1. Detected Pneumonia from Chest X-Ray images using Custom Deep Convololutional Neural Network and by retraining pretrained model “InceptionV3” with 5856 images of X-ray (1.15GB).
2. For retraining removed output layers, freezed first few layers and fine-tuned model for two new label classes (Pneumonia and Normal).
3. With Custom Deep Convololutional Neural Network attained testing accuracy 89.53% and loss 0.41.

Code

GitHub Link      : Detection of Pneumonia from Chest X-Ray Images(GitHub)
GitLab Link      : Detection of Pneumonia from Chest X-Ray Images(GitLab)
Portfolio        : Anjana Tiha's Portfolio

Dataset

Dataset Name     : Chest X-Ray Images (Pneumonia)
Dataset Link     : Chest X-Ray Images (Pneumonia) Dataset (Kaggle)
                 : Chest X-Ray Images (Pneumonia) Dataset (Original Dataset)
Original Paper   : Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning
                   (Daniel S. Kermany, Michael Goldbaum, Wenjia Cai, M. Anthony Lewis, Huimin Xia, Kang Zhang)
                   https://www.cell.com/cell/fulltext/S0092-8674(18)30154-5
Dataset Details
Dataset Name            : Chest X-Ray Images (Pneumonia)
Number of Class         : 2
Number/Size of Images   : Total      : 5856 (1.15 Gigabyte (GB))
                          Training   : 5216 (1.07 Gigabyte (GB))
                          Validation : 320  (42.8 Megabyte (MB))
                          Testing    : 320  (35.4 Megabyte (MB))

Model Parameters
Machine Learning Library: Keras
Base Model              : InceptionV3 && Custom Deep Convolutional Neural Network
Optimizers              : Adam
Loss Function           : categorical_crossentropy

For Custom Deep Convolutional Neural Network : 
Training Parameters
Batch Size              : 64
Number of Epochs        : 30
Training Time           : 2 Hours

Output (Prediction/ Recognition / Classification Metrics)
Testing
Accuracy (F-1) Score    : 89.53%
Loss                    : 0.41
Precision               : 88.37%
Recall (Pneumonia)      : 95.48% (For positive class)

Sample Output:
See More Images
Confusion Matrix:
Confusion Matrix

Tools / Libraries

Languages               : Python
Tools/IDE               : Anaconda
Libraries               : Keras, TensorFlow, Inception, ImageNet

Dates

Duration                : October 2018 - Current
Current Version         : v1.0.0.3
Last Update             : 12.16.2018

More Repositories

1

Cancer-Detection-from-Microscopic-Tissue-Images-with-Deep-Learning

Cancer Detection from Microscopic Images by Fine-tuning Pre-trained Models ("Inception") for new class labels
Jupyter Notebook
28
star
2

Generative-Open-Domain-Chatbot-Application-with-Deep-Learning

Friendly Chatbot using Deep Neural Network, Specifically Sequence to Sequence Model and Movie Dialogue Corpus
Python
13
star
3

Movie-Recommendation-Engine-using-User-Based-Collaborative-Filtering

User Based Movie Recommendation System based on Collaborative Filtering Using Netflix Movie Dataset
C++
11
star
4

Movie-Revenue-Rating-Prediction-from-IMDB-Movie-Data

Movie Revenue & Ratings Prediction Using 5000 IMDB Movies [Python, Machine Learning, GitHub]
Jupyter Notebook
11
star
5

Restaurant-Recommendation-System-using-Relational-Database

Restaurant Recommendation System Using Relational Database
TeX
6
star
6

Image-Recognition-using-Deep-Convolutional-Neural-Network

Image Recognition using Deep Convolutional Network and Training Pre-trained Models ("Inception")
Jupyter Notebook
5
star
7

Research-Survey-Papers

Survey, Project and Thesis of Undergraduate and Graduate Degree Level
TeX
4
star
8

Artist-Prediction-from-Artworks

Artist Prediction from Artworks by Fully Retraining Pretrained Convolutional Neural Networks (InceptionResNetV3)
Jupyter Notebook
3
star
9

Malaria-Parasite-Detection-in-Thin-Blood-Smear-Images-with-Convolutional-Neural-Networks

Malaria Detection from Cell Images using Deep Learning - NasNetMobile Model
Jupyter Notebook
2
star
10

SMS-Spam-Classification

SMS Spam Classification or Detection using Deep Neural Network (LSTM and CNN)
Jupyter Notebook
2
star
11

University-Admission-Match-Predictor

Admission Prediction based on GPA and GRE scores
Jupyter Notebook
2
star
12

Twitter-US-Airline-Sentiment

Twitter data on US Airlines Sentiment Analysis with Deep Learning (LSTM and CNN)
Jupyter Notebook
2
star
13

Toxic-Comment-Classification

Classify comments on categories - "Toxic", "Severe Toxic", "Obscene", "Threat", "Insult", "Identity Hate", "Any of the Above", "None of the Above".
Jupyter Notebook
1
star
14

News-Fetch

Python
1
star