Back To Projects

The Differentiation of Viral and Bacterial Pneumonia using Deep Learning

Arnav D. |
workspace_premium 2nd Place at Orange County Science Fair, California Science and Engineering Fair (CSEF)

This project aims to find out whether a Convolutional Neural Network can be used to classify x-ray scans as having either bacterial or viral Pneumonia.


This project aims to find out whether a Convolutional Neural Network can be used to classify x-ray scans as having either bacterial or viral Pneumonia. First, its use is discussed, as it is meant to be used to assist with pulmonary healthcare in underprivileged areas. Then, its structure is outlined as a CNN set up using Keras and Tensorflow that is trained on a dataset consisting of 5856 x-ray scans of patients one to five years old from Guangzhou Women and Children’s Medical Center. After testing multiple setups, the final model, based on Inception ResNet v2, differentiates between the two types of Pneumonia with a 75% test accuracy, using minimal epochs in order to increase efficiency. The model was further improved by using dropout, the implementation of early stopping, L2 regularization and augmentation of the training data in order to combat overfitting. Lastly, the model’s limitations and future are discussed. This model proves one can predict and identify types of Pneumonia using a CNN with relatively high accuracy and shows the potential of deep learning in the context of medical imaging to assist medical staff.

Arnav D.
Erick Siavichay
Computer Science Alum from Stanford, Software Engineering and Data Science at Tagg

Related Projects

workspace_premium
Exploring Asteroid Orbits: Insights from Neural Network Modeling and Data-driven Analysis

In this study, orbital data from the NASA Jet Propulsion Lab was used in the classification of asteroid orbits through a machine-learning approach.
Aarav S.
Mentored by
Brain Cancer Detection

Current methods for determining the presence and type of brain tumor in a given patient’s MRI scan can oftentimes be inefficient and are prone for error. By using a machine learning algorithm, the error in these classifications is reduced significantly, and the process is made much more efficient.
Rohan T.
Mentored by
Utilizing AI for Alzheimer's Diagnosis

This research assesses the potential of AI to improve early Alzheimer’s diagnosis by evaluating various classifier models, with results showing that while MLP classifier achieved only 32% accuracy, the Random Forest classifier excelled at 91.5%, highlighting the importance of factors like the mini mental state evaluation over others, as revealed in the Logistic Regression Feature Importance analysis.
Trinity M.
Mentored by Kevin Phan