Deep Learning

Topics in the Deep Learning category.

Part 2: From Machine Learning to Deep Learning - A Friendly Guide

The direct continuation of Part 1. Part 1 built the spam model with handcoded weights. Part 2 answers the natural next question — how does a model actually learn those weights? Covers labels, loss, backpropagation, and the complete training loop using the same spam example.

Part 3: Tensors and Tensor Operations - A Friendly Guide

Learn tensors and tensor operations using the same spam-detection example. Covers feature vectors, batches of emails, weights, matrix multiplication, broadcasting, and reshaping. Builds directly on the training loop from Part 2.

Part 9: Convolutional Neural Networks (CNNs) - A Friendly Guide

A zero-background introduction to Convolutional Neural Networks. Starts with a simple cat-vs-dog photo example and builds up, one idea at a time, through convolution, activation, feature maps, padding, and pooling — then goes further into the exact output-size and parameter-count formulas, finishing with a full layer-by-layer walkthrough of the real VGG16 architecture.

Part 10: Advanced Convolutional Neural Networks - A Friendly Guide

A simple next step after the beginner CNN guide. Explains advanced CNN ideas in plain English, with diagrams throughout — deeper networks and the degradation problem, overfitting, dropout, batch normalization, residual connections, global average pooling, 1x1 bottleneck convolutions, CNN backpropagation through filters, feature maps, ReLU, and pooling, transfer learning, data augmentation, and modern CNN architecture patterns.

Part 12: Building a CNN End-to-End — CIFAR-10 with PyTorch

A complete hands-on walkthrough of building, training, and evaluating a CNN on the CIFAR-10 dataset using PyTorch. Covers loading and preprocessing the dataset, defining a CNN architecture, writing the training loop with validation, and evaluating with accuracy, confusion matrix, and classification report.