An open API service indexing awesome lists of open source software.

https://github.com/mehrab-kalantari/cnn-chest-xray

Building a Convolutional Neural Network on a smaller sample of chest X-ray dataset
https://github.com/mehrab-kalantari/cnn-chest-xray

class-weights cnn convolutional-neural-networks data-augmentation deep-learning imbalanced-data

Last synced: 4 months ago
JSON representation

Building a Convolutional Neural Network on a smaller sample of chest X-ray dataset

Awesome Lists containing this project

README

        

# CNN Model on Chest X-ray Dataset
Building a CNN model on chest x-ray dataset. We use a smaller sample of the dataset

Add more data to get a better result

[Dataset on kaggle](https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia)

## Contents
### Data Augmentation
The data is huge, so we don't load the data directly

There are two classes and the data is imbalanced
### Imbalanced Data Handling
* Class weights

### Modeling
We use the following architecture for our model

![p](sample/model.png)

### Model Improving
* Early stopping
* ReduceLROnPlateau

### Evaluation
* Accuracy and loss plotting