Skip to main content
. 2022 Dec 9;4:1058826. doi: 10.3389/fdgth.2022.1058826

Table 3.

Metrics for each trained model.

Random forest Support vector machine
Items Precision Recall F1-Score Precision Recall F1-Score Support
  No Stress 0.58 0.66 0.61 0.58 0.58 0.58 359
Complete Dataset Stress 0.52 0.43 0.47 0.50 0.51 0.51 306
  Accuracy 0.55 0.54 665
  Weighted Average 0.55 0.55 0.55 0.54 0.54 0.54 665
  No Stress 0.59 0.73 0.65 0.57 0.57 0.57 283
Healthy Subjects Stress 0.50 0.34 0.40 0.45 0.45 0.45 221
  Accuracy 0.56 0.52 504
  Weighted Average 0.55 0.56 0.54 0.52 0.52 0.52 504
  No Stress 0.64 0.88 0.74 0.63 0.75 0.69 95
Subjects Aged 18–24 Stress 0.50 0.19 0.27 0.43 0.31 0.36 59
Accuracy 0.62 0.58 154
  Weighted Average 0.58 0.62 0.56 0.56 0.58 0.56 154
  No Stress 0.39 0.16 0.23 0.42 0.14 0.22 69
Subjects Aged 25–34 Stress 0.67 0.87 0.76 0.67 0.89 0.77 133
  Accuracy 0.63 0.64 202
  Weighted Average 0.57 0.63 0.58 0.58 0.64 0.58 202
  No Stress 0.69 0.91 0.78 0.68 0.67 0.68 116
Subjects Aged 35–44 Stress 0.61 0.26 0.37 0.43 0.45 0.44 65
  Accuracy - - 0.67 - - 0.59 181
  Weighted Average 0.66 0.67 0.63 0.59 0.59 0.53 181
  No Stress 0.70 0.84 0.76 0.68 0.86 0.76 50
Subjects Aged 45–64 Stress 0.53 0.33 0.41 0.50 0.26 0.34 27
  Accuracy 0.66 0.65 77
  Weighted Average 0.64 0.66 0.64 0.62 0.65 0.61 77
  No Stress 0.64 0.68 0.66 0.57 0.56 0.57 95
Male Participants Stress 0.62 0.58 0.60 0.52 0.53 0.52 85
  Accuracy 0.63 0.55 180
  Weighted Average 0.63 0.63 0.63 0.55 0.55 0.55 180
  No Stress 0.59 0.55 0.57 0.59 0.67 0.63 250
Female Participants Stress 0.52 0.56 0.53 0.55 0.47 0.50 214
  Accuracy 0.55 0.58 464
  Weighted Average 0.56 0.55 0.55 0.57 0.58 0.57 464
  No Stress 0.62 0.74 0.68 0.64 0.63 0.64 180
Low SES Participants Stress 0.45 0.32 0.37 0.45 0.45 0.45 118
  Accuracy 0.57 0.56 298
  Weighted Average 0.55 0.57 0.56 0.56 0.56 0.56 298
  No Stress 0.53 0.42 0.47 0.55 0.48 0.51 161
Medium and High SES Participants Stress 0.53 0.64 0.58 0.55 0.62 0.58 167
  Accuracy 0.53 0.55 328
  Weighted Average 0.53 0.53 0.52 0.55 0.55 0.55 328
  No Stress 0.57 0.51 054 0.60 0.54 0.56 134
Students Stress 0.54 0.60 0.57 0.56 0.62 0.59 128
  Accuracy 0.55 0.58 262
  Weighted Average 0.56 0.55 0.55 0.58 0.58 0.58 262
  No Stress 0.55 0.69 0.61 0.56 0.69 0.62 200
Workers Stress 0.49 0.35 0.41 0.52 0.39 0.45 170
  Accuracy 0.53 0.55 370
  Weighted Average 0.52 0.53 0.52 0.54 0.55 0.54 370