Pneumonia Detection with Explainable Artificial Intelligence
Version 1.0.0 (10.8 KB) by
Putu Fadya
This repository provides MATLAB implementations for pneumonia detection using deep learning models, enhanced with explainable AI techniques.
This repository presents an approach for pneumonia detection using a MobileNetV2 pretrained model in MATLAB, combined with explainable AI techniques to improve interpretability. The deep learning model is trained on chest X-ray images, leveraging Grad-CAM, Grad-CAM++, Score-CAM, and Saliency Map to highlight critical regions that influence the model’s predictions.Key Features:
- MobileNetV2 Pretrained Model – A lightweight and efficient deep learning architecture for pneumonia classification.
- Grad-CAM & Grad-CAM++ – Gradient-based visualization techniques to generate class-discriminative heatmaps.
- Score-CAM – A perturbation-based method that improves upon Grad-CAM by removing the dependency on gradients.
- Saliency Map – Highlights pixel-wise contributions to the model’s decision.
- MATLAB Implementation – Fully coded in MATLAB, making it accessible for medical imaging researchers and engineers.
This project aims to enhance the transparency, reliability, and trustworthiness of AI-based medical diagnosis by providing clear visual explanations of model decisions, assisting clinicians in understanding why and how the model detects pneumonia.
Cite As
Putu Fadya (2025). Pneumonia Detection with Explainable Artificial Intelligence (https://www.mathworks.com/matlabcentral/fileexchange/180171-pneumonia-detection-with-explainable-artificial-intelligence), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |