The invention belongs to the technical field of medical
signal processing and
deep learning, and particularly relates to a ballistocardiogram
signal data enhancement method and
system based on BiLSTM-GAN, and the method comprises the steps: S1, carrying out the Butterworth band-pass filtering of a preset
frequency band on an original ballistocardiogram
signal, and outputting a first signal; s2, performing down-sampling
processing on the first signal to a preset sampling rate, and outputting a second signal; s3, segmenting the second signal into segments with a preset length, labeling categories, and outputting BCG signal segments subjected to band-pass filtering; s4, constructing a BiLSTM-GAN model on the basis of the BCG signal fragments subjected to the band-pass filtering; s5, taking the BCG signal segments subjected to band-pass filtering as training data, and training the BiLSTM-GAN model based on a triple
loss function including reconstruction loss, supervision loss and adversarial loss; s6, generating an enhanced BCG signal fragment; and S7, generating equivalent enhanced BCG signal fragments, and outputting a balanced
data set. The technical problem of sample scarcity caused by
class imbalance in medical BCG signals can be solved.