classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261013_183021-Meeting Recording

Date 2026-10-13 Length 1h 30m Words 9,571 Segments 789
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "6103-advanced-ml/2026-10-13 1830 Advance Machine Learning"

title: "Advance Machine Learning"

date: "2026-10-13 18:30"

duration: "1h 30m"

language: "en"

model: "deepseek-ai/DeepSeek-V3.2"

parts: 2

transcript_chars: 51207

generated: "2026-11-23T00:33:48+05:30"


Advanced Machine Learning

Overview

This class introduced Convolutional Neural Networks (CNNs) as a fundamental deep learning model for image processing. It contrasted CNNs with traditional Artificial Neural Networks (ANNs), highlighting ANNs' limitations with large inputs and lack of location invariance. The lecture covered the core CNN architecture, including the convolution operation, kernels, stride, feature maps, and the purpose of pooling and activation functions. This session establishes the foundation for understanding modern computer vision models and their automatic feature extraction capabilities.

Learning outcomes

Core concepts

CNN vs. ANN

A Convolutional Neural Network (CNN) is a neural network architecture designed for automatic feature extraction from images, fundamental to models like ResNet and MobileNet. An Artificial Neural Network (ANN), like a perceptron, requires manual feature input and is sensitive to object location. CNNs matter because they efficiently handle large input sizes (e.g., millions of pixels) and are invariant to where an object appears in an image, solving key ANN shortcomings.

Convolution Operation

Convolution is the element-wise multiplication of a small kernel matrix with patches of the input image, followed by summation, scanning the image systematically. This operation matters because it is the primary mechanism for detecting local patterns (e.g., edges, curves). It connects to the overall architecture as the first step in generating feature maps, which are then processed by activation and pooling layers.

Kernels/Filters

A kernel (also called a filter, feature detector, or convolutional matrix) is a small, user-defined matrix (e.g., 2x2, 3x3) containing weights initialized randomly. It matters because each kernel is designed to detect a specific feature, such as a loopy pattern or a vertical line. Kernels are not predefined; they are learned during training, enabling automatic feature extraction.

Feature Maps

A feature map is the output matrix resulting from the convolution of an input image with a kernel. It matters because the values within a feature map indicate the presence and approximate location of the detected feature. This connects to hierarchical learning, as combinations of simple feature maps from initial layers are used to detect more complex features in deeper layers.

Stride

Stride is the number of pixels the kernel shifts over the input matrix during convolution (common values are 1 or 2). It matters because a smaller stride allows the model to examine the image in more detail, while a larger stride reduces computational cost and output size. It is a key hyperparameter that connects to the granularity of the feature extraction process.

Pooling

Pooling (e.g., max pooling, average pooling) is a down-sampling operation that reduces the size of feature maps. It matters because it lessens computational load, provides invariance to small translations, and helps prevent overfitting by reducing detail. It typically follows convolution and activation within a CNN block.

Hierarchical Feature Learning

CNNs learn features hierarchically: low-level filters detect simple patterns (edges, curves), combinations of these detect mid-level features (eyes, nose), and further combinations detect high-level objects (face). This matters because it mimics human visual processing and allows the model to build complex understanding from simple components automatically during training.

Formulas and maths

Worked examples

Questions asked in class

Key takeaways

Exam-style questions

1. Question: For a 1920x1080 RGB image, calculate the number of input neurons required for an ANN. Explain why this is problematic and how a CNN addresses this issue.

2. Question: Perform a single step of the convolution operation. Given a 3x3 input patch \( I = \begin{bmatrix} 2 & 4 & 1 \\ 0 & 3 & 5 \\ 2 & 1 & 2 \end{bmatrix} \) and a 3x3 kernel \( K = \begin{bmatrix} 1 & 0 & -1 \\ 1 & 0 & -1 \\ 1 & 0 & -1 \end{bmatrix} \), calculate the output value. Then, apply the ReLU function to this value.

3. Question: Describe the purpose of pooling in a CNN. Compare max pooling and average pooling using a 2x2 example with values [8, 3; 1, 6] and a stride of 2.

Glossary

Follow-ups

Exam verification — corrections & additions

Transcript

One line per segment, [hh:mm:ss] timestamp first.

loading…