Skip to content
sleepKIT
User guide
HELIA

Feature Set: FS-C-EAR-9

This feature set is targeted for sleep stage classification based on sensor data available from chest location. The feature set computes heart rate (HR), heart rate variability (HRV), movement, and respiratory rate features over temporal windows (e.g. 30 seconds) captured from ECG, respiratory and accelerometer sensors.

The target location for this feature set is the chest. From this location, the features are compute from the following raw sensors:

  • ECG: Electrocardiography (ECG) sensor data is used to compute HR, HRV, and respiratory rate features.
  • RSP: Respiratory sensor data is used to compute respiratory rate features.
  • IMU: Accelerometer data is used to compute movement features.
  • MESA: This dataset does not directly provide accelerometer data from the chest. However, the dataset does provide respiratory signals (RIP) captured from both chest and abdomen. In place of accelerometer data, we use filtered chest respiratory signals as a proxy for body movement features.

This feature set includes the following 9 features:

Feature NameDescriptionSensor
hrv_td_mean_nnMean of the NN intervalsECG
hrv_td_sd_nnStandard deviation of the NN intervalsECG
hrv_td_median_nnMedian of the NN intervalsECG
hrv_fd_lfhf_ratioRatio of low frequency to high frequency power in the frequency domainECG
mov_muMean movementIMU
mov_stdStandard deviation of movementIMU
mov_medMedian movementIMU
rsp_bpmMean respiration rate derived from the respiratory signalRSP
hrv_qosQuality of signal derived from HRVECG

The feature set is stored as HDF5 files (.h5) with one file per subject with path: {save_path}/{dataset}/{subject_id}.h5. Each HDF5 file includes the following entries:

  • /features: Time x Feature tensor (fp32). Features are computed over windows of sensor data.
  • /mask: Time x Mask tensor (bool). Mask indicates valid feature values.
  • /stage_labels: Time x Label (int). Labels are sleep stages.