that condition, the model might have to be re-trained
or fine-tuned.
5 CONCLUSIONS
This paper proposed an automatic sleep scoring
toolbox that supported four types of sleep signals and
two data formats. The toolbox provided an interface
for user-friendly operation. Sleep recordings could be
automatically analysed to reveal multiple sleep
parameters and sleep quality index. A layer-wise
classification strategy was proposed to improve the
classification accuracy of minority stages. In
addition, a Hidden Markov Model was used to make
classification results logic. Compared with manual
scoring, the proposed automatic scoring toolbox is
cost-effective, which would alleviate the burden of
the physicians, speed up sleep scoring and expedite
sleep research.
ACKNOWLEDGEMENTS
The authors would like to thank the SHHS for
providing the polysomnographic data. This work was
supported by the scholarships from China
Scholarship Council (Nos. 201606060227).
REFERENCES
Berry, R.B., Budhiraja, R., Gottlieb, D.J., Gozal, D., Iber,
C., Kapur, V.K., Marcus, C.L., Mehra, R.,
Parthasarathy, S., Quan, S.F. and Redline, S., 2012.
Rules for scoring respiratory events in sleep: update of
the 2007 AASM manual for the scoring of sleep and
associated events. Journal of clinical sleep
medicine, 8(05), pp.597-619.
Biswal, S., Kulas, J., Sun, H., Goparaju, B., Westover,
M.B., Bianchi, M.T. and Sun, J., 2017. SLEEPNET:
automated sleep staging system via deep
learning. arXiv preprint arXiv:1707.08262.
Boostani, R., Karimzadeh, F. and Nami, M., 2017. A
comparative review on sleep stage classification
methods in patients and healthy individuals. Computer
methods and programs in biomedicine, 140, pp.77-91.
Chen, T., Huang, H., Pan, J. and Li, Y., 2018, May. An
EEG-based brain-computer interface for automatic
sleep stage classification. In 2018 13th IEEE
Conference on Industrial Electronics and Applications
(ICIEA) (pp. 1988-1991). IEEE.
Danker‐hopfe, H., Anderer, P., Zeitlhofer, J., Boeck, M.,
Dorn, H., Gruber, G., Heller, E., Loretz, E., Moser, D.,
Parapatics, S. and Saletu, B., 2009. Interrater reliability
for sleep scoring according to the Rechtschaffen &
Kales and the new AASM standard. Journal of sleep
research, 18(1), pp.74-84.
Dimitriadis, S.I., Salis, C. and Linden, D., 2018. A novel,
fast and efficient single-sensor automatic sleep-stage
classification based on complementary cross-frequency
coupling estimates. Clinical Neurophysiology, 129(4),
pp.815-828.
Dubnov, S., 2004. Generalization of spectral flatness
measure for non-gaussian linear processes. IEEE Signal
Processing Letters, 11(8), pp.698-701.
Ebrahimi, F., Setarehdan, S.K. and Nazeran, H., 2015.
Automatic sleep staging by simultaneous analysis of
ECG and respiratory signals in long
epochs. Biomedical Signal Processing and Control, 18,
pp.69-79.
Gharbali, A.A., Najdi, S. and Fonseca, J.M., 2018.
Investigating the contribution of distance-based
features to automatic sleep stage
classification. Computers in biology and medicine, 96,
pp.8-23.
Hassan, A.R., Bashar, S.K. and Bhuiyan, M.I.H., 2015,
August. On the classification of sleep states by means
of statistical and spectral features from single channel
electroencephalogram. In 2015 International
Conference on Advances in Computing,
Communications and Informatics (ICACCI) (pp. 2238-
2243). IEEE.
Hassan, A.R. and Bhuiyan, M.I.H., 2016. A decision
support system for automatic sleep staging from EEG
signals using tunable Q-factor wavelet transform and
spectral features. Journal of neuroscience
methods, 271, pp.107-118.
Hassan, A.R. and Bhuiyan, M.I.H., 2016. Automatic sleep
scoring using statistical features in the EMD domain
and ensemble methods. Biocybernetics and Biomedical
Engineering, 36(1), pp.248-255.
Hassan, A.R. and Bhuiyan, M.I.H., 2016. Computer-aided
sleep staging using complete ensemble empirical mode
decomposition with adaptive noise and bootstrap
aggregating. Biomedical Signal Processing and
Control, 24, pp.1-10.
Hermawan, I., Alvissalim, M.S., Tawakal, M.I. and
Jatmiko, W., 2012, December. An integrated sleep
stage classification device based on electrocardiograph
signal. In 2012 International Conference on Advanced
Computer Science and Information Systems
(ICACSIS) (pp. 37-41). IEEE.
Imtiaz, S.A. and Rodriguez-Villegas, E., 2014. A low
computational cost algorithm for REM sleep detection
using single channel EEG. Annals of biomedical
engineering, 42(11), pp.2344-2359.
Lazaro, A., Sarno, R., Andre, R.J. and Mahardika, M.N.,
2017, October. Music tempo classification using audio
spectrum centroid, audio spectrum flatness, and audio
spectrum spread based on MPEG-7 audio features.
In 2017 3rd International Conference on Science in
Information Technology (ICSITech)(pp. 41-46). IEEE.
Li, X., Cui, L., Tao, S., Chen, J., Zhang, X. and Zhang,
G.Q., 2017. Hyclasss: A hybrid classifier for automatic