Skip to content

Commit 70634f3

Browse files
period in formula cls2 py bug hunt
1 parent 68cb5d9 commit 70634f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classification2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ it classified 3 malignant observations as benign, and 4 benign observations as
159159
malignant. The accuracy of this classifier is roughly
160160
89%, given by the formula
161161

162-
$$\mathrm{accuracy} = \frac{\mathrm{number \; of \; correct \; predictions}}{\mathrm{total \; number \; of \; predictions}} = \frac{1+57}{1+57+4+3} = 0.892$$
162+
$$\mathrm{accuracy} = \frac{\mathrm{number \; of \; correct \; predictions}}{\mathrm{total \; number \; of \; predictions}} = \frac{1+57}{1+57+4+3} = 0.892.$$
163163

164164
But we can also see that the classifier only identified 1 out of 4 total malignant
165165
tumors; in other words, it misclassified 75% of the malignant cases present in the

0 commit comments

Comments
 (0)