Module 3 - Interactive Data and Insight Flashcards

(7 cards)

1
Q

What is accuracy and what is the formula?

A

Measures how frequently the classifier is correct, with respect to a fixed test set with known labels.

Accuracy = The number of correctly classified test instances (True negs and positives) / total number of test instance

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

What is the formula for error rate?

A

The error rate is 1 - Accuracy, shows

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

What is precision and what is its formula?

A

Precision is how often are we correct when we predict that an instance is positive.

TP / (TP+FP)

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

What is recall and what is the formula for it?

A

Recall is what proportion of the truly positive instances have we correctly identified as positive

Recall = TP / (TP + FN)

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

What is the F-Score and what is the formula used to calculate it?

A

Represents the harmonic mean of both precision and recall, representing these two statistics as one.

F-Score = F1 = 2PR / (P + R)

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

What is the Kappa Statistic? What is the formula to calculate it?

A

Used to measure the level agreement between to raters or classifiers.

K = (po - pe) / (1 - pe)

Where po is relative observed agreement among raters

Where pe is hypothetical probability of chance agreement.

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

Calculate Kappa coefficient for the following table

      YES NO YES    25   10 NO    15   20
A

k = (po – pe) / (1 – pe)
k = (0.6429 – 0.5) / (1 – 0.5)
k = 0.2857

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