Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/danielstankw/vgg16_xray_image_classifier

Image Classification (3 classes) using VGG-16 Deep Learning Model
https://github.com/danielstankw/vgg16_xray_image_classifier

covid-19 image image-classification keras tensorflow2 vgg16

Last synced: 9 days ago
JSON representation

Image Classification (3 classes) using VGG-16 Deep Learning Model

Awesome Lists containing this project

README

        

# Multiclass image classification (X-ray)

## 1. Overview
This repositiory presents a very simple example of multiclass image classification.
The problem objective was to learn to distinguish 3 classes related to lung state based on X-ray images. The classes present in the dataset are: COVID-19, Viral Pneumonia, Normal.
For this problem the Vgg16 pre-trained model was used, achieving promising results.
The dataset can be downloaded from [Kaggle](https://www.kaggle.com/datasets/pranavraikokte/covid19-image-dataset)


Description of the Image

## 2. Model used

The used consists of VGG-16 pre-trained model with an addition of layers. The architecture overview is presented below:


Description of the Image


Description of the Image

## 3. Training
The training/ validation loss is presented below:


Description of the Image

The training/ validation accuracy is presented below:


Description of the Image

## 4. Results
Because the task is a classification task, accuracy is not the best metric for the task.
To analyze the performance of the model the confusion matrix is plotted. Based on the obtained results it is noted that only 2 instances were missclassified.


Description of the Image

The missclassified images are displayed below:


Description of the Image

## 5. Possible improvements
To further improve the results a few additions can be made:
- Data augmentation such as scalling, rotation and more (*the code snippet is added to the notebook*)
- Optimizing F1 score instead of accuracy (*the code snippet is added to the notebook*)