Table 4. Comparison of performance for logistic regression and random forest.
Characteristics | Logistic regression | Random forest |
---|---|---|
Accuracy | 0.902 | 0.843 |
Positive predictive rate | 0.936 | 0.84 |
Negative predictive rate | 0.873 | 0.846 |
No. of true positive/false negative | 264/18 | 257/49 |
No. of true negative/false positive | 288/42 | 259/47 |
Sensitivity | 0.863 | 0.845 |
Specificity | 0.941 | 0.841 |
F1 score | 0.898 | 0.843 |
Out of bag error estimate (%) | - | 15.69 |