Skip to main content
. 2022 Sep 13;6(9):e36130. doi: 10.2196/36130

Table 4.

Accuracy, precision, recall, and F1 scores for the test set, ranked by the F1 score.

Rank Model Accuracy Precision Recall F1
1 LASSOa 0.902 0.467 0.515 0.490
2 Random forest 0.923 0.628 0.397 0.486
3 Logistic regression 0.906 0.485 0.485 0.485
4 GBMb 0.901 0.466 0.500 0.482
5 Decision tree 0.895 0.429 0.441 0.435
6 Ridge 0.908 0.500 0.426 0.460

aLASSO: least absolute shrinkage and selection operator.

bGBM: gradient boosting machine.