This Convolutional Neural Network (CNN) model takes a cell image as input and classifies it as either Parasitic or Uninfected. The dataset used for training and testing is sourced from Kaggle.
Download the dataset from Kaggle.
-
Download the Source Code
Download the source code and place it in a directory.
-
Download and Unzip the Dataset
Download the dataset from the provided link and unzip it in the same directory as the source code.
-
Organize the Dataset
The unzipped folder contains two subfolders:
Parasitized
Uninfected
Rename the unzipped folder to
Train
. -
Create Test Folders
Create a new folder named
Test
and within it, create two subfolders:Parasitized
Uninfected
-
Prepare the Test Dataset
- Move 300 images from
Train/Parasitized
toTest/Parasitized
. - Move 300 images from
Train/Uninfected
toTest/Uninfected
.
- Move 300 images from
-
Update the Paths in the Model
Ensure the paths to the training and testing datasets are correctly updated in the model code.
Once you have organized the dataset and updated the paths in the model code, you can run the model script to train and test the CNN model on the cell images.