Skip to content

Latest commit

 

History

History
113 lines (96 loc) · 6.57 KB

File metadata and controls

113 lines (96 loc) · 6.57 KB

Malaria Parasite Detection in Thin Blood Smear Images by Retraining Fully Pretrained Convolutional Neural Networks (NasNetMobile)

Domain             : Computer Vision, Machine Learning
Sub-Domain         : Deep Learning, Image Recognition
Techniques         : Deep Convolutional Neural Network, Transfer Learning, NASNetMobile
Application        : Image Recognition, Image Classification, Medical Imaging, Bio-Medical Imaging

Description

  1. Detected Malaria Parasites from thin Blood Smear images collected from Malaria screening research activity by National Institutes of Health (NIH) with Deep Learning (Convolutional Neural Network) specifically by retraining pretrained model NaNetMobile completely from scratch.
  2. Before feeding data into model, preprocessed and augmented image dataset containing 27,558 images (337MB) by adding random flips, rotations and shears.
  3. After loading pretrainied model NasNetMobile, added global max pooling, global average pooling, flattened layer to output of trained model and concatenated them. Also added dropout and batch normalization layers for regularization before adding final output layer - a dense layer with softmax activation and compiling with optimizer-Adam with learning rate-0.0001, metric-accuracy and loss-categorical crossentropy.
  4. Trained for 10 iterations and attained training accuracy 96.47% and loss(categorical crossentrpy) 0.1026 and validation accuracy of 95.46% and loss 0.1385.

Code

GitHub Link      : Malaria Detection using Deep Learning (GitHub)
GitLab Link      : Malaria Detection using Deep Learning (GitLab)
Kaggle Kernel    : Malaria Detection using Keras (Accuracy - 95%)
Portfolio        : Anjana Tiha's Portfolio

Relevant Papers

GitHub Link      : Pre-trained convolutional neural networks as feature extractors toward improved malaria parasite detection in thin blood smear images (peerj)
@article{rajaraman2018pre,
  title={Pre-trained convolutional neural networks as feature extractors toward improved malaria parasite detection in thin blood smear images},
  author={Rajaraman, Sivaramakrishnan and Antani, Sameer K and Poostchi, Mahdieh and Silamut, Kamolrat and Hossain, Md A and Maude, Richard J and Jaeger, Stefan and Thoma, George R},
  journal={PeerJ},
  volume={6},
  pages={e4568},
  year={2018},
  publisher={PeerJ Inc.}

Dataset

Dataset Name     : Malaria Cell Images Dataset
Dataset Link     : Malaria Cell Images Dataset (Kaggle)
Original Dataset : Malaria Datasets - National Institutes of Health (NIH)

Dataset Details

Dataset Name            : Malaria Cell Images Dataset
Number of Class         : 2
Dataset Subtype Number of Image Size(MB/Megabyte)
Total 27,588 337 MB
Training 20,670 ---
Validation 6,888 ---
Testing --- ---
Dataset Subtype Number of Image Size of Images (GB/Gigabyte)
Total 27,588 337 MB
Training 20,670 ---
Validation 6,888 ---
Testing --- ---

Model and Training Prameters

Current Parameters Value
Base Model NashNetMobile
Optimizers Adam
Loss Function Categorical Crossentropy
Learning Rate 0.0001
Batch Size 176
Number of Epochs 10
Training Time 45 Min

Model Performance Metrics (Prediction/ Recognition / Classification)

Dataset Training Validation Test
Accuracy 96.47% 95.46% ---
Loss 0.1026 0.1385 ---
Precision --- --- ---
Recall --- --- ---
Roc-Auc --- --- ---

Other Experimented Model and Training Prameters

Parameters (Experimented) Value
Base Models NashNet(NashNetMobile)
Optimizers Adam
Loss Function Categorical Crossentropy
Learning Rate 0.0001, 0.00001, 0.000001, 0.0000001
Batch Size 32, 64, 176
Number of Epochs 10
Training Time 45 Min

Tools / Libraries

Languages               : Python
Tools/IDE               : Kaggle
Libraries               : Keras, TensorFlow, NasNetMobile

Dates

Duration                : February 2019 - April 2019
Current Version         : v1.0.0.9
Last Update             : 03.14.2019