“…To ensure that the algorithm can handle various scenarios, we need to pre-establish a dictionary that includes all possible label patterns and their corresponding outcomes. In this dictionary processing, as an example, (1,3,4,7) represent the severity fatigue level and (1, 3, 5, 7), (1,3,5,6) and (1,3,4,6) represent the mild fatigue level, and the others are normal driving situations, as shown in Figure 5. In this study, there are four types: EEG, ECG, image recognition (hand-phone detection and lane departure detection).…”