A method of subject-adaptive, real-time sleep stage classification to
classify electroencephalogram sleep recordings into sleep stages to
determine whether a subject exhibits a sleep disorder includes performing
subject adaptation to improve classification accuracy for a new subject
with limited training data, the performing subject adaptation comprises
using linear-chain conditional random fields and potential functions,
training the linear-chain conditional random fields using the training
data, continuously receiving the electroencephalogram waves, continuously
extracting features from the electroencephalogram waves, the extracting
features comprising transforming each of the electroencephalogram waves
to capture information embedded in the electroencephalogram waves, and
continuously classifying the sleep stages according to extracted features
and learned parameters from the linear-chain conditional random fields.