classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261003_092600-Meeting Recording

Date 2026-10-03 Length 1h 21m Words 10,925 Segments 686
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


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

title: "Advance Machine Learning"

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

duration: "1h 20m"

language: "en"

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

parts: 3

transcript_chars: 56667

generated: "2026-11-23T02:01:52+05:30"


Advanced Machine Learning

Overview

This class introduced foundational concepts of deep learning, transitioning from traditional machine learning models like linear and logistic regression. It covered the perceptron as the simplest neural network unit, explaining the processes of forward and backward propagation within a single-layer network. The lecture detailed the structure of a simple neural network, the role of activation functions in introducing non-linearity, and the definition of error functions. It also discussed training mechanics like epochs, gradient descent for weight updates, and practical stopping criteria, setting the stage for practical implementation with libraries like Keras.

Learning outcomes

Core concepts

Perceptron/Neuron

A perceptron is a single neuron, representing the basic computational unit of a neural network. It performs a linear combination of inputs and weights, followed by an activation function. This matters because it is the fundamental building block from which all neural networks are constructed, connecting to layers and the overall network architecture.

Forward Propagation

Forward propagation is the process of calculating the network's output by passing input data through successive layers, applying linear combinations and activation functions. It matters because it is the 'prediction' phase that produces the result used to compute the error, connecting directly to the definition of the loss function.

Backward Propagation (Backpropagation)

Backpropagation is the process of updating the network's weights by propagating the error from the output layer back through the network using gradient descent and the chain rule. It matters because it is the mechanism by which the network 'learns' and minimizes error, connecting the cost function to the weight update rules.

Activation Function

An activation function is a non-linear function applied to the linear combination (z) of a neuron's inputs and weights. It matters because it introduces the non-linearity necessary for neural networks to learn complex patterns, and it constrains outputs to specific ranges (e.g., 0 to 1 for sigmoid). It connects the linear computation (z) to the neuron's output (a).

Error / Cost / Loss Function

The error function quantifies the difference between the network's prediction and the actual target value. Specifically, Mean Squared Error was discussed. It matters because it defines the objective that gradient descent aims to minimize, serving as the direct link between the network's output and the weight update process.

Epoch

An epoch is one complete cycle of training where the entire dataset is used for one forward propagation followed by one backward propagation. It matters because it is a fundamental unit for measuring training progress, connecting to concepts like training duration and early stopping criteria.

Gradient Descent

Gradient descent is an optimization algorithm used to update weights by moving them in the direction opposite to the gradient of the cost function. It matters because it is the core algorithm that enables learning in neural networks, connecting the derivative of the loss to the practical update of weights.

Hidden Layer

A hidden layer is a layer of neurons between the input and output layers where feature extraction and transformations occur. It matters because the presence of at least one hidden layer is a key characteristic of deep learning, distinguishing it from simpler models and enabling the learning of hierarchical features.

Formulas and maths

Worked examples

Questions asked in class

Key takeaways

Exam-style questions

1. Describe the steps of forward propagation in a simple neural network with one input, one hidden, and one output neuron. Include the formulas for linear combination and activation.

2. Explain the purpose of backpropagation and write the chain rule used to calculate the gradient for a weight in the hidden layer (θ1).

3. A neural network for binary classification uses a single output neuron with a sigmoid activation. If the true label is 1 and the network outputs 0.7, what is the squared error? If the learning rate is 0.01 and the gradient ∂J/∂θ for a weight is calculated as -0.5, what is the new weight value if the old weight was 0.4?

4. Compare and contrast the concepts of dropout and early stopping. When would you consider using each technique?

5. In the context of a fully connected neural network, who decides the number of neurons in the hidden layers, and what is a common practical approach for deciding this?

Glossary

Follow-ups

Exam verification — corrections & additions

Example: x = [2,1], t = 1, w = [0,0], b = 0, η = 0.1 → y = 0, (y − t) = −1 → w = [0.2, 0.1], b = 0.1.

Transcript

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

loading…