The invention belongs to the field of medical
signal processing, provides a dual-mode
epilepsy prediction method based on lightweight dynamic comparison calculation, and solves the problems of low prediction accuracy and computing resource waste caused by high-dimensional redundancy, channel
noise interference and insufficient
modal interaction in multi-mode
epilepsy prediction. And a new thought is provided for establishing an efficient and stable prediction mechanism. According to the method, a complete
epilepsy prediction framework is designed and comprises weight channel optimization, bimodal feature enhancement, self-
supervised training and multi-dimensional performance evaluation, and a TUH
data set is used for training and testing according to the proportion of 4: 1. Through a
dynamic channel selection module, a
time domain alignment module and a self-adaptive
noise suppression module, the
signal quality and the model reasoning efficiency are improved; a lightweight dual-mode convolutional network fusing EEG and ECG is constructed, and dynamic
signal features in the early stage of epilepsy are extracted in combination with multi-layer
feature fusion and decision dimension reduction structures. In the model training, a self-supervision mechanism with contrast loss as a core is adopted, and the epilepsy symptom distinguishing ability is enhanced; based on a prediction efficiency index (PEI) and a sensitivity and specificity multi-index
evaluation system, the generalization ability and stability of the model are improved. Through multiple rounds of testing and
fine tuning, the method shows relatively high accuracy, robustness and expandability in an actual epilepsy prediction task.