Skip to main content

Table 2 Confusion matrices of 7 models

From: Machine learning models for prediction of invasion Klebsiella pneumoniae liver abscess syndrome in diabetes mellitus: a singled centered retrospective study

Confusion matrix

Actual

Prediction

Negative

Positive

SVM

Negative

52

4

Positive

1

7

LR

Negative

49

7

Positive

1

7

RF

Negative

53

3

Positive

4

4

XGB

Negative

55

1

Positive

4

4

ANN

Negative

51

5

Positive

5

3

DT

Negative

37

19

Positive

1

7

KNN

Negative

56

0

Positive

6

2