Topic 20 Flashcards

(9 cards)

1
Q

Confusion Matrix

A

A table that counts the number of predictions of each class divided up by the actual class labels):

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

Precision

A

number of true positives /
number of true positives + number of false positives (accuracy of the model predicting yes)

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

Recall / Sensitivity

A

number of true positives /
number of true positives + number of false negatives (proportion of yes that were predicted correctly)

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

F1 Score

A

2 ∗ precision × recall /
precision + recall

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

Cohen’s Kappa

A

k = 1 - 1-p0 / 1-pe where po is the proportion of times our model is correct and pe is the propotion of times a random model is correct

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

Specificity

A

Number of true negatives / number of true negatives + number of false positives (accuracy of the model predicting no)

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

Accuracy

A

number of true positives + number of true negatives /
number of true positives + number of true negatives+number of false positives + number of false negatives (combination of precision, recall and specificity)

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

ROC Curve

A

A plot considering every possible decision boundary and comparing the true positive and false positive rate

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

Area Under the Curve (AUC) for ROC Curve

A

The proportion of 1x1 unit square that falls below the ROC curve (higher is better)

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