Skip to content

matticrispo7/AI-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNN for classification of COVID-19 pneumonia

This is a master's degree project of Artificial Intelligence developed in 2021.

Goal

The objective of the project is to build a CNN model with subsequent training phase, validation and comparison of the results with some pretrained network models on which fine tuning is performed.
More details can be found in the documentation provided.

Classes to detect

The classes the network has to detect are the following:

  1. Bacterial Pneumonia
  2. COVID-19
  3. Normal
  4. Viral Pneumonia
    An example of these (respectively from left to right) are provided in the figure below.

Dataset

The starting dataset and the training set can be found here.
To balance the dataset, 1000 samples per class were chosen.
Since some classes had fewer samples than required, the data augmentation technique with 15 transformations per sample was applied.
An example of the application of this technique on a sample of COVID-19 is shown below.

CNN structure

The CNN is composed by several convolutional layers followed by pooling ones. Then, the feature map is flattened and two Dense layers composed by 512 and 4 respectively are added with a Dropout layer in between.
The visual representation of the network's structure is the following:

Results

The final accuracy obtained is 78,14%. Accuracy and loss graphs are shown below.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages