classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261010_092636-Meeting Recording 1

Date 2026-10-10 Length 30m Words 4,632 Segments 275
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


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

title: "Advance Machine Learning"

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

duration: "30m 14s"

language: "en"

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

parts: 1

transcript_chars: 23237

generated: "2026-11-23T02:05:45+05:30"


Advanced Machine Learning

Overview

This class focused on the practical construction and hyperparameter tuning of a Multi-Layer Perceptron (MLP) for image classification, using a dataset like MNIST (28x28 grayscale images). It covered defining model architecture with flatten, dense, and dropout layers, calculating parameters, and systematically adjusting hyperparameters like the number of neurons, layers, optimizer, batch size, and epochs. This session builds foundational skills in model development and diagnostics, connecting to broader themes of optimization, regularization, and performance evaluation in neural networks.

Learning outcomes

Core concepts

Flatten Layer

Converts a multi-dimensional input (e.g., a 28x28 image) into a one-dimensional vector (784x1). This is necessary to connect the image pixels to the first dense (fully connected) layer of the neural network.

Dense (Fully Connected) Layer

A layer where each neuron is connected to every neuron in the previous layer. It applies a linear transformation (weights * inputs + bias) followed by a non-linear activation function. This is the core building block for learning complex patterns.

Dropout

A regularization technique that randomly disables a specified fraction of neurons during each training iteration (e.g., dropout rate of 0.1). It helps prevent overfitting by ensuring the model does not become overly reliant on specific neurons or co-adaptations.

Hyperparameter Tuning

The process of adjusting model configuration settings that are not learned during training (e.g., number of layers, neurons, optimizer type, batch size, epochs). Systematic tuning is crucial for finding a model that generalizes well to unseen data.

Overfitting and Underfitting

Overfitting occurs when a model learns the training data too well, including its noise, resulting in poor performance on new data. Underfitting occurs when a model fails to capture the underlying trend in the data. The class discussed dropout as a tool to combat overfitting.

Formulas and maths

Worked examples

1. Initial Model (Model 1):

2. Increased Model Capacity:

3. Increased Training Duration:

4. Optimizer Change:

5. Batch Size Adjustment:

6. Further Capacity Increase:

Questions asked in class

Key takeaways

Exam-style questions

1. Question: Given an MLP for MNIST classification with an input shape of (28, 28, 1), a Flatten layer, followed by a Dense layer with 32 neurons, calculate the total number of trainable parameters in this first Dense layer.

2. Question: A model's training accuracy is 99% but its validation accuracy is 70%. Name this phenomenon and suggest one technique discussed in class to address it.

3. Question: You train an MLP for 10 epochs and get 15% accuracy. You then add two more hidden layers, retrain for 10 epochs, and accuracy remains ~15%. Propose the next single hyperparameter you should change to likely improve performance, and justify your choice.

Glossary

Follow-ups

Exam verification — corrections & additions

Transcript

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

loading…