Seizure forecasting using machine learning models trained by seizure diaries.
Ezequiel GleichgerrchtMircea DumitruDavid A HartmannBrent C MunsellRuben KuznieckyLeonardo BonilhaReza SameniPublished in: Physiological measurement (2022)
Objectives. People with refractory epilepsy are overwhelmed by the uncertainty of their next seizures. Accurate prediction of future seizures could greatly improve the quality of life for these patients. New evidence suggests that seizure occurrences can have cyclical patterns for some patients. Even though these cyclicalities are not intuitive, they can be identified by machine learning (ML), to identify patients with predictable vs unpredictable seizure patterns. Approach. Self-reported seizure logs of 153 patients from the Human Epilepsy Project with more than three reported seizures (totaling 8337 seizures) were used to obtain inter-seizure interval time-series for training and evaluation of the forecasting models. Two classes of prediction methods were studied: (1) statistical approaches using Bayesian fusion of population-wise and individual-wise seizure patterns; and (2) ML-based algorithms including least squares, least absolute shrinkage and selection operator, support vector machine (SVM) regression, and long short-term memory regression. Leave-one-person-out cross-validation was used for training and evaluation, by training on seizure diaries of all except one subject and testing on the left-out subject. Main results. The leading forecasting models were the SVM regression and a statistical model that combined the median of population-wise seizure time-intervals with a test subject's prior seizure intervals. SVM was able to forecast 50%, 70%, 81%, 84%, and 87% of seizures of unseen subjects within 0, 1, 2, 3 to 4 d of mean absolute forecasting error, respectively. The subject-wise performances show that patients with more frequent seizures were generally better predicted. Significance. ML models can leverage non-random patterns within self-reported seizure diaries to forecast future seizures. While diary-based seizure forecasting alone is only one of many aspects of clinical care of patients with epilepsy, studying the level of predictability across seizures and patients paves the path towards a better understanding of predictable vs unpredictable seizures on individualized and population-wise bases.