Applying ML Flashcards

Exam2

1
Q

Should you use the training, validation, or test set of data to choose the final model?

A

You should use the validation set of data because it provides an independent evaluation of the final model’s performance

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

Should you use the training, validation, or test set of data to report the accuracy of your model?

A

You should use the test set of data because it provides a more reliable assessment of how well your model performs on unseen data

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

What does the training and testing error look like in a high bias model?

A

Both the training and test errors are HIGH

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

What does the training and testing error look like in a high variance model?

A

The training error is LOW, and the testing error is HIGH

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

What does the training and testing error look like in a model with both high bias and high variance

A

The training error is HIGH, and testing error is GREATER than the training error

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

High Variance

A

Overfit

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

High Bias

A

Underfit

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

Can you use regularization in a neural network? What does it do?

A

YES, regularization can be used to prevent overfitting by using lambda

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

Name 3 things to try to improve a model with high bias

A
  1. Try getting additional features
  2. Try adding polynomial features
  3. Try decreasing lambda
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name 3 things to try to improve a model with high variance

A
  1. Get more training examples
  2. Try smaller sets of features
  3. Try increasing lambda
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Adding data to a model with high bias won’t help. Why?

A

This won’t help because high bias indicates the model is too simplistic and unable to capture the underlying patterns in the data, regardless of the amount of data available.

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

Should you increase or decrease lambda used in regularization for a model with high variance?

A

Increase lambda to penalize overfitting

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