classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261010_092636-Meeting Recording

Date 2026-10-10 Length 58m Words 7,928 Segments 470
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "6103-advanced-ml/2026-10-10 0926 Advance Machine Learning (2)"

title: "Advance Machine Learning"

date: "2026-10-10 09:26"

duration: "58m 23s"

language: "en"

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

parts: 3

transcript_chars: 41218

generated: "2026-11-23T02:07:38+05:30"


Advanced Machine Learning

Overview

This class focused on building and training neural networks for image classification, specifically using the MNIST dataset. It served as a practical introduction to deep learning workflows, connecting the theoretical concept of backpropagation from the previous class to implementation. The session covered data preprocessing, model architecture design with Keras, and the empirical, trial-and-error nature of machine learning optimization.

Learning outcomes

Core concepts

Deep Learning & Multi-Layer Perceptron (MLP)

A neural network with multiple hidden layers is termed "deep learning." An MLP is a foundational type of deep network where layers are fully connected (dense). It matters because stacking layers allows the network to learn hierarchical and complex feature representations from data, moving beyond simpler models.

Data Preprocessing Pipeline

This involves preparing raw data for model consumption. Key steps for image data include resizing to a fixed resolution (e.g., 28x28), normalization (scaling pixel values to 0-1), and one-hot encoding labels. It connects directly to model performance, as well-preprocessed data leads to more stable and faster training.

Fully Connected (Dense) & Flatten Layers

A dense layer connects every neuron to all neurons in the subsequent layer. A flatten layer reshapes a 2D input (like an image) into a 1D vector. These are core architectural components for building MLPs from image inputs, defining how information flows and transforms through the network.

Regularization via Dropout

Dropout is a technique that randomly deactivates a fraction of neurons during each training iteration. It matters because it prevents overfitting, where a model performs well on training data but poorly on unseen test data, by forcing the network to learn robust features that don't rely on any single neuron.

Optimizers and Loss Functions

An optimizer (like SGD or Adam) implements the algorithm to update weights during backpropagation. A loss function (like categorical cross-entropy) quantifies the error between predictions and true labels. Their selection is crucial as they directly control how the model learns and converges during training.

Formulas and maths

Worked examples

Questions asked in class

Key takeaways

Exam-style questions

1. Describe the steps to preprocess the MNIST dataset for input into a fully connected neural network.

2. What is the purpose of a dropout layer in a neural network? Explain with a numerical example.

3. You are building a classifier for MNIST. Specify the architecture decisions for the output layer and the loss function, justifying your choices.

Glossary

Follow-ups

Transcript

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

loading…