Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/danielstankw/vgg16_xray_image_classifier
- Owner: danielstankw
- Created: 2023-10-18T07:42:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T08:15:02.000Z (about 1 year ago)
- Last Synced: 2024-11-08T20:48:41.608Z (2 months ago)
- Topics: covid-19, image, image-classification, keras, tensorflow2, vgg16
- Language: Jupyter Notebook
- Homepage:
- Size: 2.43 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
## 2. Model used
The used consists of VGG-16 pre-trained model with an addition of layers. The architecture overview is presented below:
## 3. Training
The training/ validation loss is presented below:
The training/ validation accuracy is presented below:
## 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.
The missclassified images are displayed below:
## 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*)