Table 3.
Confusion matrix of random forest prediction algorithm for predicting next step vigilance state in time 1–12 hours
| B | D | E | G | H | |
|---|---|---|---|---|---|
| B | 826 | 0 | 0 | 12 | 0 |
| D | 0 | 505 | 88 | 0 | 0 |
| E | 0 | 153 | 815 | 0 | 0 |
| G | 0 | 0 | 0 | 701 | 168 |
| H | 0 | 0 | 0 | 4 | 3 |
Self-transitions were excluded, as these resulted in significant class imbalance predictions as they far outnumbered the vigilance state transitions.