Skip to content
sleepKIT
User guide
HELIA

Feature Set: FS-W-PA-14

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

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

  • PPG: Dual photoplethysmography (PPG) sensor data is used to compute HR, HRV, SpO2, and respiratory rate features.
  • Accelerometer: Accelerometer data is used to compute movement features.
  • MESA: This dataset does not directly provide dual PPG nor Accelerometer data from the wrist. However, the dataset does provide SpO2 and single channel PPG which is sufficient for PPG derived features. In place of Accelerometer data, we use leg movement as a proxy for arm movement features.

This feature set includes the following 14 features:

Feature NameDescriptionSensor
hr_bpmMean heart rate in beats per minutePPG
hrv_td_mean_nnMean of the NN intervalsPPG
hrv_td_sd_nnStandard deviation of the NN intervalsPPG
hrv_td_median_nnMedian of the NN intervalsPPG
hrv_fd_lfhf_ratioRatio of low frequency to high frequency power in the frequency domainPPG
spo2_muMean SpO2PPG
spo2_stdStandard deviation of SpO2PPG
spo2_medMedian SpO2PPG
mov_muMean movementACC
mov_stdStandard deviation of movementACC
mov_medMedian movementACC
rsp_bpmMean respiration rate derived from the PPG signalPPG
spo2_qosQuality of signal derived from SpO2PPG
hrv_qosQuality of signal derived from HRVPPG

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.
  • /apnea_labels: Time x Label (int). Labels are apnea events.