Two novel methods to detect apnea–hypopnea events are presented. Sparse representations of only pulse oximetry signals are used. Discriminative information of sparse coefficients is successfully extracted. A neural network for detecting apnea–hypopnea events is used.