Adaptive EEG-based stroke diagnosis with a GRU-TCN classifier and deep Q-learning thresholding