intro to deep learing Flashcards

(27 cards)

1
Q

What is the goal of supervised learning?

A

To learn a function that maps inputs to outputs using labeled data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the model output in supervised learning?

A

A prediction ŷ for a given input x.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are θ in supervised learning models?

A

The parameters (weights, biases) the model learns during training.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is inference in supervised learning?

A

Making a prediction using the learned function on new input data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the loss function measure?

A

How far the predicted value ŷ is from the actual output y.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the total loss over a dataset?

A

The sum of individual losses across all training examples.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is the model trained?

A

By adjusting parameters to minimize the total loss using optimization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does gradient descent do in training?

A

It updates model parameters in the direction that reduces the loss.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does η (eta) represent in gradient descent?

A

The learning rate, which controls the step size of updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does overfitting mean in supervised learning?

A

The model fits training data well but performs poorly on new data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is underfitting?

A

When the model is too simple to capture patterns in the training data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is generalization?

A

The model’s ability to perform well on unseen (test) data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of a test set?

A

To evaluate how well the model generalizes beyond training data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why can’t we just brute-force all parameters in training?

A

The parameter space is too large in realistic models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why don’t we solve models analytically?

A

Because complex models (e.g., deep nets) lack closed-form solutions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the model in 1D linear regression?

A

ŷ = θ₀ + θ₁x

17
Q

What loss function is used in linear regression?

A

Squared error: (y - ŷ)²

18
Q

What does each data point in the dataset provide?

A

A training pair (xᵢ, yᵢ) for learning the function.

19
Q

What does the term ‘model family’ mean?

A

A set of functions defined by the form of f(x; θ)

20
Q

What do we do in the training phase?

A

Fit the model to data by minimizing loss using labeled examples.

21
Q

What is the role of θ₀ and θ₁ in a linear model?

A

θ₀ is the intercept, and θ₁ is the slope of the line.

22
Q

What is the optimization objective in supervised learning?

A

Minimize the loss function over all training samples.

23
Q

What do we mean by testing a model?

A

Evaluating its performance on data it hasn’t seen before.

24
Q

What happens if we don’t include a loss function?

A

The model has no criterion for learning from mistakes.

25
What is a key risk of too complex a model?
It may memorize the training data (overfitting).
26
What type of output does regression aim to predict?
Continuous values.
27
What type of output does classification aim to predict?
Discrete class labels.