DynamoSort: Using machine learning approaches for the automatic classification of seizure dynamotypes
Josh WooleyiD, Ashley Zachery-SavellaiD, Michelle Le, Sally Scofield, Kishore Jay, Josh Mosse-RobinsoniD, Peter J. WestiD, Karen S. WilcoxiD, Daria Nesterovich AndersoniD
Abstract
ObjectiveEpilepsy is characterised by unprovoked and recurring seizures, which can be electrically measured using electroencephalograms (EEG). To better understand the underlying mechanisms of seizures, researchers are exploring their temporal dynamics through the lens of dynamical systems modelling. Seizure initiation and termination patterns of spiking amplitude and frequency can be sorted into "dynamotypes", which may be able to serve as biomarkers for intervention. However, manual classification of these dynamotypes requires trained raters and is prone to variability. To address this, we developed DynamoSort, a machine-learning algorithm for automatic seizure onset and offset classification. MethodsWe used approximately 2100 seizures from an intra-amygdala kainic acid (IAK) mouse model of mesial temporal lobe epilepsy, categorized by five trained raters. MATLABs classification learner application was used to create an ensemble model to score and label dynamotypes of individual seizures based on spiking and frequency features. ResultsDynamotype classification of real EEG data lacks a definitive ground truth, with mean inter-rater agreement at 73.4% for onset and 64.2% for offset types. Despite this, DynamoSort achieved a mean area under the curve (AUC) of 0.81 for onset and a mean AUC of 0.75 for offset types. Machine-human agreement was not significantly different from human-to-human agreement. To address the lack of ground truth in ratings, DynamoSort assigns probabilistic scores (-20 to 20), to indicate similarity to each seizure dynamotype based on spiking features, allowing for a characterization of seizure dynamics on a spectrum rather than the traditional qualitative taxonomy. SignificanceAutomating the classification of dynamotypes is a critical step for their inclusion as a biomarker in clinical and research applications. DynamoSort is a straightforward, open-access tool that uses automatic labelling and probabilistic scoring to quantify subtle changes in seizure onset and offset dynamics. Key PointsO_LIDynamotypes are a promising seizure categorization system, but is prone to interrater variability and lacks a ground truth. C_LIO_LIMachine learning can be used to automatically classify seizure onsets and offsets into appropriate dynamotypes based on spike features. C_LIO_LIAgreement between DynamoSort and human raters rivals typical agreement rates in trained human raters. C_LIO_LIDynamoSort uses probabilistic scoring to quantify subtle changes in seizure onset and offset, allowing for a quantitative characterisation. C_LI
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 1
- FWCI
- 0.57
- Field percentile
- top 36%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Seizure dynamotype classification using non-invasive recordings
Miriam Guendelman, Rotem Vekslar, Oren Shriki·bioRxiv·Apr 2, 2023
- A taxonomy of seizure dynamotypes
Maria Luisa Saggio, Dakota N. Crisp, … William C. Stacey·eLifePeer-reviewed·Jul 20, 2020
- Semi-automated seizure detection using interpretable machine learning models
Pantelis Antonoudiou, Trina Basu, Jamie L. Maguire·bioRxiv·Oct 25, 2023
- Seizure recruitment properties are dependent upon dynamotype: A modeling study
Diana M Karosas, Maria Luisa Saggio, William C. Stacey·PLoS Computational BiologyPeer-reviewed·Sep 21, 2026
- A Predictive Epilepsy Index Based on Probabilistic Classification of Interictal Spike Waveforms
Jesse A. Pfammatter, Rachel A. Bergstrom, … Mathew V. Jones·PLoS ONEPeer-reviewed·Nov 6, 2018
- Automated Classification of Sleep-Wake States and Seizures in Mice
Brandon J. Harvey, Viktor Janos Oláh, … Nigel P. Pedersen·eNeuroPeer-reviewed·Oct 1, 2025