Table 1: Confusion Matrix for RR series classified into corresponding sleep stages.

Predicted|Actual 0 1 2 3 4 5
0 938 0 164 0 0 36
1 67 0 8 0 0 0
2 112 0 1973 82 0 13
3 6 0 77 1219 0 3
4 0 0 0 0 0 0
5 0 0 3 2 0 295