The invention discloses an electroencephalogram
sleep staging method fusing a space diagram and time-frequency hierarchical attention, which comprises the following steps of: preprocessing a polysomnogram
data set, extracting time-frequency characteristics, and constructing and fusing a self-adaptive diagram
convolution module of a static diagram structure, a dynamic diagram structure and a learnable diagram structure; space graph
convolution features are extracted through a graph
convolution neural network; a time-frequency
feature extraction module is used for
conducting channel sensing position coding, multi-head attention time modeling and multi-scale frequency convolution
processing on the space graph convolution features, and time-frequency multi-scale features are obtained; and performing multi-dimensional aggregation and calibration on the time-frequency multi-scale features through an attention
pooling module, and finally inputting the time-frequency multi-scale features into a classification head network to obtain a
sleep staging result. According to the method, the problems of low
sleep staging accuracy and poor robustness caused by neglecting of an
electrode space topological relation, insufficient time-frequency feature utilization and simple multi-
modal fusion in an existing method are solved, and the staging accuracy and
interpretability are remarkably improved.