C1 Flashcards

1
Q

3 types of machine learning

A
  • supervised learning
  • reinforcement learning
  • unsupervised learning
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

supervised learning

A
  • learning from example + label
  • database learning
  • (image, label) –> correct?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

reinforcement learning

A
  • learning by interaction
  • (state, action) –> reward number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

unsupervised learning

A
  • learning without examples, from inherent measures
  • database learning
  • clustering, data compression, dimensionality reduction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

machine learning

A

learning a function (function approximation/reverse-engineering a function)
- iterative minimization process of error between learned function f and data labels
- regression loss: L = mse
- categorization loss: L = - sum (y log f)

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

high bias

A

the model is too simple, so it underfits

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

high variance

A

the model is too complex (too many parameters), so it overfits

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

end-to-end learning

A

feature engineering is included in the model, no need to do human preprocessing

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

what are RNNs used for?

A

They work well for sequences, such as natural language
- has state: it can remember a situation

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

CNN

A
  • spatial hierarchy
  • sparsely connected layers: filters share weights
  • pooling layers reduce dimensionality even more
  • reduce overfitting
  • unfolding layers
  • suffers from the vanishing gradient problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

LSTM

A

better version of RNN: suffers less from the vanishing gradient problem

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

what is intelligence?

A

being able to learn and memorize

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

what is accuracy?

A

the true positives plus the true negatives, divided by all observations (computed over the training data and over the test data)

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

what is the confusion matrix?

A

a depiction of how the tp’s, tn’s, fp’s and fn’s are related and the precision and recall

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

what is overfitting?

A

when the model learns too much about the training set

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

what is generalization?

A

when the model has high accuracy on the test set

17
Q

what is regularization?

A

avoiding for the model to overfit

18
Q

what is loss?

A

the difference between the expected output and the estimated output?

19
Q

what is ImageNet?

A

a huge database of images designed for object recognition

20
Q

what is PyTorch?

A

a deep learning framework