Back to marketplace

Sem2 Week 4

No description yet. This curated deck is ready for daily study.

Total cards: 23•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (23)

#1
Front (Question)

What is supervised learning?

Back (Answer)

Constructing a decision boundary using data points where you know the inputs and the true output. Has two parts: a way to represent a decision boundary (hypothesis space) and a way to adjust it to fit data (learning).

#2
Front (Question)

What is generalization in supervised learning?

Back (Answer)

Learning from one set of data (training data) and being able to apply the same decision boundary to make decisions about new, never-before-seen data points.

#3
Front (Question)

What is overfitting?

Back (Answer)

Learning a decision boundary that overly matches the training data but does not generalize well to new data.

#4
Front (Question)

What are ‘features’ in supervised learning?

Back (Answer)

The inputs to a supervised learning model. Often, the practitioner must decide what these are.

#5
Front (Question)

What is a multi-layer perceptron (MLP)?

Back (Answer)

A type of neural network that can represent a non-linear decision boundary, using hidden layers between input and output.

#6
Front (Question)

What is the role of hidden layers in a neural network?

Back (Answer)

Hidden layer nodes represent values that are based on, but different from, the inputs. They allow the network to build more complex, non-linear decision boundaries.

#7
Front (Question)

What is backpropagation?

Back (Answer)

A method for doing gradient descent in a neural network: repeatedly computing the derivative of the error function with respect to the weights, starting at the output layer and working backwards through the network.

#8
Front (Question)

What is gradient descent?

Back (Answer)

An optimization algorithm that calculates the gradient (∇F) of a function and takes a step in the direction -∇F to minimize the function. Step size is controlled by the learning rate η: Step = η × -∇F.

#9
Front (Question)

What is a learning rate (η)?

Back (Answer)

A hyperparameter controlling the step size in gradient descent. Each weight update step = η × -∇F.

#10
Front (Question)

Why can’t gradient descent be used directly with step function activations?

Back (Answer)

The step function is not differentiable, so you cannot compute the gradient needed for gradient descent.

#11
Front (Question)

What is the sigmoid function and why is it used?

Back (Answer)

A smooth, S-shaped activation function used instead of the step function. It is differentiable everywhere, making gradient descent possible.

#12
Front (Question)

What does the error function in a neural network range over?

Back (Answer)

The space of all possible weights — not the inputs. Gradient descent adjusts weights to minimize this error. The error surface is a landscape over weight space — every point in that landscape is a different combination of weight values, and the height at that point tells you how wrong the network is with those weights.

#13
Front (Question)

What is true (batch) gradient descent?

Back (Answer)

Using all training data at every weight update step. Most accurate gradient estimate but computationally expensive with large datasets.

#14
Front (Question)

What is stochastic/mini-batch gradient descent?

Back (Answer)

Using a random subset (batch) of data at each update step. Less accurate per step but much faster to compute.

#15
Front (Question)

What is an epoch?

Back (Answer)

One complete pass through all of the training data during training.

#16
Front (Question)

What is hill climbing in optimization?

Back (Answer)

Starting at a random point in the search space, looking at neighbouring points, and moving downhill. Often works with enough random restarts.

#17
Front (Question)

What is a key danger of large, complex neural networks?

Back (Answer)

They are difficult to train: every weight influences not just its own node but all downstream nodes, so any single weight change ripples through the entire network.

#18
Front (Question)

Are ANNs equivalent to human learning?

Back (Answer)

No. ANNs are complex nonlinear functions; ‘learning’ is just setting weights. There are many differences between ANNs and biological neurons despite the inspiration.

#19
Front (Question)

What is AlexNet?

Back (Answer)

A convolutional neural network (CNN) architecture from 2012 with Around 60 million Parameters, split across two GPUs.

#20
Front (Question)

What are the three main branches of machine learning, with examples of each?

Back (Answer)

Supervised learning (e.g. classifying MRI scans as tumour/no tumour, predicting consumer purchases); Unsupervised learning (e.g. clustering customers by behaviour without predefined labels); Reinforcement learning (e.g. training a game-playing agent by rewarding good moves).

#21
Front (Question)

What is the difference between classification and regression in supervised learning?

Back (Answer)

Classification learns a decision boundary that divides data into distinct classes (e.g. spam/not spam). Regression learns a continuous function to predict a numerical output (e.g. predicting house prices).

#22
Front (Question)

What is a decision tree, and how does it differ from a neural network?

Back (Answer)

A decision tree is a non-neural supervised learning method that represents complex logical functions by splitting data on feature values. It is learned using algorithms like ID3. Unlike neural networks, it does not use weights or gradient descent.

#23
Front (Question)

Give four real-world examples of supervised learning.

Back (Answer)

1) Identifying venomous snakes from photos. 2) Recognising handwritten or printed letters. 3) Predicting what products a website visitor will buy. 4) Detecting tumours in MRI scans.