Convolutional Neural Networks have been shown to be effective within the healthcare industry with tasks such as identifying certain types of cancers or even pneumonia from different types of scans. This project shows how to efficiently store and convert images in order to then train convolutional neural networks to detect pneumonia within patients.
To view the actual report, go to report.pdf file
Packages that need to be downloaded
library(tensorflow)
library(reticulate)
library(tfdatasets)
library(keras)
library(tidyverse)
library(ggplot2)
library(tfruns)
Due to the size of the data that I was working with in this project, I did not upload the data directly to Github. Therefore in order for the extra files in this project to run, one needs to follow the instructions below to set up this project.
- While the actual data comes from https://data.mendeley.com/datasets/rscbjbr9sj/3, the best source to download the data comes from https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia. Once on this site, please click the "Download (2 GB) " button that is located on the page.
- Once downloaded, please move the data into the report/setup/images folder. This will allow all files within the report folder to properly run and execute.
If one wishes to learn how to download the data from Google Cloud Storage to work with their R Studio Account, please go to report/setup/Google_Cloud_Setup_Instructions and follow the list of instructions within this folder.
Beyond the report itself, one can go to report/setup and view the Convolutional_Neural_Net.pdf file to see further information on how to setup and train a convolutional neural network.