Skip to content

Detecting Viral and Bacterial Pneumonia from Chest Xrays With Colaboratory, Drive, Transfer Learning, and Data Augmentation

License

Notifications You must be signed in to change notification settings

AdamPeetz/Pneumonia_Classification_Deep_Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Detecting Viral and Bacterial Pneumonia from Chest Xrays

With Colaboratory, Drive, Transfer Learning, and Data Augmentation

alt text

Summary

Pneumonia is a lung infection that can be caused by a virus or bacteria growing in the lungs. A common way to screen for pneumonia is to analyze chest x-rays for signs of the infection. On an x-ray, pneumonia will present itself as little white dots in the lungs called infiltrates. This distinct visual feature of pneumonia makes it a candidate for detection by convolutional neural networks. If a visual difference exists between normal lungs and infected lungs, then it should be detectable by a convolutional neural network.

Methods

This notebook creates a three-class model that classifies x-rays as either normal, having bacterial pneumonia, or viral pneumonia. It is based on a Kaggle hosted dataset (https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia) and is designed to use free cloud computing resources from Google. Collaboratory is used for coding and computing, and Drive is used to host input data for the model. Presenting a free and generalized approach to this problem creates a foundation that can be applied to any deep learning problem with the modification of a few lines of code.

To solve the problem, this notebook will employ data augmentation and transfer learning. These two techniques are known to improve classification scores on small datasets.

About

Detecting Viral and Bacterial Pneumonia from Chest Xrays With Colaboratory, Drive, Transfer Learning, and Data Augmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages