A concept-bottleneck framework for auditing hypnogram-derived continuous sleep-depth proxies from single-channel EEG
Description
This repository contains Python code and frozen result manifests for the study "A concept-bottleneck framework for auditing hypnogram-derived continuous sleep-depth proxies from single-channel EEG." The code implements EEG feature extraction (31 spectral/temporal/nonlinear features), CSDR construction from hypnogram transition and duration dynamics, SleepCBM training with sign-constrained concept bottlenecks, and all statistical analyses including cross-validation, counterfactual interventions, and external transportability evaluation. This is a code-only deposit; no clinical recordings or participant-level data are included. Sleep-EDF Expanded data must be obtained separately from PhysioNet; external Computedics recordings are not shared due to privacy restrictions.