Skip to content

prasunjoshi/deep-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Deep Learning

This repository showcases my expertise in deep learning through hands-on implementations of neural network architectures built from scratch. Each project demonstrates a deep understanding of the mathematical foundations and computational principles underlying modern deep learning frameworks.

🧠 Projects Overview

CNN from Scratch (NumPy Implementation)

A complete Convolutional Neural Network implementation using only NumPy - no deep learning frameworks like TensorFlow or PyTorch. This project demonstrates mastery of the fundamental mathematics and algorithms that power modern CNNs.

Key Technical Achievements:

  • Vectorized Operations: Implements convolution, pooling, and backpropagation without loops using NumPy's vectorization capabilities
  • Complete Training Pipeline: Full forward and backward propagation with gradient descent optimization
  • CIFAR-10 Classification: Trained on the standard computer vision benchmark dataset
  • Production-Ready Code: Structured similar to how frameworks like TensorFlow and PyTorch implement their core operations

Architecture: CONV β†’ ReLU β†’ MAXPOOL β†’ CONV β†’ ReLU β†’ MAXPOOL β†’ FLATTEN β†’ FC β†’ SOFTMAX

Dataset: CIFAR-10 (60,000 32x32 color images in 10 classes)

πŸ“ Location: /CNN/ directory

πŸ”¬ Technical Highlights

Mathematical Foundations

This repository demonstrates deep understanding of:

  • Convolution Mathematics: Implementing 2D convolutions with proper padding and stride calculations
  • Backpropagation Algorithm: Chain rule implementation for gradient computation through complex network architectures
  • Optimization Theory: Gradient descent parameter updates across multiple layer types
  • Activation Functions: ReLU implementation with proper derivative handling

Performance Engineering

  • Memory Efficient: Uses NumPy's broadcasting and vectorization for optimal performance
  • Numerically Stable: Includes epsilon handling in loss calculations to prevent numerical instability
  • Scalable Architecture: Handles full CIFAR-10 dataset (50,000 training + 10,000 test images)

πŸš€ Skills Demonstrated

Skill Category Technologies & Concepts
Deep Learning CNN Architecture, Backpropagation, Gradient Descent
Mathematics Linear Algebra, Calculus, Optimization Theory
Programming NumPy, Vectorization, Memory Management
Data Science CIFAR-10, Classification, Model Evaluation
Software Engineering Modular Code Design, Documentation, Testing

πŸ“Š Results & Performance

CNN from Scratch Performance:

  • Successfully trains on CIFAR-10 dataset
  • Implements production-grade convolution operations
  • Demonstrates loss reduction across training epochs
  • Complete end-to-end training and testing pipeline

🎯 Learning Objectives

This repository was created to:

  1. Master Fundamentals: Understand the core mathematics behind deep learning
  2. Implementation Skills: Build complex algorithms from first principles
  3. Performance Optimization: Write efficient numerical code using NumPy
  4. Industry Readiness: Demonstrate ability to work at the level of framework internals

πŸ”— Dataset References


This repository represents a commitment to understanding deep learning from the ground up, rather than just using high-level APIs. Each implementation showcases the mathematical rigor and programming expertise needed for advanced AI development.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors