Skip to main content
. 2022 Jan 17;12(1):e048397. doi: 10.1136/bmjopen-2020-048397

Table 4.

Best-performing classifier detailed metrics

Classifier Accuracy Recall Precision F1
Housing status* Support vector machine (n=1) 0.92 0.93/0.91 (0/1) 0.94/0.90 0.93/0.91
Tobacco use† Logistic regression (n=1–2) 0.85 0.82/0.95/0.86
(0,1,2)
0.96/0.43/0.87
(0,1,2)
0.88/0.60/0.87
(0,1,2)
Alcohol use† Logistic regression (n=1–2) 0.83 0.86/0.73/0.81
(0,1,2)
0.93/0.44/0.88
(0,1,2)
0.89/0.55/0.84
(0,1,2)

*0:no use, 1: current use.

†0:no use, 1: rare/occasional/history, 2: current use.