The invention relates to the technical field of
sleep staging, in particular to a brain wave-based
sleep staging model training method and
system. Comprising the following steps: acquiring a sleep
label sequence, identifying a switching position, clustering and constructing a conversion section, extracting
signal analysis amplitude and
rhythm, screening
mutation fragments, extracting standard training fragments, organizing a
tensor sequence, establishing a
numbering relationship, dividing training batches, and generating a
task list. According to the method, by recognizing the
change points of the electroencephalogram tag and clustering the
change points, a dense region of stage conversion can be positioned, the recognition of a critical state is enhanced, the trend judgment of the interval between the
rhythm amplitude and the
peak value is combined, stable and representative signals are screened out from the change, the sample effectiveness is improved, and unified
processing of channels and duration is carried out on
signal segments;
standardization of input data is guaranteed, the
time sequence capturing capacity of the model is enhanced in a serial number arrangement and sequence combination mode, data and labels are ensured to be consistent through unified division rules, and classification accuracy and generalization capacity are improved.