Lecture 6 - Machine Learning Flashcards

1
Q

What is the training process in machine learning?

A

The training process is an iterative optimization problem. This leaves us with the “best” model we can get.

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

How do we measure a classification models performance?

A

Accuracy
Precision
Recall
F-1 Score

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

How do we measure a linear regression models performance?

A

Mean Squared Error (MSE)

R2 score

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

What is accuracy?

A

Correct / total

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

What are some weaknesses of accuracy?

A

Does not discriminate between type I and type II errors, does not handle class imbalance

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

What is precision?

A

True positives / Truepositives + Falsepositives

It is the fraction of relevant instances among the retrieved instances.

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

What is recall?

A

True positiveness / truepositive + falsenegative

Recall is the fraction of relevant instances that have been retrieved over the total amount of relevant instances.

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

What is F-1 Score?

A

2 (( Precision * recall) / (precision + Recall)

Pros: It’s a single number that captures a lot of detail Cons: It’s a single number that captures a lot of detail, so some is lost or “glossed over”

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

What is a Type I error?

A

A false positive

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

What is a Type II error?

A

A false negative

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

What is overfitting?

A

Abstractly, overfitting is when you come close to “memorizing” your data set. It means you perform very well on the training data set, but your model doesn’t generalize well to unseen data

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