A data augmentation procedure to improve detection of spike ripples in brain voltage recordings.
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
A data augmentation procedure to improve detection of spike ripples in brain voltage recordings - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Neurosci Res . Author manuscript; available in PMC: 2026 Jun 1. Published in final edited form as: Neurosci Res. 2024 Aug 3;215:15–26. doi: 10.1016/j.neures.2024.07.005 A data augmentation procedure to improve detection of spike ripples in brain voltage recordings Emily D Schlafly 1, * , Daniel Carbonero 2, * , Catherine J Chu 3, 4 , Mark A Kramer 1, 5 Author information Article notes Copyright and License information 1 Department of Mathematics and Statistics, Boston University, Boston, Massachusetts, USA 2 Department of Biomedical Engineering, Boston University, Boston, Massachusetts, USA 3 Department of Neurology, Massachusetts General Hospital, Boston, Massachusetts, USA 4 Harvard Medical School, Boston, Massachusetts, USA 5 Center for Systems Neuroscience, Boston University, Boston, Massachusetts, USA * Co-first Authors Author Contributions Conceptualization, ES, DC, MAK; Methodology, ES, DC, MAK; Validation, ES, DC, MAK; Formal Analysis, ES, DC, MAK; Investigation, ES, DC, MAK; Resources, ES, CJC, MAK; Software, ES, DC, MAK; Data Curation, ES, CJC; Writing – ES, DC, MAK; Writing – Review and Editing, all authors; Visualization, ES, DC, MAK; Supervision, CJC, MAK; Project Administration, ES, DC, MAK; Funding Acquisition, CJC, MAK. ✉ Corresponding Author: Mark A. Kramer – mak@bu.edu Issue date 2025 Jun. PMC Copyright notice PMCID: PMC11788445 NIHMSID: NIHMS2017673 PMID: 39102943 The publisher's version of this article is available at Neurosci Res Abstract Epilepsy is a major neurological disorder characterized by recurrent, spontaneous seizures. For patients with drug-resistant epilepsy, treatments include neurostimulation or surgical removal of the epileptogenic zone (EZ), the brain region responsible for seizure generation. Precise targeting of the EZ requires reliable biomarkers. Spike ripples - high-frequency oscillations that co-occur with large amplitude epileptic discharges - have gained prominence as a candidate biomarker. However, spike ripple detection remains a challenge. The gold-standard approach requires an expert manually visualize and interpret brain voltage recordings, which limits reproducibility and high-throughput analysis. Addressing these limitations requires more objective, efficient, and automated methods for spike ripple detection, including approaches that utilize deep neural networks. Despite advancements, dataset heterogeneity and scarcity severely limit machine learning performance. Our study explores long-short term memory (LSTM) neural network architectures for spike ripple detection, leveraging data augmentation to improve classifier performance. We highlight the potential of combining training on augmented and in vivo data for enhanced spike ripple detection and ultimately improving diagnostic accuracy in epilepsy treatment. Keywords: Seizures, Sharp Wave Ripples, Deep Learning, Neural Networks, Long Short-Term Memory Models, Detection Introduction Epilepsy is a significant neurological disorder, with an estimated prevalence rate of 6.38 per 1,000 individuals experiencing active epilepsy at any given time( Fiest et al., 2016 ). The diagnosis of epilepsy encompasses a diverse array of neurological syndromes, all characterized by the commonality of recurrent, spontaneous seizures. Seizures are typically unpredictable interruptions of normal brain function, concurrent with abnormally excessive and synchronous neuronal activity( Chabolla, 2002 ; Fisher et al., 2005 ). In focal epilepsy, seizures begin in a dysfunctional brain region and propagate( Khambhati et al., 2015 ). For patients with drug-resistant epilepsy (when medications fail to prevent seizure recurrence), therapeutic options include neurostimulation( Geller et al., 2017 ; Heck et al., 2014 ; Nair et al., 2020 ) or surgical removal of sufficient epileptogenetic cortical tissue, aiming to diminish seizure frequency( French, 2007 ; Khambhati et al., 2015 ). To identify the epileptogenic zone (EZ) - the cortical tissue responsible for seizure generation - and target subsequent treatment requires a reliable biomarker( Engel, 2011 ). Ripples - oscillations characterized by their brief duration, low amplitude, and high frequency (80–250 Hz) - have emerged as a candidate biomarker( Frauscher et al., 2017 ). Clinical studies demonstrate that ripples occur more often in the seizure onset zone (SOZ)( Cimbalnik et al., 2018 ; Dümpelmann et al., 2015 ; Guragain et al., 2018 ; Jacobs et al., 2008 ), suggesting their utility in localizing epileptogenic regions. Moreover, resection of ripple generating tissues has been associated with improved patient prognoses( González Otárula et al., 2019 ; Jacobs et al., 2010 , 2008 ; Modur et al., 2011 ). Despite the promise of ripples as a biomarker for the EZ, detection poses significant challenges( Nadalin et al., 2021 ). The current gold standard to identify ripples relies on manual interpretation of invasive or non-invasive electroencephalogram (EEG) recordings( Nariai et al., 2019 ) by experts, or manual validation of detection by automatic processes( Boran et al., 2019 ). These manual approaches not only demand substantial time( Jacobs et al., 2009 ), but also suffer from poor inter-rater reliability( Spring et al., 2017 ), limiting reproducibility. To address these limitations requires more objective, efficient, and automated detection methods, which could dramatically enhance the precision and reliability of surgical epilepsy treatments. The task of differentiating between epileptic events and normal brain activity is further complicated by the presence of both physiologically normal and epileptic ripples within cortical tissue. Physiological ripples, associated with human memory processes( Buzsáki and Silva, 2012 ; Joo and Frank, 2018 ; Kucewicz et al., 2014 ), are indistinguishable from epileptic ripples in duration, amplitude, and spectral frequency( Alkawadri et al., 2014 ; Malinowska et al., 2015 ; Matsumoto et al., 2013 ). One approach to distinguish the pathological events associated with epilepsy is to identify ripples that occur with epileptiform spikes - high amplitude (~100 μV), long lasting (~100 ms) deviations in the brain’s voltage activity - which serve as a marker of epilepsy with high specificity( Ayala et al., 1973 ; Chu et al., 2017 ; Worrell and Gotman, 2011 ). Previous studies suggest that these co-localized spike and ripple events (spike ripples) provide a better marker for brain regions that generate epileptic seizures than either of the events in isolation( Jacobs et al., 2018 ; Kramer et al., 2019 ; Van Klink et al., 2016 ). Modern machine learning approaches provide novel tools to automate and improve detection of the interictal (i.e., between seizure) electrophysiological events associated with epilepsy. Existing studies have implemented different deep learning approaches to automate the detection of spikes, ripples, and spike ripples( Shoeibi et al., 2021 ). One common approach employs convolutional neural networks (CNNs), efficient in image classification( Zeimarani et al., 2020 ). Application of CNNs requires converting EEG recordings into images, for example expressing the activity as a spectrogram image. Subsequently, a CNN can be trained to recognize specific features of spike ripples within these spectrogram images( Nadalin et al., 2021 ; Zhao et al., 2020 ; Zuo et al., 2019 ). This approach leverages the ability of CNNs to discern patterns in image data, without requiring specific feature selection. An alternative deep learning approach implements Long-Short Term Memory models (LSTMs)( Hochreiter and Schmidhuber, 1997 ), a variant of Recurrent Neural Networks (RNNs) suitable for time-series data. LSTMs have been applied to classify EEG spikes during the interictal period, using a series of extracted time domain features( Xu et al., 2021 ). Other approaches have focused on Fourier-transformations of these time-series, using frequency-domain features to classify spikes, ripples, and spike ripples in intracranial EEG( Medvedev et al., 2019 ). Another approach employs an LSTM to provide continuous predictions at each point in a time series, aiming to enhance the temporal resolution and predictive accuracy of event detection( Hagen et al., 2021 ). Despite the emergence and growing prominence of these methods to identify the interictal electrophysiological events of epilepsy, their performance and reproducibility are limited by the inherently heterogeneous, variable, and small number of datasets available for training( Korshunova et al., 2018 ; Li et al., 2019 ). However, data augmentation approaches have emerged to mitigate these limitations. Recent studies have shown that artificially enhancing and expanding datasets improves the performance of epileptiform event detection, helping to address the challenges of data scarcity and variability( Dubey et al., 2022 ; Rasheed et al., 2021 ; Wei et al., 2019 ). Here we introduce a new data augmentation strategy to increase the number of spike and spike ripple events available for training a neural network. To generate synthetic traces containing spike ripples and spikes without ripples, we estimate spike and ripple features from in vivo data and the existing literature, and then generate new instances of events from these estimates. This approach allows us to create an arbitrarily large training set not constrained to specific features observed within a limited dataset. We then use these data to train two existing LSTM model architectures developed to classify ripple events, one in the frequency domain( Medvedev et al., 2019 ), and another in the time domain( Hagen et al., 2021 ). We find that a combination of sequential training on augmented, then in vivo , data produces the best performing classifiers. These results demonstrate the potential of data augmentation as a supplement to model training for further improvement of spike ripples detection in human brain voltage recordings. Methods Human dataset In this study, we re-use human data from( Kramer et al., 2019 ) as described and analyzed in( Nadalin et al., 2021 ). To summarize, we analyze EEG recordings (sampled at 2035 Hz) from 34 participants: 21 with childhood epilepsy with centrotemporal spikes (CECTS, age 4.9–16.8 years, 17 males) and 13 controls (age 8.7–14.3 years, five males). For each participant, all available data recorded during non-REM sleep were selected for analysis (range 214–2840 s, mean 1030 s). Medications included lacosamide (2 participants), levetiracetam (8 participants), lamotrigine (2 participants), and oxcarbazepine (1 participant); see Table 1 of ( Kramer et al., 2019 ) for additional details. We analyze one EEG channel per hemisphere per participant, prioritizing channels with interictal spikes or selecting C3 and C4 electrodes if no spikes were present. Detailed clinical data are available in ( Kramer et al., 2019 ). Table 1. Summary statistics for each spike ripple feature. In vivo statistics are based on 677 observations classified as spike ripples from the six subjects of interest included in the testing sets. N = 677 Units Range synthetic Ref Mean (StDev; sigma) Median (IQR) Range (Q [.05, .95]) SPIKE w 1 spike ascent duration ms [10, 100] ( Gotman and Gloor, 1976 ; Kane et al., 2017 ; Kramer et al., 2019 ; Tatum, 2014 ; Wilson and Emerson, 2002 ) 37.4 (3.0; 11.0) 36.2 (12.1) [23.5, 58.4] t peak spike peak time ms [−50, 50] 9.3 (4.9; 7.6) 7.9 (11.7) [−4.5, 23.9] w 2 spike descent duration ms [10, 100] See w 1 51.1 (5.5; 8.0) 52.9 (10.9) [40.8, 69.7] w 3 wave ascent duration ms [60, 200] 140.1 (19.3; 47.4) 125.7 (43.3) [83.5, 283.2] w 4 wave descent duration ms [10, 700] 226.0 (33.5; 113.7) 190.4 (94.0) [71.6, 500.0] v peak spike amplitude z [5, 20] ( Gotman and Gloor, 1976 ) 8.0 (2.8; 2.2) 7.5 (6.7) [3.0, 14.1] v tr trough depth z [−8, 1] ( Nonclercq et al., 2012 ) −3.3 (1.1; 1.8) −3.0 (2.3) [−6.7, −0.2] v wave wave amplitude z htTrough + [1, 12] ( Nonclercq et al., 2012 ) 2.9 (1.3; 2.0) 2.5 (3.3) [0, 7.6] COMPUTED v peak / w 1 Spike ascent rate z/ms <0.5 ( Park and Hong, 2019 ) 0.24 (0.08; 0.07) 0.22 (0.17) [0.07, 0.40] ( v peak – v tr ) / w 2 Spike descent rate z/ms <0.5 0.23 (0.08; 0.05) 0.22 (0.15) [0.10, 0.35] ( v wave – v tr ) / w 3 Wave ascent rate z/ms <0.5 0.05 (0.019; 0.020) 0.05 (0.04) [0.01, 0.101] v wave / w 4 Wave descent rate z/ms <0.5 0.018 (0.009; 0.02) 0.01 (0.019) [0, 0.05] w 3 + w 4 Wave width ms [150, 785] ( Köksal-Ersöz et al., 2022 ) 366.1 (39.1; 118.9) 332.8 (169.4) [202.4, 635.0] v peak / ( Ac ) Spike-to-ripple amplitude ratio NA <150 93.3 (43.4; 39.1) 71.5 (51.5) [30.5, 195.4] v peak – v tr Peak-trough difference z >4 11.3 (3.8; 2.3) 11.4 (8.0) [5.4, 18.0] v wave / v peak Wave-spike amplitude ratio NA <1 0.36 (0.06; 0.26) 0.35 (0.33) [0, 0.80] RIPPLE A Ripple amplitude SNR NA [5, 25] ( Chu et al., 2017 ; Urrest arazu et al., 2007 ; Worrell et al., 2012 ) 6.1 (1.1; 1.9) 5.8 (2.9) [3.3, 10.7] μ f mean frequency Hz [80, 200] ( Chu et al., 2017 ) 135.0 (4.7; 15.2) 135.7 (16.7) [109.7, 157.0] μ t mean time ms [−30, 10] ( Chu et al., 2017 ) −9.0 (5.0; 7.6) −7.01 (10.5) [−23.8, 3.9] σ f width frequency Octaves [f(fMu), 30] ( Cimbalnik et al., 2018 ; Worrell et al., 2012 ) 0.34 (0.038; 0.15) 0.27 (0.12) [0.20, 0.62] σ t width time ms 0.2 ( Chu et al., 2017 ; Cimbalnik et al., 2018 ; Worrell et al., 2012 ) 16.0 (1.1; 5.9) 14.5 (5.4) [10.4, 25.9] ρ time-frequency correlation NA 0 −0.24 (0.049; 0.32) −0.26 (0.44) [−0.68, 0.33] c background amplitude z [0.013, 0.032] 0.017 (0.006; 0.002) 0.017 (0.006) [0.0078, 0.029] Open in a new tab Mean (StDev; sigma): Estimated subject mean and between subject standard deviation (StDev); sigma indicates within subject standard deviation. Median (IQR): Median and interquartile range (difference between the first and third quartiles, Q 0.25 − Q 0.75 ) across all observations. Range: Quantiles (Q) 0.05–0.95. f(fMu) is 1.5/fMu * 1e3 (i.e., we set tSig to accommodate 3 oscillations at frequency fMu within ± 1 tSig; scaling by 1e3 is to convert to units of ms) Augmented dataset We generate synthetic spike ripples by dividing these events into three components: a spike-wave component, a ripple component, and background noise. We generate each component separately, as described below, and then sum these components to generate the composite spike ripple event. Spike-wave We parameterize the spike-wave waveform using Piecewise Cubic Hermite Interpolating Polynomials (PCHIP). PCHIPs are a class of spline comprising cubic polynomials that are monotonic on an interval and C 1 at the knots( Fritsch and Carlson, 1980 ; Heath, 2002 ). The monotonicity means that the spline can be constructed to predictably reproduce the prototypical peak-valley-peak morphology of a spike-wave using parameters that are intuitive and interpretable ( Figure 1 ). Here, we use five knots corresponding to different features of the spike-wave: spike onset, spike peak, post-spike valley, wave peak, and wave termination. The coefficients at the first and last knots are fixed so that the spike-wave evolves on a baseline of 0. As a result, the waveform is characterized by 8 parameters: 5 knot positions ( k 1 , …, k 5 ) and 3 coefficients to characterize waveform amplitude ( v peak , v tr , v wave ). For interpretability, we transform knot positions to the time of the spike peak ( t peak ) and a set of four segment widths ( w 1 , …, w 4 ): t peak = k 2 , w i = k i + 1 − k i , (Eq. 1) Figure 1. Spline construction of the synthetic spike-wave. Open in a new tab ( A ) The waveform is divided into four segments: spike rise (w 1 ), spike descent (w 2 ), wave rise (w 3 ), and wave descent (w 4 ). The waveform amplitude at the transition between segments is characterized by parameters v peak , v tr , v wave ; parameter t peak indicates the timing of the spike peak. ( B ) Three examples of synthetic spike-waves (pink) generated using parameters based on in vivo observations (black); black scale bars below the spike peak indicate 1 standardized unit; intervals are 1 second in duration. Ripple Ripples have been described as “spectral islands”, or isolated regions of relatively high spectral power in spectrogram images( Chu et al., 2017 ; Kramer et al., 2019 ; Nadalin et al., 2021 ). We model these islands as a function m of distance R from a center point in time-frequency space: R t , f ; μ t , μ f , α , β , γ = α f − μ f 2 + 2 β f − μ f t − μ t + γ t − μ t 2 (Eq. 2) m ( R ; A , c ) = A c exp [ − max ( R − 1 , 0 ) ] . (Eq. 3) These equations define an ellipsoidal island centered at [μ t , μ f ] with maximum amplitude Ac (a scalar multiple of c ); the island has a plateauing top so that m (•) = Ac for R (•) ≤ 1. The function m resembles a 2D-Gaussian, except for the plateauing top. Gaussians are often described in terms of variance and correlation, making this a more intuitive description of the spectral island. For this reason, we convert the coefficients α , β , γ to variance and correlation of the corresponding 2D-Gaussian: α β β γ = σ 2 f s f t s f t σ 2 t − 1 (Eq. 4) s f t = ρ σ f σ t . (Eq. 5) To simulate a ripple, we generate a 2s Gaussian white noise trace and then filter (1000 order FIR) the signal to μ f ± σ f ; this narrowband filtering step minimizes leakage from higher frequencies and produces ripples with sinusoidal shape( Otsubo et al., 2008 ; Worrell et al., 2012 ; Zijlmans et al., 2011 ). We then compute the continuous wavelet transform (CWT, Morse wavelet, 10 voices per octave( Worrell et al., 2012 )) to obtain the scalogram of the white noise trace and replace the amplitude component of the scalogram with the spectral island estimated from Equation 3 with c = 0. Finally, we perform an inverse wavelet transform on the adjusted scalogram to obtain the simulated ripple trace ( Figure 2 ). Figure 2. Synthetic ripple generation procedure. Open in a new tab (A) Schematic representation of the algorithm for generating synthetic ripples (see Methods ). (B) Three examples of synthetic ripples (blue) generated based on parameters estimated from in vivo observations (black). Black traces show the in vivo recording bandpass filtered to 80–500 Hz. Panels show CWT scalograms of the in vivo and synthetic ripples; darker colors indicate larger magnitudes; the horizontal (vertical) axis indicates time (frequency); frequencies shown are between 80 and 500 Hz. Orange contour lines in scalograms indicate contours of fitted magnitude surface. Each trace is 200 ms in duration. Background signal Pink noise, as observed in neural field activity( He et al., 2010 ), data were simulated as described in( Chu et al., 2017 ). Briefly, pink noise is characterized by the relationship P ( f ) ~ f −α , where P(f) is the sample power spectral density at frequency f. Here, we set α =1 consistent with in vivo observations classified as background activity (Median=1.03, IQR=[0.96, 1.08]). The resulting noise trace was scaled so that median power in the high frequency band ([80–500] Hz) matches the ripple background level c . Event selection and signal preprocessing Candidate spike ripple events were identified from the in vivo data using a semi-automated detector and expert validation, as described in( Nadalin et al., 2021 ). Background events were undetected by the semi-automated detector and validated by an expert not to contain a spike ripple, as described in( Nadalin et al., 2021 ). The voltage recordings from each electrode were z-scored relative to the median and median absolute deviation. LSTM Frequency-Domain Method In the frequency domain, we implemented the LSTM deep neural network defined in ( Medvedev et al., 2019 ) to detect spikes, ripples, and spike ripples. The input features to the network consisted of the power estimated in three consecutive 0.25 s intervals (z-scored data within each interval, Hanning tapered). Within each interval, the power (in decibels) was averaged within eight bands: theta (4–8 Hz), alpha (8–13 Hz), beta (13–30 Hz), gamma1 (30–56 Hz), gamma2 (64–116 Hz), rip1 (124–176 Hz), rip2 (184–196 Hz), and rip3 (204–236 Hz). We note that the bands at higher frequencies (>80 Hz) were chosen to avoid electrical noise artifacts at frequencies 120 Hz, 180 Hz, and 200 Hz, as in( Medvedev et al., 2019 ). For each event in the human and augmented datasets, the size of the input data to the LSTM network was [8 × 3], corresponding to the number of frequency bands (8) by the number of time points (3). The network consisted of 5 layers: (i) a sequence input layer with 3 inputs (the number of time points), (ii) a bidirectional LSTM layer with 200 hidden units, (iii) a fully connected layer with two outputs, (iv) a softmax layer, and (v) a classification layer that computed the cross-entropy loss for classification with two mutually exclusive classes (spike ripple or not). We trained the neural network using the Adam optimization algorithm, with a maximum of 200 epochs, a gradient threshold of 1, and a piecewise learning rate schedule with initial learning rate of 0.001 and learning rate drop period of 200 epochs. Data shuffling was performed every epoch to prevent the model from memorizing the order of samples. LSTM Time-Domain Method In the time domain, rather than implementing a new instance of a previously published architecture (as we did for the frequency-domain method), we instead leverage transfer learning( Bozinovski, 2020 ) to implement a pre-trained LSTM (detailed in ( Hagen et al., 2021 )) for the detection of spike ripples. This original model was trained to detect hippocampal sharp wave ripples, an electrophysiological phenomenon exhibiting temporal and spectral characteristics analogous to spike ripples. Given this similarity, we hypothesized the existing network would identify spike ripples, with fine-tuning further adapting the network to improve performance. Further, while we implemented previously published architectures for both the frequency- and time-domains, we only reinitialized the frequency-domain network because the time-domain network is more complex and would require re-learning of many more parameters and therefore a much longer training time. The input to the network consisted of in vivo or simulated time series data. The output was also a time series, the same length as the input time series, indicating the probability of a spike ripple at each time. Compared to the frequency-domain LSTM method, the architecture is more complex, consisting of two deep bi-directional LSTM layers, flanked by a series of dropout and batch normalization layers. Before reaching the LSTM layers, the data were first transformed by a Gaussian, and then a series of 1D convolutional layers, also flanked by dropout and batch normalization layers( Hagen et al., 2021 ). Here, we simplified the network architecture by replacing the final time distributed layer with a global pooling layer to transform the output from a time series to a single number. We also added a fully connected sigmoid activation layer for binary output. In training the network, we froze all layers except the two newly added layers and the final bidirectional LSTM layer to prevent overfitting. To train the network, we used the same parameters employed in the original network except for the number of epochs and batch size (here, 128 epochs at a batch size of 32)( Hagen et al., 2021 ). We downsampled the EEG data (from 2035 Hz to 1250 Hz) to match the original network( Hagen et al., 2021 ), using the scipy signal resample( Virtanen et al., 2020 ) method. We applied the network to a 0.5 s interval of data, centered at the time of the event. For each time series, we report a binary label (0 or 1) indicating the absence or presence of a spike ripple, respectively. We shuffled the data to avoid learning of order before training. Training and Testing We trained each detector in three ways: (1) using only the in vivo data, (2) using only synthetic data, and (3) using a combination of in vivo and synthetic data. (1) First, we implemented a leave-one-out (LOO) approach for training and testing each LSTM architecture to evaluate performance across all available data, while minimizing bias towards specific subjects and maximizing performance generalizability. For robust testing of detector performance, we selected six LOO subjects ( Figure 3 ), each with at least 23 spike ripple events (mean 113, maximum 207). There was a total of 677 spike ripples combining all 6 LOO subjects. The size of the training set depends on the LOO subject. For each excluded LOO subject, the training set consisted of all spike ripples from the remaining subjects (mean 569, minimum 475, maximum 655), and an equivalent number of events without spike ripples. For the latter, events were selected randomly from all available subjects (n=31) with half of the events containing a spike alone (i.e., a spike without a ripple) and half of the events consisting of background activity verified to not contain a spike or spike ripple( Nadalin et al., 2021 ). In this way, we created a balanced training set. We note that the composition of events from the 28 subjects with fewer than 23 spike ripples consisted of 1246 background events, 393 spike events, and 5 spike ripples (S0 in Figure 3 ). We also note that for every LOO subject, we train a newly instantiated model for the frequency-domain detector and tune the best performing instance of the time-domain detector. In this way, we do not iteratively update the neural network model for each LOO subject, but instead tune a new instance of a neural network model for each LOO subject. We note that, for both the frequency-domain and time-domain methods, training resulted in 6 networks, one for each left out subject. We then evaluated the performance of each trained neural network model exclusively on data from the left-out subject. Figure 3. Event counts for the subject population. Open in a new tab Number of spike ripple, spike, and background events for each LO subject (see legend). We test classifier performance on 6 subjects (labels S1, S2, … S6) and trained classifiers on all other subjects. The bar labeled S0 includes event counts for all other subjects (n=28). (2) Second, we trained each LSTM architecture using synthetic data. The training set consisted of K synthetic spike ripples, and K events without a spike ripple, for a total of 2K events, where K = {4000, 6000, 8000, 10000}. Events without a spike ripple included all background events from all subjects not including the six LOO subjects (i.e., all events verified to not contain a spike or spike ripple from subjects with less than 23 spike ripples; total 1246 events) combined with the number of synthetic spike events required to achieve a total of K events. For the frequency-domain method, from the resulting set of 2K events for training, 10% were withheld for validation. For validation of the time-domain method, we first generated another K/10 synthetic spike ripples and selected 10% of background events from all available subjects. We then generated additional synthetic events without a spike ripple so that the sum of these synthetic events and background events totaled K/10; the resulting validation set for the time-domain method therefore consisted of 2K/10 samples or 10% of the training set. We note that, for both the frequency-domain and time-domain methods, training resulted in one network, and we evaluated performance on each left out subject. (3) Third, we trained each LSTM architecture using a combination of in vivo and synthetic data. To do so, we began with the networks trained using only synthetic data, as described in ( 2 ) above. Then, for each LOO subject, we applied transfer learning to update these pretrained networks. For the frequency-domain method, we replaced the fully connected layer and the classification layer. To slow down learning in the transferred layers, we set the initial learning rate to 1e-4, and increased the learning rate to 1e-3 in the new fully connected layer. We also reduced the number of epochs to 50. For the time-domain method, we began with the network trained on the synthetic data and then fine-tuned the network using the in vivo recordings with the same parameters and LOO protocol previously described in ( 1 ). Finally, we note that we initially assessed the performance of the time-domain method (RippleNet( Hagen et al., 2021 )) applied to the six LOO subjects without additional training. Because the original time-domain method classifies each time point in a signal, we applied the following labeling strategy. For each spike ripple, we labeled the time indices spanning 100 ms before and 50 ms after the event’s center as positive for a continuous spike ripple event. To evaluate the Receiver Operating Characteristic (ROC) curve, we considered the highest returned probability value from the original time-domain method around the event center (100 ms before the event center to 50 milliseconds after) for each event. Similar to the approach in( Hagen et al., 2021 ), we subsequently classified the event as a spike ripple if the returned probability value exceeded a threshold of 0.229 for at least 25 ms. We determined this threshold using all data excluding the LOO subjects, as described below. Calculation of Probability Thresholds and Performance Statistics We used two probability thresholds to calculate performance for each network trained on each LOO subject. We chose p = 0.5, reported below as p 0.5 , as a naive threshold, consistent with the simple assumption that p > 0.5 indicates a positive classification of a spike ripple. We also chose a threshold p validation calculated from the validation set used to train the networks for each LOO subject. We computed this threshold as the optimal operating point of the ROC curve for each validation set (following the algorithm defined in the function perfcurve in MATLAB R2023a). We note that this procedure resulted in different probability thresholds for each LOO subject. We report the mean and standard deviation of 6 performance statistics (specificity, sensitivity, positive predictive value (PPV), negative predictive value (NPV), accuracy, and area under the receiver operator characteristic (ROC) curve) for each left out subject and each probability threshold, according to the following definitions: Sensitivity = T P T P + F N Specificity = T N T N + F P Positive Predictive Value = T P T P + F P Negative Predictive Value = T N T N + F N Accuracy = T P + T N T P + T N + F P + F N where TP and TN indicate true positive and true negative, respectively, and FP and FN indicate false positive and false negative, respectively. Logistic regression To characterize relationships between signal features and detector classifications, we fit logistic regression models using detector classifications as response variables and estimated signal features as predictors. Models were built stepwise starting with a constant/intercept-only model and allowing linear or interaction terms. Terms were added if doing so significantly reduced the model deviance ( p -value of the F -statistic less than 0.05). Fitting was implemented in MATLAB using the stepwiseglm function with a binomial distribution and canonical (logit) link function. We report the estimated effect size and p -value of the t -statistic for each coefficient in the complete model; p -values were based on estimated dispersion – the sum of squared Pearson residuals divided by the degrees of freedom for error (DFE). Results Data augmentation produces synthetic spike ripples consistent with in vivo observations Accurate training and assessment of neural networks to detect spike ripples requires sufficient training and testing data. However, creating a database of spike ripples is an extremely time-consuming task; the gold standard for spike ripple detection is manual inspection by a trained expert. Therefore, data for training and testing remain limited, thus limiting detector performance. One strategy to address this limitation is data augmentation. In general, data augmentation involves generating additional training data, typically by adding noise (as in RippleNet( Hagen et al., 2021 )) or through some other manipulation (e.g., image stretch/skew/recolor)( Goodfellow et al., 2016 ; Nadalin et al., 2021 ). Another approach is Synthetic Minority Over-sampling (SMOTE), where new samples are generated by interpolating between existing samples( Chawla et al., 2002 ). A limitation of these techniques is the assumption that new samples are near the space of training samples. In practice, such a restriction may not hold. For example, given the relatively small number of subjects available for training, and the variability inherent in brain voltage recordings, the spike ripple features for a novel subject may differ from the training data. Our aim here is to generate an expanded parameter space that includes samples experts would classify as spike ripples, without necessarily having seen a similar example. To this end, we included features of spike ripples derived from the data analyzed here and the literature to guide construction of the synthetic data. Where we did not find descriptions of specific parameters (for example, pertaining to the duration of the rising and falling portions of the wave component), we identified plausible parameter ranges by fitting the spike ripple model to our in vivo observations (see Methods ). We finalized the parameter selection by iteratively adjusting parameters and inspecting the resultant synthetic traces ( Figure 4 ). The range of parameters is shown in Table 1 . Figure 4. Synthetic spike ripples mimic in vivo spike ripples. Open in a new tab Examples of (A) in vivo and (B) synthetic spike ripples. Scale bars indicate 100 ms (horizontal) and 5 z (vertical). Each simulated spike ripple required 15 parameters (8 spike parameters and 7 ripple parameters). Parameters were selected independently from uniform distributions over the ranges in Table 1 . We verified that each parameter set generated relationships that satisfied the constraints given by the 8 computed features in Table 1 . Parameter sets that failed to satisfy these constraints were rejected and a new parameter set selected. To simulate a signal without a spike-ripple, we reduced the amplitude of the ripple by resampling the parameter A from a uniform distribution in the range [0, 2]. Data augmentation moderately improves performance of a frequency-domain spike ripple detector We first consider a frequency-domain method to detect spike ripples. We implement an LSTM architecture operating on 24 features (the power in 8 frequency bands from three, 250 ms intervals) to assign the probability of a spike ripple for each event (see Methods: LSTM Frequency Domain Method and ( Medvedev et al., 2019 )). Without data augmentation, we find good detector performance ( Figure 5A ). Using a leave-one-out cross-validation procedure across subjects, we find a mean area under the receiver operator characteristic (ROC) curve (AUC) of 0.80 (standard deviation 0.09). Applying a probability threshold of 0.5, we find good sensitivity (mean 0.67), specificity (mean 0.77), PPV (mean 0.78), NPV (mean 0.67), and accuracy (mean 0.72). We find consistent results for an alternative probability threshold computed in the validation data as the optimal operating point in the ROC curve ( Table 2 ; see Methods ). Figure 5. Data augmentation improves performance of a frequency-domain spike ripple detector. Open in a new tab Receiver operator characteristic (ROC) curves with training data consisting of (A) in vivo data alone, (B) synthetic data alone, or (C) in vivo data augmented with synthetic data. Colored curves indicate individual subjects; see legend in (A). Black curves indicate the results for classifications across all subjects. Table 2. ROC statistics for the frequency-domain spike ripple detectors. K indicates the number of synthetic spike ripples. ROC AUC Mean Standard Deviation In vivo data alone 0.80 0.09 Synthetic data alone (K=10,000) 0.85 0.04 Synthetic data alone (K=8,000) 0.84 0.05 Synthetic data alone (K=6,000) 0.84 0.05 Synthetic data alone (K=4,000) 0.81 0.04 Synthetic + in vivo data (K=10,000) 0.85 0.06 Synthetic + in vivo data (K=8,000) 0.86 0.06 Synthetic + in vivo data (K=6,000) 0.86 0.06 Synthetic + in vivo data (K=4,000) 0.85 0.07 Open in a new tab Training with synthetic data produces marginal improvements in detector performance ( Figure 5B ). Using synthetic data alone with K=10,000 synthetic spike ripples to train the detector, we find an improved AUC (mean 0.85, standard deviation 0.04), and improved mean values for sensitivity, NPV, and accuracy at both rate thresholds ( Table 3 ). Augmenting the original data with the synthetic data (again with K=10,000 synthetic spike ripples) and performing a leave-one-out cross validation, we find further improvements in performance ( Figure 5C ); the AUC (mean 0.85, standard deviation 0.06), and mean sensitivity, specificity, PPV, NPV, and accuracy all increase compared to the in vivo data alone ( Table 3 ). We find similar performance when training the detector with 4000, 6000, or 8000 synthetic spike ripples ( Table 2 ), consistent with previous work showing performance plateaus with relatively small sample sizes( Geng et al., 2021 ). We conclude that data augmentation marginally improves performance of the frequency-domain spike ripple detector. Table 3. Performance metrics for the frequency-domain spike ripple detector. Results for (top) in vivo data alone, (middle) synthetic data alone, and (bottom) in vivo data augmented with synthetic data. In each case, we indicate the mean value (standard deviation) across the n=6 subjects used for testing, with two different probability thresholds. PPV: positive predictive value, NPV: negative predictive value. Sensitivity Specificity PPV NPV Accuracy In vivo data alone p 0.5 0.67 (0.12) 0.77 (0.16) 0.78 (0.12) 0.67 (0.08) 0.72 (0.06) p validation 0.67 (0.14) 0.76 (0.18) 0.79 (0.12) 0.67 (0.05) 0.73 (0.07) Synthetic data alone p 0.5 0.76 (0.10) 0.74 (0.07) 0.78 (0.07) 0.71 (0.10) 0.76 (0.03) p validation 0.79 (0.08) 0.68 (0.10) 0.74 (0.10) 0.74 (0.07) 0.75 (0.04) Synthetic + in vivo data p 0.5 0.73 (0.11) 0.81 (0.14) 0.83 (0.10) 0.72 (0.07) 0.78 (0.06) p validation 0.70 (0.16) 0.83 (0.16) 0.85 (0.10) 0.72 (0.09) 0.77 (0.07) Open in a new tab Data augmentation moderately improves performance of a time-domain spike ripple detector We also consider a time-domain method to detect spike ripples. We begin with a network pretrained to detect sharp wave ripples in rodents( Hagen et al., 2021 ). Because spike ripples and sharp wave ripples share similar electrographic features, we expect this existing network will detect spike ripples, and that additional tuning of this network will improve performance. The input to the network consists of raw time series data (here, an EEG recording), and the output returns the probability that each time point is part of a ripple event. We collapse the output of the network to a binary classification: whether or not a spike ripple event occurs in the time series. In training the network, we freeze most of the network to prevent overfitting and follow a typical tuning protocol (see Methods: LSTM Time-Domain Method ). In what follows, we report performance statistics for the original pre-trained network (i.e., with no tuning), after tuning on the in vivo data, after tuning on synthetic data alone, and after tuning on both the synthetic data and in vivo data. As expected, we find that the model without any tuning performs worst, with a mean AUC of 0.67 (standard deviation of 0.12, Figure 6A ) and lowest accuracy across all approaches implemented here, for both probability thresholds ( Tables 4 and 5 ). Models trained on synthetic data alone (with K=10,000 synthetic spike ripples) or in vivo data alone both improve the AUC (mean of 0.82 and 0.81, respectively) and accuracy compared to the model without tuning ( Tables 4 and 5 , Figure 6B , C ). Augmenting the original data with the synthetic data, we find a marginal improvement in AUC (0.84) and accuracy compared to the models trained with the in vivo data alone or synthetic data alone ( Tables 4 and 5 , Figure 6D ). We again find similar performance when training the detector with 4000, 6000, or 8000 synthetic spike ripples ( Table 4 ). We conclude that, consistent with the frequency-domain method, data augmentation marginally improves performance of the time-domain method. However, we note the marginal improvement in AUC and accuracy of the frequency-domain method (AUC 0.85 and accuracy 0.78 for K=10,000; Tables 2 and 3 ) compared to the time-domain method (AUC 0.84 and accuracy 0.73 for K=10,000; Tables 4 and 5 ). While a direct comparison between the two methods was not our goal, we propose that the smaller feature space of the frequency-domain method (24 inputs) compared to the time-domain method (625 inputs) may support improved generalizability of the frequency-domain method. Figure 6. Data augmentation marginally improves performance of a time-domain method. Open in a new tab Receiver operator characteristic (ROC) curves with training data consisting of (A) no tuning, (B) in vivo data alone, (C) synthetic data alone, or (D) in vivo data after augmentation with synthetic data. Colored curves indicate individual subjects; see legend in (A). Black curves indicate the results for classifications across all subjects. Table 4. ROC statistics for the time-domain spike ripple detectors. K indicates the number of synthetic spike ripples. ROC AUC Mean Standard Deviation No Tuning 0.67 0.12 In vivo data alone 0.81 0.08 Synthetic data alone (K=10,000) 0.82 0.06 Synthetic data alone (K=8,000) 0.82 0.06 Synthetic data alone (K=6,000) 0.82 0.06 Synthetic data alone (K=4,000) 0.80 0.07 Synthetic + in vivo data (K=10,000) 0.84 0.07 Synthetic + in vivo data (K=8,000) 0.82 0.05 Synthetic + in vivo data (K=6,000) 0.83 0.07 Synthetic + in vivo data (K=4,000) 0.81 0.08 Open in a new tab Table 5. Performance metrics for the time-domain spike ripple detector. Results for (top) no tuning, (second) in vivo data alone, (third) synthetic data alone, and (bottom) in vivo data augmented with synthetic data. In each case, we indicate the mean value (standard deviation) across the n=6 subjects used for testing, with two different probability thresholds. PPV: positive predictive value, NPV: negative predictive value. Sensitivity Specificity PPV NPV Accuracy No tuning p 0.5 0.71 (0.16) 0.28 (0.14) 0.37 (0.19) 0.66 (0.18) 0.44 (0.18) p validation 0.82 (0.12) 0.18 (0.12) 0.34 (0.18) 0.66 (0.19) 0.39 (0.18) In vivo data alone p 0.5 0.58 (0.27) 0.81 (0.12) 0.62 (0.28) 0.70 (0.14) 0.71 (0.09) p validation 0.63 (0.30) 0.77 (0.15) 0.60 (0.28) 0.72 (0.13) 0.71 (0.08) Synthetic data alone p 0.5 0.32 (0.12) 0.94 (0.01) 0.79 (0.11) 0.62 (0.12) 0.66 (0.08) p validation 0.92 (0.04) 0.57 (0.17) 0.65 (0.11) 0.88 (0.06) 0.73 (0.09) Synthetic + in vivo data p 0.5 0.48 (0.25) 0.91 (0.06) 0.86 (0.07) 0.68 (0.12) 0.73 (0.09) p validation 0.67 (0.28) 0.78 (0.15) 0.74 (0.09) 0.76 (0.10) 0.75 (0.09) Open in a new tab Misclassified samples indicate strategies to improve synthetic training data To understand how the synthetic training data might be improved, we consider observations that were classified correctly using training on in vivo data only (training protocol 1 or TP1) and misclassified by training on synthetic data only (training protocol 2 or TP2; TP1 > TP2; Figure 7 ). Inspection of these events suggests that the synthetic training set could be improved by including common artifacts and by modeling activity prior to spike onset. Figure 7. Examples of misclassified observations. Open in a new tab Example events correctly classified with training on in vivo data alone (training protocol 1 or TP1) and incorrectly classified with training on synthetic data alone (training protocol 2 or TP2). Blue indicates raw signals; orange indicates band-pass filtered signals (80–500 Hz), scaled by a factor of 5 for visibility. Scale bars (top left) indicate 100 ms (horizontal axis) and 5 z (vertical axis). Examples are given for (A) the frequency-domain detector, (B) the time-domain detector, and (C) when both detectors agree. In 14% of samples, TP1 > TP2 for the frequency-domain detector (17 false positives, 172 false negatives; Table 6 ). Inspection of false positives reveals different reasons for misclassification. In one example ( Figure 7A, i ), there is a spike wave in the low frequency activity, but the activity in the ripple band is persistent rather than limited to a brief interval during the spike. In another example false positive detection, background activity is classified as a spike-ripple ( Figure 7A, ii ). Here, the low frequency activity resembles a low amplitude spike wave. Alternatively, inspection of false negative detections reveals examples of low amplitude spike waves misclassified by the detector as negative for spike ripples (e.g., Figure 7C, iv ). These examples highlight the challenge of interpreting the features identified by deep learning models. In a third example false positive detection, an abrupt shift in the signal causes filter ringing, which the model fails to recognize as artifact ( Figure 7A, iii ). Inspection of false negatives reveals multiple examples with high baseline activity before spike onset ( Figure 7A, iv ) or large amplitude fluctuations during the wave segment ( Figure 7A, v – vi ). Table 6. Misclassifications resulting from training on synthetic data. N =1372 LSTM-F LSTM-T Both TP1 > TP2 TP1 is accurate; TP2 misclassifies 189 (13.8%) 17 FP + 172 FN 235 (17.3%) 143 FP + 92 FN 24 (1.75%) 9 FP + 15 FN Open in a new tab FP: false positive, FN: false negative, TP: training protocol In 17% of samples, TP1 > TP2 for the time-domain detector (143 false positives, 92 false negatives). The most prevalent confound in the false positives is the presence of multiple or repetitive high frequency features, a common EEG artifact( Park and Hong, 2019 ) ( Figure 7B, i – ii ). We also find examples in which the high frequency waveform superimposed on the low-frequency component is too sharp (i.e., more saw-tooth than sinusoid; Figure 7B, iii ). False negatives are typically samples with low amplitudes ( Figure 7B, iv – vi ). In 2% of samples, TP1 > TP2 for both detectors (9 false positives, 15 false negatives; Table 6 ). These samples are consistent with the observations noted above. The majority of false positives are samples with multiple high frequency oscillations in the sample window ( Figure 7C, i – iii ). False negatives tend to be low amplitude or have large amplitude fluctuations before or after the spike ( Figure 7C, iv – vi ). These observations suggest strategies to improve the synthetic training data, such as: 1) including traces with common artifacts - for example multiple or persistent high frequency oscillations or abrupt shifts in the signal that produce filter ringing( Blanco et al., 2010 ; Otsubo et al., 2008 ; Park and Hong, 2019 ; Zijlmans et al., 2011 ), 2) modeling of additional low-frequency fluctuations before and after the spike, and 3) decreasing the lower bound on spike peak amplitude ( v peak ). Interpreting signal features related to misclassifications An advantage of creating synthetic training data with intuitive parameters is the ability to interpret detector performance. To demonstrate this approach, we estimate a logistic regression model to identify signal features associated with undetected (i.e., false negative) events. Specifically, for all events manually classified by experts as spike ripples ( N = 677), we define a binary outcome variable consistent with the definition of TP1 > TP2 for both detectors: 1 if the spike ripple was classified correctly using training on in vivo data only (TP1) and misclassified by both detectors trained on synthetic data only (TP2), or zero otherwise. In this way, the binary outcome variable represents detections captured by training with in vivo data, and missed by training with synthetic data. For this binary outcome variable, we estimate a logistic regression model using the z-scored features estimated for each event as candidate predictors ( Table 1 ). Predictors were added to the model one-at-a-time (stepwise) based on reduction in model deviance (see Methods ). We identify three features associated with changes in false negative misclassifications. Decreases in the spike amplitude ( v peak ) and spike peak time ( t peak ), and increases in the spike peak to trough difference ( v peak - v tr ), increase the odds of an undetected spike ripple (by factors of 5.8 ( p = 7e-5), 1.5 ( p = 0.020), and 2.8 ( p = 0.0044) for unit changes in the z-scored features, respectively). Consistent with the observations above ( Figure 7C ), these results indicate low amplitude spikes and large amplitude fluctuations around the spike – increasing the spike peak to trough difference – increase the odds of an undetected event by detectors trained only on synthetic data. These results also suggest an approach to improve the synthetic training set: including additional spike ripple examples (from in vivo data or synthetic) that exhibit these features (e.g., low amplitude spikes) to improve detection of these undetected events. Discussion Spike ripples have been proposed as an important biomarker of the epileptogenic zone. However, training neural networks to detect spike ripples remains a challenge due to the difficulty of acquiring gold-standard spike ripple events. To address this challenge, we implemented a new data augmentation approach to generate synthetic spike ripple events. We tested this data augmentation approach using two existing neural networks previously designed to detect spike ripple (or morphologically similar) events. We adapted two Long Short-Term Memory (LSTM) models, differentiated by their architectures and analysis domains - one operating on frequency domain data, and the other on time domain data. We trained these networks systematically across three distinct paradigms: with in vivo human EEG recordings alone, with synthetic data alone, and with a sequential approach that initially leverages the synthetic data for training followed by the in vivo data. We compared each paradigm’s ability to detect spike ripple events. For the frequency-domain and time-domain methods, we found augmentation marginally improved performance, with best performance occurring for networks trained the combined synthetic and in vivo data. Data augmentation is a common step in training a deep learning model. Augmentation commonly involves transforming real observations in a way that does not corrupt the ground truth - for example, by stretching or rotating an image, or by adding a small amount of noise. Another augmentation approach is to interpolate between existing observations (e.g., SMOTE( Chawla et al., 2002 )) or generate new data with the same statistics as the training set (e.g., auxiliary classifier generative adversarial networks( Geng et al., 2021 )). Interpolation approaches assume that the training data covers the full space of possible observations, although complete coverage may not be possible for high-dimensional data. Here we attempt to mitigate this issue by generating synthetic data based upon expert knowledge and previous descriptions of spike ripples. Directly comparing the impact of data augmentation methods on spike ripple detection remains an important topic for future work. Synthetic spike ripples were composed of three components: a low frequency spike component, a high frequency ripple component, and background noise. The spike and ripple components are characterized by 8 and 7 interpretable parameters, respectively. We utilized this number of parameters to capture the most salient, interpretable features of these components (e.g., the spike amplitudes and ripple frequency). While these parameters allow flexibility to capture different types of spike and ripple waveforms, the large number of parameters does make searching the parameter space more difficult. To support a more efficient exploration of the parameter space, future work could reduce the degrees of freedom by eliminating parameters or fixing the ratio between parameters. This interpretability allowed us to generate the synthetic data by referring to previous descriptions, for example to establish reasonable spike widths and ripple amplitudes. This interpretability also allowed us to analyze the detector classifications in the context of these features and identify specific signal features associated with misclassifications. Understanding these misclassifications suggests strategies to improve detector performance. For instance, we found that increases in spike amplitude reduce the false negative rate, or alternatively that both detectors miss spike ripples with low amplitude spikes. A strategy to improve detector performance, therefore, is to incorporate more examples of observations with lower amplitude spikes in the training data. Finally, we also noted several examples where the detectors mistakenly classified common artifacts as spike ripples ( Figure 7 ). Therefore, a strategy to improve detector performance is to generate synthetic examples of artifacts and incorporate these into the training data. We examined the impact of data augmentation on two different network architectures. These networks differed in multiple ways, including the type of input feature (time domain versus frequency domain), the degree of complexity, and in the tuning parameters. We found that the frequency-domain method consistently outperformed the time-domain method in classification accuracy. We propose that this difference results from the differing complexity of the approaches, both in the network architectures and in the feature dimensionality. The frequency-domain method compresses the time series data to 8 frequency bands in three 250 ms intervals. The resulting input - with 24 features - creates a more general representation of an event, compared to the specific value at each point of the original time series data. We propose that this more general representation of the input data supports improved generalization of the resulting trained network. In addition, the differing network complexities may contribute to generalizability. Compared to the frequency-domain method, the time-domain method includes an extra bidirectional LSTM layer, and 12 additional normalization, dropout, and convolutional layers. The many additional parameters in the time-domain method may result in overfitting to the training data to minimize loss, degrading generalization. Future work on the time-domain method could involve further optimization, alternative architectures (e.g., removing layers to reduce complexity of the architecture), or alternative training approaches (e.g., training from random instead of pre-trained weights). Here, we generated synthetic data with the goal of more thoroughly sampling the event space. Generating more synthetic data (e.g., 1 million samples instead of 10,000) would better cover the event space, allowing for the inclusion of rarer event signatures and subtle variations that are less frequently observed. Further, a more diverse training dataset could improve generalizability of the model, reducing the likelihood of model bias towards overrepresented event characteristics. However, reliance on synthetic data assumes that these events accurately represent in vivo data, and a much larger training set will increase computational costs. Here, we demonstrate a new data augmentation procedure to improve detection of spike ripple events. With continued model development and training, coupled with a wider breadth of augmentations, more robust, accurate, and clinically relevant models for spike ripple detection can continue to be developed. Highlights. Spike ripples are a biomarker of epilepsy Data augmentation enhances spike ripple detection in brain voltage recordings Synthetic data combined with in vivo data marginally improves performance Time and frequency domain LSTM networks support spike ripple detection Acknowledgements The authors thank the Scientific Computing and Visualization group at BU for computational resources. Declaration of Funding This work was supported by NIH NINDS R01NS110669, NIH F31MH133306, and NIH NINDS R01NS119483. Footnotes Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain. Data Availability Statement Raw data were generated at Massachusetts General Hospital and the Athinoula A. Martinos Center for Biomedical Imaging. Derived data supporting the findings of this study are available from the corresponding author on request. References Alkawadri R, Gaspard N, Goncharova II, Spencer DD, Gerrard JL, Zaveri H, Duckrow RB, Blumenfeld H, Hirsch LJ, 2014. The spatial and signal characteristics of physiologic high frequency oscillations. Epilepsia 55, 1986–1995. 10.1111/epi.12851 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Ayala GF, Dichter M, Gumnit RJ, Matsumoto H, Spencer WA, 1973. Genesis of epileptic interictal spikes. New knowledge of cortical feedback systems suggests a neurophysiological explanation of brief paroxysms. Brain Res. 52, 1–17. 10.1016/0006-8993(73)90647-1 [ DOI ] [ PubMed ] [ Google Scholar ] Blanco JA, Stead M, Krieger A, Viventi J, Marsh WR, Lee KH, Worrell GA, Litt B, 2010. Unsupervised Classification of High-Frequency Oscillations in Human Neocortical Epilepsy and Control Patients. J. Neurophysiol 104, 2900–2912. 10.1152/jn.01082.2009 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Boran E, Sarnthein J, Krayenbühl N, Ramantani G, Fedele T, 2019. High-frequency oscillations in scalp EEG mirror seizure frequency in pediatric focal epilepsy. Sci. Rep 9, 16560. 10.1038/s41598-019-52700-w [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Bozinovski S, 2020. Reminder of the First Paper on Transfer Learning in Neural Networks, 1976. Informatica 44. 10.31449/inf.v44i3.2828 [ DOI ] [ Google Scholar ] Buzsáki G, Silva FLD, 2012. High frequency oscillations in the intact brain. Prog. Neurobiol 98, 241–249. 10.1016/j.pneurobio.2012.02.004 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Chabolla DR, 2002. Characteristics of the Epilepsies. Mayo Clin. Proc 77, 981–990. 10.4065/77.9.981 [ DOI ] [ PubMed ] [ Google Scholar ] Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP, 2002. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res 16, 321–357. 10.1613/jair.953 [ DOI ] [ Google Scholar ] Chu CJ, Chan A, Song D, Staley KJ, Stufflebeam SM, Kramer MA, 2017. A semi-automated method for rapid detection of ripple events on interictal voltage discharges in the scalp electroencephalogram. J. Neurosci. Methods 277, 46–55. 10.1016/j.jneumeth.2016.12.009 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Cimbalnik J, Brinkmann B, Kremen V, Jurak P, Berry B, Gompel JV, Stead M, Worrell G, 2018. Physiological and pathological high frequency oscillations in focal epilepsy. Ann. Clin. Transl. Neurol 5, 1062–1076. 10.1002/acn3.618 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Dubey VK, Sarkar S, Shukla R, Singh G, Sahani A, 2022. Epileptic Seizure Stage Classification from EEG Signal Using ResNet18 Model and Data Augmentation, in: 2022 IEEE Delhi Section Conference (DELCON). Presented at the 2022 IEEE Delhi Section Conference (DELCON), IEEE, New Delhi, India, pp. 1–5. 10.1109/DELCON54057.2022.9753352 [ DOI ] [ Google Scholar ] Dümpelmann M, Jacobs J, Schulze-Bonhage A, 2015. Temporal and spatial characteristics of high frequency oscillations as a new biomarker in epilepsy. Epilepsia 56, 197–206. 10.1111/epi.12844 [ DOI ] [ PubMed ] [ Google Scholar ] Engel J, 2011. Biomarkers in epilepsy: introduction. Biomark. Med 5, 537–544. 10.2217/bmm.11.62 [ DOI ] [ PubMed ] [ Google Scholar ] Fiest KM, Sauro KM, Wiebe S, Patten SB, 2016. Prevalence and incidence of epilepsy. [ DOI ] [ PubMed ] Fisher RS, Boas WVE, Blume W, Elger C, Genton P, Lee P, Engel J, 2005. Epileptic Seizures and Epilepsy: Definitions Proposed by the International League Against Epilepsy (ILAE) and the International Bureau for Epilepsy (IBE). Epilepsia 46, 470–472. 10.1111/j.0013-9580.2005.66104.x [ DOI ] [ PubMed ] [ Google Scholar ] Frauscher B, Bartolomei F, Kobayashi K, Cimbalnik J, Van ‘T Klooster MA, Rampp S, Otsubo H, Höller Y, Wu JY, Asano E, Engel J, Kahane P, Jacobs J, Gotman J, 2017. High-frequency oscillations: The state of clinical research. Epilepsia 58, 1316–1329. 10.1111/epi.13829 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] French JA, 2007. Refractory Epilepsy: Clinical Overview. Epilepsia 48, 3–7. 10.1111/j.1528-1167.2007.00992.x [ DOI ] [ PubMed ] [ Google Scholar ] Fritsch FN, Carlson RE, 1980. Monotone Piecewise Cubic Interpolation. SIAM J. Numer. Anal 17, 238–246. 10.1137/0717021 [ DOI ] [ Google Scholar ] Geller EB, Skarpaas TL, Gross RE, Goodman RR, Barkley GL, Bazil CW, Berg MJ, Bergey GK, Cash SS, Cole AJ, Duckrow RB, Edwards JC, Eisenschenk S, Fessler J, Fountain NB, Goldman AM, Gwinn RP, Heck C, Herekar A, Hirsch LJ, Jobst BC, King-Stephens D, Labar DR, Leiphart JW, Marsh WR, Meador KJ, Mizrahi EM, Murro AM, Nair DR, Noe KH, Park YD, Rutecki PA, Salanova V, Sheth RD, Shields DC, Skidmore C, Smith MC, Spencer DC, Srinivasan S, Tatum W, Van Ness PC, Vossler DG, Wharen RE, Worrell GA, Yoshor D, Zimmerman RS, Cicora K, Sun FT, Morrell MJ, 2017. Brain-responsive neurostimulation in patients with medically intractable mesial temporal lobe epilepsy. Epilepsia 58, 994–1004. 10.1111/epi.13740 [ DOI ] [ PubMed ] [ Google Scholar ] Geng D, Alkhachroum A, Melo Bicchi MA, Jagid JR, Cajigas I, Chen ZS, 2021. Deep learning for robust detection of interictal epileptiform discharges. J. Neural Eng 18, 056015. 10.1088/1741-2552/abf28e [ DOI ] [ PubMed ] [ Google Scholar ] González Otárula KA, Von Ellenrieder N, Cuello-Oderiz C, Dubeau F, Gotman J, 2019. High-Frequency Oscillation Networks and Surgical Outcome in Adult Focal Epilepsy. Ann. Neurol 85, 485–494. 10.1002/ana.25442 [ DOI ] [ PubMed ] [ Google Scholar ] Goodfellow I, Bengio Y, Courville A, 2016. Deep Learning. Gotman J, Gloor P, 1976. Automatic recognition and quantification of interictal epileptic activity in the human scalp EEG. Electroencephalogr. Clin. Neurophysiol 41, 513–529. 10.1016/0013-4694(76)90063-8 [ DOI ] [ PubMed ] [ Google Scholar ] Guragain H, Cimbalnik J, Stead M, Groppe DM, Berry BM, Kremen V, Kenney-Jung D, Britton J, Worrell GA, Brinkmann BH, 2018. Spatial variation in high-frequency oscillation rates and amplitudes in intracranial EEG. Neurology 90. 10.1212/WNL.0000000000004998 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Hagen E, Chambers AR, Einevoll GT, Pettersen KH, Enger R, Stasik AJ, 2021. RippleNet: a Recurrent Neural Network for Sharp Wave Ripple (SPW-R) Detection. Neuroinformatics 19, 493–514. 10.1007/s12021-020-09496-2 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] He BJ, Zempel JM, Snyder AZ, Raichle ME, 2010. The Temporal Structures and Functional Significance of Scale-free Brain Activity. Neuron 66, 353–369. 10.1016/j.neuron.2010.04.020 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Heath MT, 2002. Scientific computing: an introductory survey, 2nd ed. ed. McGraw-Hill, Boston. [ Google Scholar ] Heck CN, King-Stephens D, Massey AD, Nair DR, Jobst BC, Barkley GL, Salanova V, Cole AJ, Smith MC, Gwinn RP, Skidmore C, Van Ness PC, Bergey GK, Park YD, Miller I, Geller E, Rutecki PA, Zimmerman R, Spencer DC, Goldman A, Edwards JC, Leiphart JW, Wharen RE, Fessler J, Fountain NB, Worrell GA, Gross RE, Eisenschenk S, Duckrow RB, Hirsch LJ, Bazil C, O’Donovan CA, Sun FT, Courtney TA, Seale CG, Morrell MJ, 2014. Two-year seizure reduction in adults with medically intractable partial onset epilepsy treated with responsive neurostimulation: Final results of the RNS System Pivotal trial. Epilepsia 55, 432–441. 10.1111/epi.12534 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Hochreiter S, Schmidhuber J, 1997. Long Short-Term Memory. Neural Comput. 9, 1735–1780. 10.1162/neco.1997.9.8.1735 [ DOI ] [ PubMed ] [ Google Scholar ] Jacobs J, LeVan P, Chander R, Hall J, Dubeau F, Gotman J, 2008. Interictal high-frequency oscillations (80–500 Hz) are an indicator of seizure onset areas independent of spikes in the human epileptic brain. Epilepsia 49, 1893–1907. 10.1111/j.1528-1167.2008.01656.x [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Jacobs J, Wu JY, Perucca P, Zelmann R, Mader M, Dubeau F, Mathern GW, Schulze-Bonhage A, Gotman J, 2018. Removing high-frequency oscillations: A prospective multicenter study on seizure outcome. Neurology 91. 10.1212/WNL.0000000000006158 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Jacobs J, Zelmann R, Jirsch J, Chander R, Dubeau CCF, Gotman J, 2009. High frequency oscillations (80–500 Hz) in the preictal period in patients with focal seizures. Epilepsia 50, 1780–1792. 10.1111/j.1528-1167.2009.02067.x [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Jacobs J, Zijlmans M, Zelmann R, Chatillon C, Hall J, Olivier A, Dubeau F, Gotman J, 2010. High-frequency electroencephalographic oscillations correlate with outcome of epilepsy surgery. Ann. Neurol 67, 209–220. 10.1002/ana.21847 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Joo HR, Frank LM, 2018. The hippocampal sharp wave–ripple in memory retrieval for immediate use and consolidation. Nat. Rev. Neurosci 19, 744–757. 10.1038/s41583-018-0077-1 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Kane N, Acharya J, Beniczky S, Caboclo L, Finnigan S, Kaplan PW, Shibasaki H, Pressler R, van Putten MJAM, 2017. 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 2, 170–185. 10.1016/j.cnp.2017.07.002 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Khambhati AN, Davis KA, Oommen BS, Chen SH, Lucas TH, Litt B, Bassett DS, 2015. Dynamic Network Drivers of Seizure Generation, Propagation and Termination in Human Neocortical Epilepsy. PLOS Comput. Biol 11, e1004608. 10.1371/journal.pcbi.1004608 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Köksal-Ersöz E, Lazazzera R, Yochum M, Merlet I, Makhalova J, Mercadal B, Sanchez-Todo R, Ruffini G, Bartolomei F, Benquet P, Wendling F, 2022. Signal processing and computational modeling for interpretation of SEEG-recorded interictal epileptiform discharges in epileptogenic and non-epileptogenic zones. J. Neural Eng 19, 055005. 10.1088/1741-2552/ac8fb4 [ DOI ] [ PubMed ] [ Google Scholar ] Korshunova I, Kindermans P-J, Degrave J, Verhoeven T, Brinkmann BH, Dambre J, 2018. Towards Improved Design and Evaluation of Epileptic Seizure Predictors. IEEE Trans. Biomed. Eng 65, 502–510. 10.1109/TBME.2017.2700086 [ DOI ] [ PubMed ] [ Google Scholar ] Kramer MA, Ostrowski LM, Song DY, Thorn EL, Stoyell SM, Parnes M, Chinappen D, Xiao G, Eden UT, Staley KJ, Stufflebeam SM, Chu CJ, 2019. Scalp recorded spike ripples predict seizure risk in childhood epilepsy better than spikes. Brain 142, 1296–1309. 10.1093/brain/awz059 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Kucewicz MT, Cimbalnik J, Matsumoto JY, Brinkmann BH, Bower MR, Vasoli V, Sulc V, Meyer F, Marsh WR, Stead SM, Worrell GA, 2014. High frequency oscillations are associated with cognitive processing in human recognition memory. Brain 137, 2231–2244. 10.1093/brain/awu149 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Li X, Huang Y, Tao S, Cui L, Lhatoo SD, Zhang G-Q, 2019. SeizureBank: A Repository of Analysis-ready Seizure Signal Data. AMIA Annu. Symp. Proc. AMIA Symp 2019, 1111–1120. [ PMC free article ] [ PubMed ] [ Google Scholar ] Malinowska U, Bergey GK, Harezlak J, Jouny CC, 2015. Identification of seizure onset zone and preictal state based on characteristics of high frequency oscillations. Clin. Neurophysiol 126, 1505–1513. 10.1016/j.clinph.2014.11.007 [ DOI ] [ PubMed ] [ Google Scholar ] Matsumoto A, Brinkmann BH, Matthew Stead S, Matsumoto J, Kucewicz MT, Marsh WR, Meyer F, Worrell G, 2013. Pathological and physiological high-frequency oscillations in focal human epilepsy. J. Neurophysiol 110, 1958–1964. 10.1152/jn.00341.2013 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Medvedev AV, Agoureeva GI, Murro AM, 2019. A Long Short-Term Memory neural network for the detection of epileptiform spikes and high frequency oscillations. Sci. Rep 9, 19374. 10.1038/s41598-019-55861-w [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Modur PN, Zhang S, Vitaz TW, 2011. Ictal high-frequency oscillations in neocortical epilepsy: implications for seizure localization and surgical resection: Ictal High-Frequency Oscillations. Epilepsia 52, 1792–1801. 10.1111/j.1528-1167.2011.03165.x [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Nadalin JK, Eden UT, Han X, Richardson RM, Chu CJ, Kramer MA, 2021. Application of a convolutional neural network for fully-automated detection of spike ripples in the scalp electroencephalogram. J. Neurosci. Methods 360, 109239. 10.1016/j.jneumeth.2021.109239 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Nair DR, Laxer KD, Weber PB, Murro AM, Park YD, Barkley GL, Smith BJ, Gwinn RP, Doherty MJ, Noe KH, Zimmerman RS, Bergey GK, Anderson WS, Heck C, Liu CY, Lee RW, Sadler T, Duckrow RB, Hirsch LJ, Wharen RE, Tatum W, Srinivasan S, McKhann GM, Agostini MA, Alexopoulos AV, Jobst BC, Roberts DW, Salanova V, Witt TC, Cash SS, Cole AJ, Worrell GA, Lundstrom BN, Edwards JC, Halford JJ, Spencer DC, Ernst L, Skidmore CT, Sperling MR, Miller I, Geller EB, Berg MJ, Fessler AJ, Rutecki P, Goldman AM, Mizrahi EM, Gross RE, Shields DC, Schwartz TH, Labar DR, Fountain NB, Elias WJ, Olejniczak PW, Villemarette-Pittman NR, Eisenschenk S, Roper SN, Boggs JG, Courtney TA, Sun FT, Seale CG, Miller KL, Skarpaas TL, Morrell MJ, on behalf of the RNS System LTT Study, 2020. Nine-year prospective efficacy and safety of brain-responsive neurostimulation for focal epilepsy. Neurology 95. 10.1212/WNL.0000000000010154 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Nariai H, Hussain SA, Bernardo D, Fallah A, Murata KK, Nguyen JC, Rajaraman RR, Rao LM, Matsumoto JH, Lerner JT, Salamon N, Elashoff D, Sankar R, Wu JY, 2019. Prospective observational study: Fast ripple localization delineates the epileptogenic zone. Clin. Neurophysiol 130, 2144–2152. 10.1016/j.clinph.2019.08.026 [ DOI ] [ PubMed ] [ Google Scholar ] Nonclercq A, Foulon M, Verheulpen D, De Cock C, Buzatu M, Mathys P, Van Bogaert P, 2012. Cluster-based spike detection algorithm adapts to interpatient and intrapatient variation in spike morphology. J. Neurosci. Methods 210, 259–265. 10.1016/j.jneumeth.2012.07.015 [ DOI ] [ PubMed ] [ Google Scholar ] Otsubo H, Ochi A, Imai K, Akiyama T, Fujimoto A, Go C, Dirks P, Donner EJ, 2008. High-frequency oscillations of ictal muscle activity and epileptogenic discharges on intracranial EEG in a temporal lobe epilepsy patient. Clin. Neurophysiol 119, 862–868. 10.1016/j.clinph.2007.12.014 [ DOI ] [ PubMed ] [ Google Scholar ] Park CJ, Hong SB, 2019. High Frequency Oscillations in Epilepsy: Detection Methods and Considerations in Clinical Application. J. Epilepsy Res 9, 1–13. 10.14581/jer.19001 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Rasheed K, Qadir J, O’Brien TJ, Kuhlmann L, Razi A, 2021. A Generative Model to Synthesize EEG Data for Epileptic Seizure Prediction. IEEE Trans. Neural Syst. Rehabil. Eng 29, 2322–2332. 10.1109/TNSRE.2021.3125023 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Shoeibi A, Khodatars M, Ghassemi N, Jafari M, Moridian P, Alizadehsani R, Panahiazar M, Khozeimeh F, Zare A, Hosseini-Nejad H, Khosravi A, Atiya AF, Aminshahidi D, Hussain S, Rouhani M, Nahavandi S, Acharya UR, 2021. Epileptic Seizures Detection Using Deep Learning Techniques: A Review. Int. J. Environ. Res. Public. Health 18, 5780. 10.3390/ijerph18115780 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Spring AM, Pittman DJ, Aghakhani Y, Jirsch J, Pillay N, Bello-Espinosa LE, Josephson C, Federico P, 2017. Interrater reliability of visually evaluated high frequency oscillations. Clin. Neurophysiol 128, 433–441. 10.1016/j.clinph.2016.12.017 [ DOI ] [ PubMed ] [ Google Scholar ] Tatum WO, 2014. Handbook of EEG interpretation, Second edition. ed. Demos Medical, New York. [ Google Scholar ] Urrestarazu E, Chander R, Dubeau F, Gotman J, 2007. Interictal high-frequency oscillations (100–500 Hz) in the intracerebral EEG of epileptic patients. Brain 130, 2354–2366. 10.1093/brain/awm149 [ DOI ] [ PubMed ] [ Google Scholar ] Van Klink NEC, Van ‘T Klooster MA, Leijten FSS, Jacobs J, Braun KPJ, Zijlmans M, 2016. Ripples on rolandic spikes: A marker of epilepsy severity. Epilepsia 57, 1179–1189. 10.1111/epi.13423 [ DOI ] [ PubMed ] [ Google Scholar ] Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, Burovski E, Peterson P, Weckesser W, Bright J, Van Der Walt SJ, Brett M, Wilson J, Millman KJ, Mayorov N, Nelson ARJ, Jones E, Kern R, Larson E, Carey CJ, Polat İ, Feng Y, Moore EW, VanderPlas J, Laxalde D, Perktold J, Cimrman R, Henriksen I, Quintero EA, Harris CR, Archibald AM, Ribeiro AH, Pedregosa F, Van Mulbregt P, SciPy 1.0 Contributors, Vijaykumar A, Bardelli AP, Rothberg A, Hilboll A, Kloeckner A, Scopatz A, Lee A, Rokem A, Woods CN, Fulton C, Masson C, Häggström C, Fitzgerald C, Nicholson DA, Hagen DR, Pasechnik DV, Olivetti E, Martin E, Wieser E, Silva F, Lenders F, Wilhelm F, Young G, Price GA, Ingold G-L, Allen GE, Lee GR, Audren H, Probst I, Dietrich JP, Silterra J, Webber JT, Slavič J, Nothman J, Buchner J, Kulick J, Schönberger JL, De Miranda Cardoso JV, Reimer J, Harrington J, Rodríguez JLC, Nunez-Iglesias J, Kuczynski J, Tritz K, Thoma M, Newville M, Kümmerer M, Bolingbroke M, Tartre M, Pak M, Smith NJ, Nowaczyk N, Shebanov N, Pavlyk O, Brodtkorb PA, Lee P, McGibbon RT, Feldbauer R, Lewis S, Tygier S, Sievert S, Vigna S, Peterson S, More S, Pudlik T, Oshima T, Pingel TJ, Robitaille TP, Spura T, Jones TR, Cera T, Leslie T, Zito T, Krauss T, Upadhyay U, Halchenko YO, Vázquez-Baeza Y, 2020. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 17, 261–272. 10.1038/s41592-019-0686-2 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Wei Z, Zou J, Zhang J, Xu J, 2019. Automatic epileptic EEG detection using convolutional neural network with improvements in time-domain. Biomed. Signal Process. Control 53, 101551. 10.1016/j.bspc.2019.04.028 [ DOI ] [ Google Scholar ] Wilson SB, Emerson R, 2002. Spike detection: a review and comparison of algorithms. Clin. Neurophysiol 113, 1873–1881. 10.1016/S1388-2457(02)00297-3 [ DOI ] [ PubMed ] [ Google Scholar ] Worrell G, Gotman J, 2011. High-frequency oscillations and other electrophysiological biomarkers of epilepsy: clinical studies. Biomark. Med 5, 557–566. 10.2217/bmm.11.74 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Worrell GA, Jerbi K, Kobayashi K, Lina JM, Zelmann R, Le Van Quyen M, 2012. Recording and analysis techniques for high-frequency oscillations. Prog. Neurobiol., High Frequency Oscillations in Cognition and Epilepsy 98, 265–278. 10.1016/j.pneurobio.2012.02.006 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Xu Z, Wang T, Cao J, Bao Z, Jiang T, Gao F, 2021. BECT Spike Detection Based on Novel EEG Sequence Features and LSTM Algorithms. IEEE Trans. Neural Syst. Rehabil. Eng 29, 1734–1743. 10.1109/TNSRE.2021.3107142 [ DOI ] [ PubMed ] [ Google Scholar ] Zeimarani B, Costa MGF, Nurani NZ, Bianco SR, De Albuquerque Pereira WC, Filho CFFC, 2020. Breast Lesion Classification in Ultrasound Images Using Deep Convolutional Neural Network. IEEE Access 8, 133349–133359. 10.1109/ACCESS.2020.3010863 [ DOI ] [ Google Scholar ] Zhao B, Hu W, Zhang C, Wang X, Wang Y, Liu C, Mo J, Yang X, Sang L, Ma Y, Shao X, Zhang K, Zhang J, 2020. Integrated Automatic Detection, Classification and Imaging of High Frequency Oscillations With Stereoelectroencephalography. Front. Neurosci 14, 546. 10.3389/fnins.2020.00546 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Zijlmans M, Jacobs J, Kahn YU, Zelmann R, Dubeau F, Gotman J, 2011. Ictal and interictal high frequency oscillations in patients with focal epilepsy. Clin. Neurophysiol 122, 664–671. 10.1016/j.clinph.2010.09.021 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Zuo R, Wei J, Li X, Li C, Zhao C, Ren Z, Liang Y, Geng X, Jiang C, Yang X, Zhang X, 2019. Automated Detection of High-Frequency Oscillations in Epilepsy Based on a Convolutional Neural Network. Front. Comput. Neurosci 13, 6. 10.3389/fncom.2019.00006 [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Availability Statement Raw data were generated at Massachusetts General Hospital and the Athinoula A. Martinos Center for Biomedical Imaging. Derived data supporting the findings of this study are available from the corresponding author on request. ACTIONS View on publisher site PDF (1.6 MB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top
Related documents
- Computational Neuroscience of Language Processing in the Human Brain#1161826
- Beyond flickering: introducing code-modulated motion visual evoked potentials for brain-computer interfacing.#653494
- Beyond Flickering: Introducing Code-Modulated Motion Visual Evoked Potentials for Brain-Computer Interfacing#652308
- Beyond Flickering: Introducing Code-Modulated Motion Visual Evoked Potentials for Brain-Computer Interfacing#650855
- DeepEpiX: A software for visualization, annotation and automatic epileptical spike detection in MEG recordings#395375
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive