Advertisement

Personalized model to predict seizures based on dynamic and static continuous EEG monitoring data

Published:September 09, 2022DOI:https://doi.org/10.1016/j.yebeh.2022.108906

      Abstract

      Background/Objective

      Early recognition of patients who may be at risk of developing acute symptomatic seizures would be useful. We aimed to determine whether continuous electroencephalography (cEEG) data using machine learning techniques such as neural networks and decision trees could predict seizure occurrence in hospitalized patients.

      Methods

      This was a single center retrospective cohort analysis of cEEG data in patients aged 18–90 years who were admitted and underwent cEEG monitoring between 2010 and 2019 limited to 72 h excluding those who were seizing at the onset of recording. A total of 41,491 patients were reviewed; of these, 3874 were used to develop the static model and 1687 to develop the dynamic model (half with seizure and half without seizure in each cohort). Of these, 80% were randomly selected as derivation cohorts for each model and 20% were randomly selected as validation cohorts. Dynamic and static machine learning models (long short term memory (LSTM) and Extreme Gradient Boosting algorithm (XGBoost)) based on day-to-day dynamic EEG changes and binary static EEG features over the prior 72 h or until seizure, which ever was earlier, were used.

      Results

      The static model was able to predict seizure occurrence based on cEEG data with sensitivity and specificity of 0.81 and 0.59, respectively, with an AUC of 0.70. The dynamic model was able to predict seizure occurrence with sensitivity and specificity of 0.72 and 0.80, respectively, and AUC of 0.81.

      Conclusions

      Machine learning models could be applied to cEEG data to predict seizure occurrence based on available cEEG data. Dynamic day-to-day EEG data are more useful in predicting seizures than binary static EEG data. These models could potentially be used to determine the need for ongoing cEEG monitoring and to prioritize resources.

      Keywords

      To read this article in full you will need to make a payment

      Purchase one-time access:

      Academic & Personal: 24 hour online accessCorporate R&D Professionals: 24 hour online access
      One-time access price info
      • For academic or personal research use, select 'Academic and Personal'
      • For corporate R&D use, select 'Corporate R&D Professionals'

      Subscribe:

      Subscribe to Epilepsy & Behavior
      Already a print subscriber? Claim online access
      Already an online subscriber? Sign in
      Institutional Access: Sign in to ScienceDirect

      References

        • Claassen J.
        • Mayer S.A.
        • Kowalski R.G.
        • Emerson R.G.
        • Hirsch L.J.
        Detection of electrographic seizures with continuous EEG monitoring in critically ill patients.
        Neurology. 2004; 62: 1743-1748
        • Friedman D.
        • Claassen J.
        • Hirsch L.J.
        Continuous electroencephalogram monitoring in the intensive care unit.
        Anesth Analg. 2009; 109: 506-523
        • Gavvala J.
        • Abend N.
        • LaRoche S.
        • Hahn C.
        • Herman S.T.
        • Claassen J.
        • et al.
        Continuous EEG monitoring: a survey of neurophysiologists and neurointensivists.
        Epilepsia. 2014; 55: 1864-1871
        • Newey C.R.
        • Kinzy T.G.
        • Punia V.
        • Hantus S.
        Continuous electroencephalography in the critically ill: clinical and continuous electroencephalography markers for targeted monitoring.
        J Clin Neurophysiol. 2018; 35: 325-331
        • Punia V.
        • Bena J.
        • Krishnan B.
        • Newey C.
        • Hantus S.
        New onset epilepsy among patients with periodic discharges on continuous electroencephalographic monitoring.
        Epilepsia. 2018; 59: 1612-1620
        • Chen P.H.
        • Liu Y.
        • Peng L.
        How to develop machine learning models for healthcare.
        Nat Mater. 2019; 18: 410
        • Bhardwaj R.
        • Nambiar A.R.
        • Dutta D.
        A study of machine learning in healthcare.
        in: 2017 IEEE 41st annual computer software and applications conference (COMPSAC). IEEE, 2017: 236-241
        • Kaur P.
        • Sharma M.
        • Mittal M.
        Big data and machine learning based secure healthcare framework.
        Procedia Comput Sci. 2018; 1: 1049-1059
        • Amin H.U.
        • Malik A.S.
        • Ahmad R.F.
        • Badruddin N.
        • Kamel N.
        • Hussain M.
        • et al.
        Feature extraction and classification for EEG signals using wavelet transform and machine learning techniques.
        Australas Phys Eng Sci Med. 2015; 38: 139-149
        • Hosseinifard B.
        • Moradi M.H.
        • Rostami R.
        Classifying depression patients and normal subjects using machine learning techniques and nonlinear features from EEG signal.
        Comput Methods Programs Biomed. 2013; 109: 339-345
        • Subasi A.
        • Kevric J.
        • Canbaz M.A.
        Epileptic seizure detection using hybrid machine learning methods.
        Neural Comput Appl. 2019; 31: 317-325
        • Struck A.F.
        • Rodriguez-Ruiz A.A.
        • Osman G.
        • Gilmore E.J.
        • Haider H.A.
        • Dhakar M.B.
        • et al.
        Comparison of machine learning models for seizure prediction in hospitalized patients.
        Ann Clin Transl Neurol. 2019; 6: 1239-1247
        • Chen T.
        • Guestrin C.
        Xgboost: A scalable tree boosting system.
        in: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. KDD, 2016: 785-794
        • Hochreiter S.
        • Schmidhuber
        • J“urgen
        Long short-term memory.
        Neural Comput. 1997; 9: 1735-1780
        • Burgess R.
        • Wooledge G.
        • Nair D.
        A systematic classification and consistent reporting mechanism yields high inter-rater EEG Agreement (P4. 073).
        Neurology. 2016; 86 (P4.073)
        • Hirsch L.J.
        • LaRoche S.M.
        • Gaspard N.
        • Gerard E.
        • Svoronos A.
        • Herman S.T.
        • et al.
        American clinical neurophysiology society’s standardized critical care EEG terminology: 2012 version.
        J Clin Neurophysiol. 2013; 30: 1-27
        • Beniczky S.
        • Hirsch L.J.
        • Kaplan P.W.
        • Pressler R.
        • Bauer G.
        • Aurlien H.
        • et al.
        Unified EEG terminology and criteria for nonconvulsive status epilepticus.
        Epilepsia [Online Serial]. 2013; 54: 28-29
        • Acharya J.
        • Benickzy S.
        • Caboclo L.
        • Finnigan S.
        • Kaplan P.W.
        • Shibasaki H.
        • Pressler R.
        • van Putten M.J.A.M.
        A revised glossary of terms most commonly used by clinical electroencephalographers and updated proposal for the report format of the EEG findings. Revision 2017.
        Clin Neurophysiol Pract. 2017; 2 (Erratum in: Clin Neurophysiol Pract. 2019 Jun 15;4:133. PMID: 30214992; PMCID: PMC6123891): 170-185https://doi.org/10.1016/j.cnp.2017.07.002
        • Ruiz A.R.
        • Vlachy J.
        • Lee J.W.
        • Gilmore E.J.
        • Ayer T.
        • Haider H.A.
        • et al.
        Association of periodic and rhythmic electroencephalographic patterns with seizures in critically ill patients.
        JAMA Neurol. 2017; 74: 181-188
      1. Yap BW, Abd Rani K, Abd Rahman HA, Fong S, Khairudin Z, Abdullah NN. An application of oversampling, undersampling, bagging and boosting in handling imbalanced datasets. In: Proceedings of the first international conference on advanced data and information engineering (DaEng-2013).

      2. Herawan T., Deris M., Abawajy J. (Eds). Springer, Singapore, 2014, pp 13-22.24. Dwarampudi M, Reddy NV. Effects of padding on LSTMs and CNNs. arXiv preprint arXiv:1903.07288. 2019.

        • Andonie R.
        Hyperparameter optimization in learning systems.
        J Membr Comput. 2019; : 1-3
        • Struck A.F.
        • Ustun B.
        • Ruiz A.R.
        • Lee J.W.
        • LaRoche S.M.
        • Hirsch L.J.
        • et al.
        Association of an electroencephalography-based risk score with seizure probability in hospitalized patients.
        JAMA Neurol. 2017; 74: 1419-1424
        • Mani R.
        • Arif H.
        • Hirsch L.J.
        • Gerard E.E.
        • LaRoche S.M.
        Interrater reliability of ICU EEG research terminology.
        J Clin Neurophysiol. 2012; 29: 203-212