After training for 10 Epochs, the model achieved a Validation Accuracy of 97.93%.
Epoch 10 Loss: 192.30 Accuracy: 97.93%
The confusion matrix below visualizes the performance of the classification algorithm. As seen in the diagonal density, the model predicts the vast majority of classes correctly.
Detailed precision, recall, and F1-scores for all classes:
precision recall f1-score support
A 1.00 1.00 1.00 1
B 1.00 1.00 1.00 1
C 1.00 1.00 1.00 1
D 1.00 1.00 1.00 1
... ... ... ... ...
X 1.00 1.00 1.00 1
Y 1.00 1.00 1.00 1
Z 1.00 1.00 1.00 1
del 0.00 0.00 0.00 0
nothing 1.00 1.00 1.00 1
space 1.00 1.00 1.00 1
accuracy 1.00 28
macro avg 0.97 0.97 0.97 28 weighted avg 1.00 1.00 1.00 28
To understand how the CNN makes decisions, we utilized visualization techniques to peek inside the "black box."
The image below shows the output of the second convolutional layer (conv2). These maps highlight the specific features (edges, curves, textures) the network is detecting at this stage.
We used Grad-CAM to visualize where the model "looks" when making a prediction. The heatmap overlays the original image, showing the regions of the hand that contributed most to the classification decision.
Below is the curriculum followed to build this project, ranging from Python basics to Model Interpretation.
- How to Install Anaconda and Jupyter Notebook on Windows 11
- Install Anaconda Python, Jupyter Notebook And Spyder on Mac
- Install Anaconda Python, Jupyter Notebook, Spyder on Ubuntu 22.04 LTS Linux
Video-Based - Python Tutorial
Text-Based - Python Tutorial | W3Schools
Hindi Resources - Python Tutorial for Beginners
Official Documentation
Video-Based - Python NumPy Tutorial for Beginners
Text-Based - NumPy Tutorial (GitHub)
Hindi Resources - Numpy Tutorial in Hindi
Official Documentation
Video-Based - Complete Python Pandas Data Science Tutorial
Text-Based - Pandas Data Science Tutorial (GitHub)
Hindi Resources - Python Pandas Tutorial in Hindi
Official Documentation
Video-Based - Matplotlib Crash Course
Text-Based - Matplotlib Cheatsheets β Visualization with Python
Hindi Resources - Python Matplotlib Tutorial in Hindi
Official Documentation
Video-Based - Git and GitHub for Beginners - Crash Course
Text-Based - Git Tutorial
Hindi Resources - Complete Git and GitHub Tutorial for Beginners
Official Documentation
Video-Based - Linear Regression Algorithm | Edureka
Text-Based - Python Machine Learning β Linear Regression
Hindi Resources - Linear Regression Implementation | Machine Learning in Hindi
Video-Based - Logistic Regression in Python | Edureka
Text-Based - Python Machine Learning β Logistic Regression
Hindi Resources - Logistic Regression with Example
Video-Based - Deep Learning Crash Course for Beginners
Text-Based - CNN Explainer
Hindi Resources - What is Convolutional Neural Network (CNN)
Video-Based - Visualizing CAMs
Text-Based - Grad-CAM for Explaining Computer Vision Models
Parts of this project were adapted from WINTER-PROJECT-ACTIVE-LEARNING by Bhavishya Gupta.


