An Explainable Deep Learning Model for Illegal Dress Code Detection and Classification

This study introduces an explainable deep learning model for detecting and classifying dress code violations, leveraging a custom dataset of 130 images categorized into four classes: illegal male dressing, illegal female dressing, legal male dressing, and legal female dressing. The proposed model was built on a pre-trained MobileNetV2 architecture, fine-tuned to achieve a training accuracy of 100% and a validation accuracy of 90%. The model's performance is further validated through a confusion matrix, demonstrating robust classification capabilities, particularly for legal male and female dress codes, with minor misclassifications in the illegal categories. To ensure interpretability, SHAP (SHapley Additive exPlanations) and Gradient Magnitude Heatmaps are employed, providing insights into the model’s decision-making process. The SHAP visualizations reveal the pixel-level contributions to the predictions, while the Gradient Magnitude Heatmaps highlight regions of sensitivity, emphasizing the model's focus on distributed patterns across the images. The alignment between these techniques confirms the reliability of the model's feature extraction capabilities and underscores its generalizability. This paper not only achieves high classification accuracy but also integrates explainability techniques to enhance transparency and trust, making it suitable for socially sensitive applications. The results demonstrated the effectiveness of combining high-performance deep learning models with robust explainability frameworks to address complex classification challenges.

Authors

Publication Details

Journal
Journal of Basics and Applied Sciences Research
Published
2025-02-19
DOI
https://doi.org/10.4314/jobasr.v3i1.1
Citations
1
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
1.28
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Explainable Deep Learning Model for Illegal Dress Code Detection and Classification

Tasiu Suleiman, Mukhtar Abubakar, Yusuf Surajo
1 citations
Journal of Basics and Applied Sciences Research
Handwritten Text Recognition Techniques
1.28
article

An Explainable Deep Learning Model for Illegal Dress Code Detection and Classification

Tasiu Suleiman, Mukhtar Abubakar, Yusuf Surajo
article en
1 citations

Abstract

This study introduces an explainable deep learning model for detecting and classifying dress code violations, leveraging a custom dataset of 130 images categorized into four classes: illegal male dressing, illegal female dressing, legal male dressing, and legal female dressing. The proposed model was built on a pre-trained MobileNetV2 architecture, fine-tuned to achieve a training accuracy of 100% and a validation accuracy of 90%. The model's performance is further validated through a confusion matrix, demonstrating robust classification capabilities, particularly for legal male and female dress codes, with minor misclassifications in the illegal categories. To ensure interpretability, SHAP (SHapley Additive exPlanations) and Gradient Magnitude Heatmaps are employed, providing insights into the model’s decision-making process. The SHAP visualizations reveal the pixel-level contributions to the predictions, while the Gradient Magnitude Heatmaps highlight regions of sensitivity, emphasizing the model's focus on distributed patterns across the images. The alignment between these techniques confirms the reliability of the model's feature extraction capabilities and underscores its generalizability. This paper not only achieves high classification accuracy but also integrates explainability techniques to enhance transparency and trust, making it suitable for socially sensitive applications. The results demonstrated the effectiveness of combining high-performance deep learning models with robust explainability frameworks to address complex classification challenges.

Journal of Basics and Applied Sciences ResearchVol. 3(1)
Openalex Percentile: Top 22%
Handwritten Text Recognition Techniques
1.28
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

An Explainable Deep Learning Model for Illegal Dress Code Detection and Classification — Tasiu Suleiman, Mukhtar Abubakar, et al. · Journal of Basics and Applied Sciences Research (2025) | TGRS Research Map | TGRS