In this project, I built a robust classifier that able to identify the malaria disease from medical images. I used image dataset to malaria disease, this images belong to two classes: parasitized and uninfected classes. parasitized-> images contains malaria disease, while uninfrcted -> images with no malaria ( healthy images). train dats included ( 12480) images for two classes, while the test data included ( 1300) images for each class.
Many steps applied in this project:
- imported required libraries.
- uploaded data.
- read data
- visualized some samples of images.
As we noticed, the difference between two images the dark color in the pink part of image, that represent the disease in the medical images.
- explored the data In this step we noticed that we had balanced data, as we see in the next images:
- pre-process data using data augmentation
- built Custome CNN model
- compiled and optimized the model
- fit the model with data
- evaluated the performance of the model
- plot the performance.
I used kaggle notebook because it offer accelerators, and I used GPU T4X2, to accelarate training process.
- numpy
- pandas
- seaborn.
- matplotlib.
- os
- glob
- tensorflow
- sklearn
Best results were accuracy 95%, with training in 30 epochs, the next image show how the model performance was during the training and testing stages. i think its a good trial but we can make more improvements.
#Deploymant using gradio on HuggingFace

you can try it from this Link: IshraqTariq92/Malaria_Detector



