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

Predicting Dementia using AI

This project involved researching and utilizing AI models to predict whether an individual is demented or non-demented based on factors like age, gender, dominant hand, brain size, and education.
Satvi M.
Mentored by James Thomson
Using CNNs to Detect Breast Cancer From Histological Images

This study evaluated multiple deep learning approaches for automatically classifying breast cancer histopathology images as malignant or benign. The models demonstrated strong performance, with Keras Sequential achieving the highest accuracy (85.7%) and precision (88.4%), while VGG19 achieved the highest recall (94.8%), highlighting the potential of deep learning to support breast cancer diagnosis.
Edward C.
Mentored by Rami Abi-Akl
Machine Learning Models for Cardiovascular Disease: A Holistic Review on Early Diagnosis Performance

This paper evaluates the effectiveness of lightweight machine learning models for predicting cardiovascular disease severity, finding high accuracy and potential for practical use, while emphasizing the need for better explainability and integration with wearable technology.
Anirudh C.
Mentored by Matthew Radzihovsky