<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Comput. Neurosci.</journal-id>
<journal-title>Frontiers in Computational Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Comput. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5188</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncom.2019.00006</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Automated Detection of High-Frequency Oscillations in Epilepsy Based on a Convolutional Neural Network</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Zuo</surname> <given-names>Rui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/592706/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Wei</surname> <given-names>Jing</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/182938/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Li</surname> <given-names>Xiaonan</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/679375/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Li</surname> <given-names>Chunlin</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/509608/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Zhao</surname> <given-names>Cui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/625739/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Ren</surname> <given-names>Zhaohui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/679382/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Liang</surname> <given-names>Ying</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/296041/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Geng</surname> <given-names>Xinling</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/506639/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Jiang</surname> <given-names>Chenxi</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/679434/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Yang</surname> <given-names>Xiaofeng</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/408990/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Zhang</surname> <given-names>Xu</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="c002"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/679366/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>School of Biomedical Engineering, Capital Medical University</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<aff id="aff2"><sup>2</sup><institution>Beijing Key Laboratory of Fundamental Research on Biomechanics in Clinical Application, Capital Medical University</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<aff id="aff3"><sup>3</sup><institution>Neuroelectrophysiological Laboratory, Xuanwu Hospital, Capital Medical University</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<aff id="aff4"><sup>4</sup><institution>Center of Epilepsy, Beijing Institute for Brain Disorders</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Tianyi Yan, Beijing Institute of Technology, China</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Joachim Hass, Central Institute for Mental Health, Germany; James Tao, University of Chicago, United States</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Xiaofeng Yang <email>xiaofengyang&#x00040;yahoo.com</email></corresp>
<corresp id="c002">Xu Zhang <email>zhangxu&#x00040;ccmu.edu.cn</email></corresp>
<fn fn-type="other" id="fn002"><p>&#x02020;These authors have contributed equally to this work</p></fn></author-notes>
<pub-date pub-type="epub">
<day>12</day>
<month>02</month>
<year>2019</year>
</pub-date>
<pub-date pub-type="collection">
<year>2019</year>
</pub-date>
<volume>13</volume>
<elocation-id>6</elocation-id>
<history>
<date date-type="received">
<day>03</day>
<month>09</month>
<year>2018</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>01</month>
<year>2019</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2019 Zuo, Wei, Li, Li, Zhao, Ren, Liang, Geng, Jiang, Yang and Zhang.</copyright-statement>
<copyright-year>2019</copyright-year>
<copyright-holder>Zuo, Wei, Li, Li, Zhao, Ren, Liang, Geng, Jiang, Yang and Zhang</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract><p>Epilepsy is one of the most common chronic neurological diseases. High-frequency oscillations (HFOs) have emerged as promising biomarkers for the epileptogenic zone. However, visual marking of HFOs is a time-consuming and laborious process. Several automated techniques have been proposed to detect HFOs, yet these are still far from being suitable for application in a clinical setting. Here, ripples and fast ripples from intracranial electroencephalograms were detected in six patients with intractable epilepsy using a convolutional neural network (CNN) method. This approach proved more accurate than using four other HFO detectors integrated in RIPPLELAB, providing a higher sensitivity (77.04% for ripples and 83.23% for fast ripples) and specificity (72.27% for ripples and 79.36% for fast ripples) for HFO detection. Furthermore, for one patient, the Cohen&#x00027;s kappa coefficients comparing automated detection and visual analysis results were 0.541 for ripples and 0.777 for fast ripples. Hence, our automated detector was capable of reliable estimates of ripples and fast ripples with higher sensitivity and specificity than four other HFO detectors. Our detector may be used to assist clinicians in locating epileptogenic zone in the future.</p></abstract>
<kwd-group>
<kwd>epilepsy</kwd>
<kwd>convolutional neural network</kwd>
<kwd>high-frequency oscillations</kwd>
<kwd>ripples</kwd>
<kwd>fast ripples</kwd>
<kwd>automated detection</kwd>
</kwd-group>
<contract-sponsor id="cn001">Capital Health Research and Development of Special<named-content content-type="fundref-id">10.13039/501100010270</named-content></contract-sponsor>
<contract-sponsor id="cn002">National Natural Science Foundation of China<named-content content-type="fundref-id">10.13039/501100001809</named-content></contract-sponsor> <counts>
<fig-count count="6"/>
<table-count count="4"/>
<equation-count count="3"/>
<ref-count count="44"/>
<page-count count="11"/>
<word-count count="8043"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>Introduction</title>
<p>Epilepsy is one of the most common chronic neurological diseases, with an incidence of between 0.5 and 1% (Jacobs et al., <xref ref-type="bibr" rid="B19">2012</xref>; Chaibi et al., <xref ref-type="bibr" rid="B7">2013</xref>), affecting about 67 million people worldwide (Holden et al., <xref ref-type="bibr" rid="B17">2005</xref>; Makeyev et al., <xref ref-type="bibr" rid="B29">2017</xref>). Most patients are treated successfully with antiepileptic drugs, although about 30% still suffer from medically refractory epilepsy (Kwan and Brodie, <xref ref-type="bibr" rid="B24">2000</xref>; Pati and Alexopoulos, <xref ref-type="bibr" rid="B32">2010</xref>; Tamilia et al., <xref ref-type="bibr" rid="B37">2017</xref>). For these individuals, surgical removal of the epileptogenic zone (EZ), where such seizures originate, is considered the most promising treatment; however, surgical resection depends on correct delimitation of the EZ (Jacobs et al., <xref ref-type="bibr" rid="B19">2012</xref>; Tamilia et al., <xref ref-type="bibr" rid="B37">2017</xref>). Accurate delimitation of the EZ is the main determinant of successful epilepsy surgery.</p>
<p>High-frequency oscillations (HFOs) have been defined as events with four consecutive oscillations between 80 and 500 Hz that clearly rise above the baseline (Zelmann et al., <xref ref-type="bibr" rid="B44">2009</xref>). Another definition is a root mean square (RMS) amplitude increase of more than five times the standard deviation compared with background electroencephalogram (EEG), a duration of at least 6 ms, and more than six peaks (positive plus negative) more than three standard deviations above the mean baseline (Staba et al., <xref ref-type="bibr" rid="B36">2002</xref>). Traditionally, EEG frequencies are believed to be relevant up to the beta, theta, and gamma band (Wang et al., <xref ref-type="bibr" rid="B39">2017</xref>; Yan et al., <xref ref-type="bibr" rid="B41">2017a</xref>,<xref ref-type="bibr" rid="B42">b</xref>). But recent findings in rodents and humans have shown a possible relation between HFOs and the EZ (Bragin et al., <xref ref-type="bibr" rid="B4">1999</xref>; Staba et al., <xref ref-type="bibr" rid="B36">2002</xref>; Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>). Furthermore, two post-surgical studies have indicated a good correlation between surgical outcome and the removal of tissue corresponding to channels with high HFO rates (Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>; Wu et al., <xref ref-type="bibr" rid="B40">2010</xref>). HFOs have gradually emerged as promising new biomarkers for the identification of EZ (Jirsch et al., <xref ref-type="bibr" rid="B21">2006</xref>; Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>, <xref ref-type="bibr" rid="B19">2012</xref>; Chou et al., <xref ref-type="bibr" rid="B8">2016</xref>; Cimbalnik et al., <xref ref-type="bibr" rid="B10">2016</xref>; Fedele et al., <xref ref-type="bibr" rid="B13">2016</xref>). HFOs can be subdivided according to their spectral range into ripples (80&#x02013;200 Hz) and fast ripples (200&#x02013;500 Hz, FRs) (Jacobs et al., <xref ref-type="bibr" rid="B19">2012</xref>; Pail et al., <xref ref-type="bibr" rid="B31">2013</xref>). Whereas, ripples may reflect inhibitory field potentials that synchronize neuronal activity, thus facilitating information transfer over long distances, fast ripples are pathological and are believed to reflect summated action potentials of spontaneously bursting neurons (Cendes and Meador, <xref ref-type="bibr" rid="B6">2018</xref>).</p>
<p>Nevertheless, detection of HFOs is complicated and time-consuming owing to their short duration and low amplitude (Lopez-Cuevas et al., <xref ref-type="bibr" rid="B28">2013</xref>; Gliske et al., <xref ref-type="bibr" rid="B16">2016</xref>). Existing detection methods can be categorized into automated detection and visual marking, which is a highly time-consuming process (it takes about 10 h to visually mark HFOs in a ten-channel 10-min recording) (Staba et al., <xref ref-type="bibr" rid="B36">2002</xref>; Gardner et al., <xref ref-type="bibr" rid="B15">2007</xref>; Zelmann et al., <xref ref-type="bibr" rid="B44">2009</xref>), and prone to reviewer bias and drift in judgement (Cimbalnik et al., <xref ref-type="bibr" rid="B9">2018</xref>). As a consequence, the development of automated HFO detectors is crucial for the eventual utilization of HFOs in clinical settings.</p>
<p>Several automated HFO detectors have been developed by different research groups. In 2002, Staba et al. (<xref ref-type="bibr" rid="B36">2002</xref>) introduced automated detection of HFOs based on the RMS feature of the band-pass-filtered signals. Thresholding-based approaches have become popular since the pioneering work of Staba et al. (<xref ref-type="bibr" rid="B36">2002</xref>), for example, those based on short-time line-length (Gardner et al., <xref ref-type="bibr" rid="B15">2007</xref>), complex Morlet wavelet transforms (Chaibi et al., <xref ref-type="bibr" rid="B7">2013</xref>), the Hilbert envelope (Dumpelmann et al., <xref ref-type="bibr" rid="B11">2012</xref>), and approximate entropy (Lopez-Cuevas et al., <xref ref-type="bibr" rid="B28">2013</xref>). Since 2010, detection algorithms have been designed to tackle the problem of low specificity through various approaches. Dumpelmann et al. (<xref ref-type="bibr" rid="B11">2012</xref>) chose signal power, line-length, and instantaneous frequency as input features, and used a radial basis function neural network to detect HFOs. Zelmann et al. (<xref ref-type="bibr" rid="B43">2010</xref>) improved the RMS detector by computing the energy threshold from baseline segments, Chaibi et al. (<xref ref-type="bibr" rid="B7">2013</xref>) combined RMS and empiric mode decomposition, and Ren et al. (<xref ref-type="bibr" rid="B33">2018</xref>) used the maximum distributed peak points method to improve baseline determination accuracy. However, most of the automated HFO processing methods still had drawbacks such as low specificity and high rates of false positives. These detectors are still unsuitable for application in a clinical setting.</p>
<p>In recent years, deep learning has been widely applied in diverse domains such as computer vision, natural language processing, and speech recognition (LeCun et al., <xref ref-type="bibr" rid="B25">2015</xref>). It forms the basis of various machine learning algorithms that model high-level data abstractions, and does not rely on handcrafted features (LeCun et al., <xref ref-type="bibr" rid="B25">2015</xref>; Schmidhuber, <xref ref-type="bibr" rid="B34">2015</xref>). The convolutional neural network (CNN), as a deep learning algorithm, has shown remarkable performance in challenging two-dimensional (2D) medical image computing problems, such as classification of lung image patches with interstitial lung disease (Li et al., <xref ref-type="bibr" rid="B27">2014</xref>), breast cancer classification from mammography (Kaur, <xref ref-type="bibr" rid="B23">2016</xref>), and the classification of nuclear cataract severity from eye examination images (Gao et al., <xref ref-type="bibr" rid="B14">2015</xref>). CNN is a biologically inspired hierarchical multilayered neural network approach that simulates the human visual cortex and detects translation invariance features (Alotaibi and Mahmood, <xref ref-type="bibr" rid="B2">2016</xref>). CNN is superior to other approaches in that it conducts automatic learning for complex features from raw data and performs the classification in an end-to-end manner (Sors et al., <xref ref-type="bibr" rid="B35">2018</xref>). CNN has also shown outstanding effectiveness in solving the EEG signal classification problem. Johansen et al. (<xref ref-type="bibr" rid="B22">2016</xref>) developed a CNN model for detecting spikes in EEGs of epileptic patients. Achilles et al. (<xref ref-type="bibr" rid="B1">2016</xref>) showed the superior learning performance of CNN for epileptic seizure detection. Therefore, we proposed that CNN could be used for automated detection of ripples and fast ripples in patients with intractable epilepsy. In this study, we converted a 1D intracranial EEG (iEEG) signal to 2D image signals and transformed the detection of ripples and fast ripples into a binary classification of ripples and non-ripples, as well as fast ripples and non-fast ripples. Then, a CNN model was built to classify ripples and non-ripples, as well as fast ripples and non-fast ripples. Finally, we compared the performance of our detector with the other four HFO detectors integrated in RIPPLELAB. The ultimate goal was to provide the location of EZ through the distribution of HFO generation.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>Methods</title>
<sec>
<title>Subjects</title>
<p>Patients diagnosed with medically intractable epilepsy who underwent excision of epileptic foci in the functional neurosurgery department of Xuanwu Hospital of Capital Medical University were recruited from March 2016 to May 2017. A total of 19 participants (12 males and seven females) with a mean age of 22 years (<italic>SD</italic> &#x0003D; 10; range 10&#x02013;42 years) were included in the study. Intracranial data were recorded, with a sampling frequency of 4,096 Hz. Patient characteristics and electrode implantation sites are listed in <xref ref-type="table" rid="T1">Table 1</xref>. All patients gave informed consent in agreement with the Research Ethics Board of Xuanwu Hospital.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Clinical characteristics and implantation sites of the 19 patients.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Patient</bold></th>
<th valign="top" align="left"><bold>MRI</bold></th>
<th valign="top" align="left"><bold>Implantation sites</bold></th>
<th valign="top" align="left"><bold>No. of channels</bold></th>
<th valign="top" align="left"><bold>Pathology</bold></th>
<th valign="top" align="left"><bold>Engel classification (one year after surgery)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">LIF, LC, LSF, LSP, LSI, LLT</td>
<td valign="top" align="left">82</td>
<td valign="top" align="left">FCD IIb, TSC</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">2</td>
<td valign="top" align="left">Left DCC, left FPS, left ventricular wall ectopic</td>
<td valign="top" align="left">LT, LC, LP</td>
<td valign="top" align="left">76</td>
<td valign="top" align="left">FCD Ib</td>
<td valign="top" align="left">II</td>
</tr>
<tr>
<td valign="top" align="left">3</td>
<td valign="top" align="left">HS (right MTL)</td>
<td valign="top" align="left">LH, RH, RI</td>
<td valign="top" align="left">74</td>
<td valign="top" align="left">FCD IIIa, HS</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="left">Left temporal encephalomalacia foci</td>
<td valign="top" align="left">LSF, LLT, LIF, RP, RO, LO</td>
<td valign="top" align="left">97</td>
<td valign="top" align="left">HS</td>
<td valign="top" align="left">III</td>
</tr>
<tr>
<td valign="top" align="left">5</td>
<td valign="top" align="left">HS (bilateral)</td>
<td valign="top" align="left">RSF, RC, RIF, RSP, RLP</td>
<td valign="top" align="left">128</td>
<td valign="top" align="left">FCD I</td>
<td valign="top" align="left">III</td>
</tr>
<tr>
<td valign="top" align="left">6</td>
<td valign="top" align="left">Left temporal encephalomalacia foci</td>
<td valign="top" align="left">LSF, LIF, LLF, LLT, LP</td>
<td valign="top" align="left">96</td>
<td valign="top" align="left">FCD IIId</td>
<td valign="top" align="left">III</td>
</tr>
<tr>
<td valign="top" align="left">7</td>
<td valign="top" align="left">None</td>
<td valign="top" align="left">RLT, RP, LLT, LC, RC</td>
<td valign="top" align="left">112</td>
<td valign="top" align="left">FCD I</td>
<td valign="top" align="left">III</td>
</tr>
<tr>
<td valign="top" align="left">8</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">RIF, RLF, RSF, RO</td>
<td valign="top" align="left">96</td>
<td valign="top" align="left">FCD I</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">9</td>
<td valign="top" align="left">LMS, left mastoiditis</td>
<td valign="top" align="left">RF, RP</td>
<td valign="top" align="left">80</td>
<td valign="top" align="left">FCD IIb</td>
<td valign="top" align="left">III</td>
</tr>
<tr>
<td valign="top" align="left">10</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">RSF, RIF, RC, RST, RP, LIF, LSF, LC, LST, LP</td>
<td valign="top" align="left">96</td>
<td valign="top" align="left">FCD IIId</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">11</td>
<td valign="top" align="left">HS (left MTL)</td>
<td valign="top" align="left">LH, RLT, LOT</td>
<td valign="top" align="left">118</td>
<td valign="top" align="left">None</td>
<td valign="top" align="left">II</td>
</tr>
<tr>
<td valign="top" align="left">12</td>
<td valign="top" align="left">None</td>
<td valign="top" align="left">LOT, LIO, LP, RTH, RO, RP</td>
<td valign="top" align="left">96</td>
<td valign="top" align="left">FCD I</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">13</td>
<td valign="top" align="left">Abnormal signal in right cingulate gyrus</td>
<td valign="top" align="left">LT, RLF, RIF, RLT, RC</td>
<td valign="top" align="left">72</td>
<td valign="top" align="left">None</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">14</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">RSF, RIF, RC, LSF, LIF, LC</td>
<td valign="top" align="left">80</td>
<td valign="top" align="left">FCD Ic</td>
<td valign="top" align="left">II</td>
</tr>
<tr>
<td valign="top" align="left">15</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">RIF, RSF, RLP</td>
<td valign="top" align="left">62</td>
<td valign="top" align="left">FCD IIb</td>
<td valign="top" align="left">&#x02013;</td>
</tr>
<tr>
<td valign="top" align="left">16</td>
<td valign="top" align="left">HS (right MTL)</td>
<td valign="top" align="left">RP, RSP, RSF, RIF</td>
<td valign="top" align="left">82</td>
<td valign="top" align="left">FCD Ia</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">17</td>
<td valign="top" align="left">High signal in the right frontal local cortex</td>
<td valign="top" align="left">RP, RPO, RIF, RLF</td>
<td valign="top" align="left">82</td>
<td valign="top" align="left">FCD Ic</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">18</td>
<td valign="top" align="left">HS (left MTL)</td>
<td valign="top" align="left">LF, LSI, LFP</td>
<td valign="top" align="left">90</td>
<td valign="top" align="left">FCD I</td>
<td valign="top" align="left">I</td>
</tr>
<tr>
<td valign="top" align="left">19</td>
<td valign="top" align="left">No lesion</td>
<td valign="top" align="left">RIF, RLF, LH</td>
<td valign="top" align="left">64</td>
<td valign="top" align="left">FCD IIa</td>
<td valign="top" align="left">I</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Gender: M, male; F, female. MRI: DCC, dysgenesis of the corpus callosum; FPS, frontoparietal schizencephaly. HS, hippocampal sclerosis; MTL, mesial temporal lobe; LMS, left maxillary sinusitis; Implantation sites: LIF, left inferior frontal; LC, left central; LSF, left superior frontal; LSP, left superior parietal; LSI, left superior insula; LLT, left lateral temporal; LT, left temporal; LP, left parietal; LH, left hippocampus; RH, right hippocampus; RI, right insula; RSF, right superior frontal; RC, right central; RIF, right inferior frontal; RSP, right superior parietal; RLP, right lateral parietal; LLF, left lateral frontal; RF, right frontal; RP, right parietal; LOT, left occipital-temporal; LIO, left inferior temporal; RTH, right temporal-hippocampus; RO, right occipital; LO, left occipital; RLF, right lateral frontal; RLT, right lateral temporal; RPO, right parietal-occipital; LF, left frontal; LFP, left frontal-cingulate. Pathologies: FCD, focal cortical dysplasia; HS, hippocampal sclerosis; TSC, tuberous sclerosis complex</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>Data Preprocessing</title>
<p>We recorded interictal samples of 5 min during the slow-wave sleep period from each patient, as there is less muscle activities and more frequent occurrences of HFOs during slow-wave sleep compared with wakefulness (Zelmann et al., <xref ref-type="bibr" rid="B44">2009</xref>; Burnos et al., <xref ref-type="bibr" rid="B5">2014</xref>). There was also the advantage that a 5-min segment could provide the same information as a longer interval when identifying HFOs during slow-wave sleep (Zelmann et al., <xref ref-type="bibr" rid="B44">2009</xref>). Slow-wave sleep was defined by at least 25% delta activity by visual inspection of 30-s epochs. Data samples were selected if they were recorded at least 2 h before or after a seizure, to reduce the influence of seizures on our analysis. Data containing noise or artifacts, such as sharp transients with very large amplitudes or irregular signals, were excluded. The data were transformed to a bipolar montage for further analysis, which means that the potential difference between two adjacent active electrodes in the skull is recorded as iEEG.</p>
<p>The two kinds of HFOs were analyzed separately, owing to the different generation mechanisms and electrophysiological characteristics of ripples and fast ripples. A zero-phase finite impulse response filter was used to perform band-pass filtering for the data. The cutoff frequencies were 80&#x02013;200 and 200&#x02013;500 Hz for ripples and fast ripples, respectively (see <xref ref-type="fig" rid="F1">Figure 1</xref>).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Data preprocessing. First row: one second of raw data. Second row: one second of filtered (80&#x02013;200Hz) data. Third row: one second of filtered (200&#x02013;500Hz) data. Fourth row: Time-frequency analysis of raw data.</p></caption>
<graphic xlink:href="fncom-13-00006-g0001.tif"/>
</fig>
<p>As interictal HFOs are commonly short (&#x0003C;330 ms) and rare (Lopez-Cuevas et al., <xref ref-type="bibr" rid="B28">2013</xref>), the iEEG signals were divided into one-second time series. Grayscale was used to characterize the amplitude of iEEG signals, so that a 1D iEEG signal could be converted to a row of the 2D grayscale image (see <xref ref-type="supplementary-material" rid="SM1">Supplementary Figures 1</xref>, <xref ref-type="supplementary-material" rid="SM1">2</xref>). Then, we converted each row of the grayscale image to four rows.</p>
</sec>
<sec>
<title>Visual Marking of HFOs</title>
<p>For each channel, the first minute of the iEEG was independently analyzed by two experienced reviewers. The concordance between the two reviewers was assessed in line with the Cohen&#x00027;s kappa coefficient for each channel (Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>). For channels with kappa &#x0003C;0.5, the two reviewers worked together to review the events in the first minute and established a consensus, based on which, or if kappa &#x0003E;0.5, the remaining 4 min of the iEEG were marked accordingly by one of the reviewers.</p>
<p>Among the channels for the 19 patients, a total of 49,340 ripples and 19,734 fast ripples were analyzed by reviewers. The remaining data were tagged as non-ripples and non-fast ripples, respectively.</p>
</sec>
<sec>
<title>CNN Classifier</title>
<p>CNN requires fewer complex steps of feature extraction compared to traditional neural networks. The feature extraction is achieved by the convolutional layers and sub-sampling layers of CNN, with advantages in terms of the complex non-linear mapping of low-dimensional feature space that can be obtained from the high-dimensional feature space for use in classification. In this work, CNN has roles in both feature extraction and the classification of HFOs. Details of the proposed CNN model are shown in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Architecture of our CNN model.</p></caption>
<graphic xlink:href="fncom-13-00006-g0002.tif"/>
</fig>
<p>Input images were 4<sup>&#x0002A;</sup>1,024 pixels in size, and were normalized to have zero mean and unit variance. This normalization achieves faster convergence and avoids local minima. In the model, the normalized input is processed by convolutional blocks, where each block consists of three layers: the convolutional layer, batch normalization layer and non-linear activation layer (leaky ReLU was chosen as the activation function in this study). The output of the leaky ReLU layer is passed to a max pooling layer. In an attempt to avoid overfitting, dropout is applied before the three fully connected layers. The output of the last fully connected layer is passed to a softmax layer, which serves as a classifier and predicts the class of the input signal.</p>
<sec>
<title>Architecture of CNN Model</title>
<sec>
<title>Convolutional layers</title>
<p>CNN, as a simple neural network, makes use of convolution in place of general matrix multiplication. The convolutional layers, which detect local conjunctions of features from the previous layer, constitute the main components of the CNN model. A convolutional layer consists of neurons that are connected to the local receptive field of the previous layer. The feature map of the previous layer is convoluted with the convolution kernel. Then, the activation function is applied to produce one output matrix. The process is defined as:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi>M</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x000D7;</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mi>l</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>f</italic>() represents the activation function, leaky ReLU; <italic>l</italic> indicates the number of layers; <italic>k</italic> is the kernel matrix; and <italic>b</italic> is a bias value.</p>
</sec>
<sec>
<title>Batch normalization layer</title>
<p>During training, the distribution of feature maps changes owing to the updating of parameters, making the CNN model learning harder to fit. This phenomenon was called covariate shift by Ioffe et al. (Ioffe and Szegedy, <xref ref-type="bibr" rid="B18">2015</xref>), who proposed batch normalization as a solution. Batch normalization accelerates network training, combined with a reduction of the sensitivity to network initialization. The batch normalization layer normalizes the activations and gradients propagating through the network, making network training an easier optimization problem. In our CNN model, a batch normalization layer is applied after each convolutional layer.</p>
</sec>
<sec>
<title>Max pooling layer</title>
<p>The max pooling operation reports the maximum output within a rectangular neighborhood. This layer not only reduces the spatial size of the feature map, but also removes redundant spatial information, which is beneficial for translation and scaling of invariance to small shifts and distortions. The max pooling layer makes it possible to increase the number of filters in deeper convolutional layers without increasing the required computational load per layer.</p>
</sec>
<sec>
<title>Dropout layer</title>
<p>Dropout regularization is an effective way to address the overfitting phenomenon in the neural network training process. A dropout algorithm is applied to facilitate the generalization ability of the network by randomly disabling neurons in each layer during training.</p>
</sec>
<sec>
<title>Softmax layer</title>
<p>The softmax activation function normalizes the output of the fully connected layer. It constructs a hypothetical function to calculate the probability of the input samples being divided into each category, and then adjusts the parameters to make the correct tags corresponding to the maximum probability. The softmax activation function is deployed to approximate the expected output between 0 and 1 in our binary classification. The classification output of the network is &#x0201C;1&#x0201D; in the presence of HFOs and &#x0201C;0&#x0201D; for non-HFOs.</p>
</sec>
</sec>
<sec>
<title>Details of Learning</title>
<p>After defining the network structure, we specified the training options. Our CNN model uses the minibatch and stochastic gradient descent algorithms. The minibatch is set at 256. Cross entropy serves as the loss function. The maximum number of epochs are assigned a value of 20. An epoch is a full training cycle on the entire training data set, in which the training begins with an initial learning rate of 0.01 and the learning rate decreases by a factor of five every five epochs. The CNN training was performed on an NVIDIA Quadro M4000 with computational capability of 5.9 and a clock rate of 800 MHz.</p>
</sec>
</sec>
<sec>
<title>Statistical Analysis</title>
<p>A 10-fold cross-validation approach, namely ten partitions for training and test sets, 90% for training and 10% for testing, was employed to measure the stability of the performance of the proposed CNN model. The performance metrics included specificity and sensitivity. Previous studies of automated HFO detection also adopted these metrics (Dumpelmann et al., <xref ref-type="bibr" rid="B11">2012</xref>), and they are appropriate for comparison of our model with other methods. The calculations were as follows:</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">sensitivity</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi><mml:mi>P</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>F</mml:mi><mml:mi>N</mml:mi></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext class="textrm" mathvariant="normal">specificity</mml:mtext><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>F</mml:mi><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi><mml:mi>P</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>F</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where true positive (TP) refers to the visually marked HFOs that are detected by the CNN model; false positive (FP) refers to automatically detected events that do not overlap with visually marked HFOs; and false negative (FN) means visually marked HFOs that are missed by the detector.</p>
<p>Cohen&#x00027;s kappa coefficient was computed to evaluate the agreement between automated detection and visually marked results. Kappa &#x0003C;0 indicates that an agreement is due purely to chance, kappa &#x0003E;0.5 means excellent consistency, and kappa &#x0003D; 1 indicates complete agreement (Zelmann et al., <xref ref-type="bibr" rid="B44">2009</xref>).</p>
<p>Then, the Spearman&#x00027;s rank correlation was applied to assess the association between automated detection and visually marked results (Dumpelmann et al., <xref ref-type="bibr" rid="B11">2012</xref>). The number of HFOs detected by visual marking and automated detection in each channel were counted. A correlation coefficient of 0.5&#x02013;1 represented a strong correlation.</p>
<p>Finally, the Mann&#x02013;Whitney <italic>U</italic>-test was applied to compare the HFO rates in the EZ channels and other channels (Dumpelmann et al., <xref ref-type="bibr" rid="B12">2015</xref>).</p>
<p>All statistical analyses used SPSS Statistics (IBM Corporation, Armonk, NY, USA), version 22. The level of significance was set at <italic>p</italic> &#x0003C; 0.05. Results were expressed as mean &#x000B1; standard deviation.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>Results</title>
<sec>
<title>Different Sample Sizes</title>
<p>Visually marked data were used to train the CNN model, consisting of HFOs and the low-amplitude activity here termed non-HFO. The ratio of HFOs to non-HFOs was 1:1. Ninety percent of the data were taken as training samples, and the model was tested on the remaining 10%. Ripples and fast ripples, representing different physiological significance, were, respectively, applied to train the CNN model.</p>
<p>We changed the number of sample data points to test whether the sample size affects CNN performance; the results are shown in <xref ref-type="fig" rid="F3">Figure 3</xref>. The more training samples were used, the more accurate was the detection of HFOs. As the number of training samples increased from 4,934 to 49,340, the accuracy of ripple detection increased from 87.84&#x0002B;1.97 to 90.83&#x0002B;1.78% (see <xref ref-type="fig" rid="F3">Figure 3A</xref>). Similarly, the accuracy of fast ripple detection increased from 83.25&#x000B1;1.27 to 87.65&#x000B1;1.13% as the number of training samples increased from 1,973 to 19,730 (see <xref ref-type="fig" rid="F3">Figure 3B</xref>).</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Effects of different sample sizes on CNN performance. The green line represents the accuracy of HFOs (ripples for <bold>A</bold> and fast ripples for <bold>B</bold>), and the yellow line represents the accuracy of non-HFOs (non-ripples for <bold>A</bold> and non-fast ripples for <bold>B</bold>).</p></caption>
<graphic xlink:href="fncom-13-00006-g0003.tif"/>
</fig>
</sec>
<sec>
<title>Selection of the Best Model</title>
<p>There are numerous parameters in a CNN that have a significant impact on its classification accuracy. The settings used tend to be based on experience and practical considerations. Thus, it was important to conduct quantitative analysis of the parameters in our CNN. Seven CNN models were taken into consideration in our initial analysis to select the best model, as shown in <xref ref-type="table" rid="T2">Table 2</xref>. We performed experiments using 10-fold cross-validation with all seven models on the same sample, with a total of 48,480 ripples and 48,480 non-ripples, as well as 19,730 fast ripples and 19,730 non-fast ripples.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>The specifications of seven CNN models and their mean performance using 10-fold cross-validation.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left" colspan="2"><bold>Model</bold></th>
<th valign="top" align="left"><bold>M1</bold></th>
<th valign="top" align="center"><bold>M2</bold></th>
<th valign="top" align="center"><bold>M3</bold></th>
<th valign="top" align="center"><bold>M4</bold></th>
<th valign="top" align="center"><bold>M5</bold></th>
<th valign="top" align="center"><bold>M6</bold></th>
<th valign="top" align="center"><bold>M7</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Conv_1</td>
<td valign="top" align="left">No. of kernels</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">256</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">16</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Filter size</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
<td valign="top" align="center">[2, 12]</td>
</tr>
<tr>
<td valign="top" align="left">Maxpooling_1</td>
<td valign="top" align="left">Pool size</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
<td valign="top" align="center">[2, 4]</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Stride</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td valign="top" align="left">Conv_2</td>
<td valign="top" align="left">No. of kernels</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">128</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">16</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Filter size</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
</tr>
<tr>
<td valign="top" align="left">Maxpooling_2</td>
<td valign="top" align="left">Pool size</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Stride</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td valign="top" align="left">Conv_3</td>
<td valign="top" align="left">No. of kernels</td>
<td valign="top" align="center">128</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">16</td>
<td valign="top" align="center">8</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Filter size</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
</tr>
<tr>
<td valign="top" align="left">Maxpooling_3</td>
<td valign="top" align="left">Pool size</td>
<td valign="top" align="center">[1,4]</td>
<td valign="top" align="center">[1,4]</td>
<td valign="top" align="center">[1,4]</td>
<td valign="top" align="center">[1,4]</td>
<td valign="top" align="center">[1,4]</td>
<td valign="top" align="center">[1, 4]</td>
<td valign="top" align="center">[1, 4]</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Stride</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td valign="top" align="left">Conv_4</td>
<td valign="top" align="left">No. of kernels</td>
<td valign="top" align="center">256</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">16</td>
<td valign="top" align="center">8</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Filter size</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
<td valign="top" align="center">[1, 8]</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2">Dropout</td>
<td valign="top" align="left">0.5</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">0</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">0.5</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2">Fully Connected_1</td>
<td valign="top" align="left">128</td>
<td valign="top" align="center">128</td>
<td valign="top" align="center">128</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2">Fully Connected_2</td>
<td valign="top" align="left">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">32</td>
</tr>
<tr>
<td valign="top" align="left" colspan="2">Fully Connected_3</td>
<td valign="top" align="left">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
<td valign="top" align="center">2</td>
</tr>
<tr>
<td valign="top" align="left">Accuracy</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="center">92.33 &#x000B1; 0.80%</td>
<td valign="top" align="center">90.83 &#x000B1; 1.78%</td>
<td valign="top" align="center">92.88 &#x000B1; 0.93%</td>
<td valign="top" align="center">93.12 &#x000B1; 0.84%</td>
<td valign="top" align="center">92.28 &#x000B1; 1.16%</td>
<td valign="top" align="center">92.91 &#x000B1; 0.97%</td>
<td valign="top" align="center">92.65 &#x000B1; 0.47%</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Non-ripples</td>
<td valign="top" align="center">87.99 &#x000B1; 0.68%</td>
<td valign="top" align="center">86.65 &#x000B1; 1.38%</td>
<td valign="top" align="center">87.91 &#x000B1; 0.77%</td>
<td valign="top" align="center">88.11 &#x000B1; 0.95%</td>
<td valign="top" align="center">88.71 &#x000B1; 1.13%</td>
<td valign="top" align="center">87.95 &#x000B1; 0.61%</td>
<td valign="top" align="center">87.95 &#x000B1; 0.48%</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="center">87.23 &#x000B1; 1.98%</td>
<td valign="top" align="center">87.64 &#x000B1; 1.61%</td>
<td valign="top" align="center">88.13 &#x000B1; 1.05%</td>
<td valign="top" align="center">87.65 &#x000B1; 0.89%</td>
<td valign="top" align="center">87.81 &#x000B1; 1.83%</td>
<td valign="top" align="center">88.39 &#x000B1; 1.04%</td>
<td valign="top" align="center">88.12 &#x000B1; 0.43%</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Non-fast ripples</td>
<td valign="top" align="center">91.63 &#x000B1; 1.37%</td>
<td valign="top" align="center">92.21 &#x000B1; 1.13%</td>
<td valign="top" align="center">92.34 &#x000B1; 1.18%</td>
<td valign="top" align="center">92.82 &#x000B1; 0.87%</td>
<td valign="top" align="center">91.64 &#x000B1; 1.18%</td>
<td valign="top" align="center">93.35 &#x000B1; 0.66%</td>
<td valign="top" align="center">93.28 &#x000B1; 0.84%</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Model M1 was designed based on the traditional concept wherein the number of kernels increases in each layer with increasing network depth, whereas in models M2 to M7 (pyramid models), the number of kernels decreased with increasing network depth. The pyramid models have the advantage of reducing the number of learning parameters compared with traditional models, which avoids the risk of overfitting.</p>
<p>The average performance results for 10-fold cross-validation of different models are shown in <xref ref-type="table" rid="T2">Table 2</xref>. The average accuracies (over all models) were 92.43% for ripples, 87.9% for non-ripples, 87.85% for fast ripples, and 92.47% for non-fast ripples. Based on the overall results, the pyramid models (M2 to M7) showed better performance than the traditional model (M1); in most cases, the best results were given by model M4 for ripples and M6 for fast ripples. The CNN worked better with a dropout of 0.5 and 64 neurons in the fully connected layer rather than 128 neurons. Model M4 was used to detect ripples and M6 was used for fast ripples for all further analysis in this study.</p>
</sec>
<sec>
<title>Selection of the Ratio of HFOs to non-HFOs</title>
<p>The specificity of HFOs is correlated with the rate of false positives, that is, the automatically detected events that do not overlap with visually marked HFOs. When an HFO: non-HFO ratio of 1:1 was used to train the CNN model, the accuracy was not satisfactory with either non-ripples or non-fast ripples. In order to minimize false positive rates and improve the specificity of HFO detection, we increased the ratio of HFOs to non-HFOs by increasing the number of non-HFOs to two, three, four, and five times the number of HFOs, while keeping the number of HFOs constant. As shown in <xref ref-type="fig" rid="F4">Figure 4</xref>, increasing the number of non-HFOs raised the accuracy of non-HFO detection within a certain range; on the other hand, the sensitivity of HFO detection decreased. In order to improve the specificity of HFO detection while maintaining a reasonable sensitivity, we chose the ratio of ripples to non-ripples to be 1:4, and the ratio of fast ripples to non-fast ripples to be 1:3, to train the CNN model.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Effects of different ratios of HFOs to non-HFOs on performance of the CNN. The green solid line represents ripples, the blue solid line represents non-ripples, the green broken line represents fast ripples, and the blue broken line represents non-fast ripples.</p></caption>
<graphic xlink:href="fncom-13-00006-g0004.tif"/>
</fig>
</sec>
<sec>
<title>Comparison of Visual and Automated Detection Results</title>
<p>The CNN model based on the optimum configuration was run to test the performance objectively. In this part, data from one patient were selected as the testing samples, and data from the remaining 18 patients were selected as the training samples. The results for six patients are shown in <xref ref-type="table" rid="T3">Table 3</xref>: the average sensitivities were 77.04% for ripples and 83.23% for fast ripples, and the average specificities were 72.27% for ripples and 79.36% for fast ripples. Our automated HFO detector based on the CNN model could detect HFOs well, and there were advantages in terms of computational time. Our detector took only about 20 s to process 5 min of 90 channels iEEG data using an Intel&#x000AE; Xeon&#x000AE; CPU E5-2650 v4 &#x00040; 2.2 GHz processor and 64 GB RAM.</p>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Comparison of results between our detector and the other four detectors.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left" colspan="3"><bold>Patient</bold></th>
<th valign="top" align="left"><bold>1 (%)</bold></th>
<th valign="top" align="left"><bold>2 (%)</bold></th>
<th valign="top" align="center"><bold>3 (%)</bold></th>
<th valign="top" align="center"><bold>4 (%)</bold></th>
<th valign="top" align="center"><bold>5 (%)</bold></th>
<th valign="top" align="center"><bold>6 (%)</bold></th>
<th valign="top" align="center"><bold>Average (%)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Our detector</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">73.67</td>
<td valign="top" align="center">80.21</td>
<td valign="top" align="center">75.42</td>
<td valign="top" align="center">81.64</td>
<td valign="top" align="center">85.06</td>
<td valign="top" align="center">66.22</td>
<td valign="top" align="center">77.04</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">50.47</td>
<td valign="top" align="center">73.15</td>
<td valign="top" align="center">79.59</td>
<td valign="top" align="center">77.15</td>
<td valign="top" align="center">82.25</td>
<td valign="top" align="center">71.03</td>
<td valign="top" align="center">72.27</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">90.66</td>
<td valign="top" align="center">79.55</td>
<td valign="top" align="center">85.50</td>
<td valign="top" align="center">82.40</td>
<td valign="top" align="center">77.73</td>
<td valign="top" align="center">83.54</td>
<td valign="top" align="center">83.23</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">70.75</td>
<td valign="top" align="center">87.74</td>
<td valign="top" align="center">72.71</td>
<td valign="top" align="center">77.41</td>
<td valign="top" align="center">88.14</td>
<td valign="top" align="center">79.43</td>
<td valign="top" align="center">79.36</td>
</tr>
<tr>
<td valign="top" align="left">STE detector</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">12.38</td>
<td valign="top" align="center">12.73</td>
<td valign="top" align="center">14.61</td>
<td valign="top" align="center">16.46</td>
<td valign="top" align="center">28.97</td>
<td valign="top" align="center">3.26</td>
<td valign="top" align="center">14.74</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">86.21</td>
<td valign="top" align="center">77.71</td>
<td valign="top" align="center">86.86</td>
<td valign="top" align="center">89.29</td>
<td valign="top" align="center">87.32</td>
<td valign="top" align="center">71.43</td>
<td valign="top" align="center">83.14</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">36.00</td>
<td valign="top" align="center">15.79</td>
<td valign="top" align="center">8.54</td>
<td valign="top" align="center">18.81</td>
<td valign="top" align="center">17.66</td>
<td valign="top" align="center">1.44</td>
<td valign="top" align="center">16.37</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">67.93</td>
<td valign="top" align="center">74.83</td>
<td valign="top" align="center">41.18</td>
<td valign="top" align="center">84.54</td>
<td valign="top" align="center">86.25</td>
<td valign="top" align="center">33.23</td>
<td valign="top" align="center">64.66</td>
</tr>
<tr>
<td valign="top" align="left">SLL detector</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">76.23</td>
<td valign="top" align="center">52.00</td>
<td valign="top" align="center">15.94</td>
<td valign="top" align="center">28.57</td>
<td valign="top" align="center">56.27</td>
<td valign="top" align="center">41.48</td>
<td valign="top" align="center">45.08</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">33.33</td>
<td valign="top" align="center">66.10</td>
<td valign="top" align="center">9.02</td>
<td valign="top" align="center">7.84</td>
<td valign="top" align="center">60.14</td>
<td valign="top" align="center">40.00</td>
<td valign="top" align="center">36.07</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">72.97</td>
<td valign="top" align="center">37.13</td>
<td valign="top" align="center">52.10</td>
<td valign="top" align="center">33.33</td>
<td valign="top" align="center">13.33</td>
<td valign="top" align="center">11.11</td>
<td valign="top" align="center">36.66</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">58.70</td>
<td valign="top" align="center">74.70</td>
<td valign="top" align="center">66.67</td>
<td valign="top" align="center">45.45</td>
<td valign="top" align="center">30.00</td>
<td valign="top" align="center">3.23</td>
<td valign="top" align="center">46.46</td>
</tr>
<tr>
<td valign="top" align="left">HIL detector</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">72.89</td>
<td valign="top" align="center">27.89</td>
<td valign="top" align="center">2.90</td>
<td valign="top" align="center">25.00</td>
<td valign="top" align="center">55.31</td>
<td valign="top" align="center">30.37</td>
<td valign="top" align="center">35.73</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">54.55</td>
<td valign="top" align="center">83.11</td>
<td valign="top" align="center">25.00</td>
<td valign="top" align="center">46.67</td>
<td valign="top" align="center">89.00</td>
<td valign="top" align="center">85.42</td>
<td valign="top" align="center">63.96</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">12.50</td>
<td valign="top" align="center">19.55</td>
<td valign="top" align="center">22.95</td>
<td valign="top" align="center">51.13</td>
<td valign="top" align="center">26.42</td>
<td valign="top" align="center">22.22</td>
<td valign="top" align="center">25.80</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">78.57</td>
<td valign="top" align="center">87.73</td>
<td valign="top" align="center">82.35</td>
<td valign="top" align="center">74.96</td>
<td valign="top" align="center">72.43</td>
<td valign="top" align="center">73.68</td>
<td valign="top" align="center">78.29</td>
</tr>
<tr>
<td valign="top" align="left">MNI detector</td>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">26.97</td>
<td valign="top" align="center">8.47</td>
<td valign="top" align="center">31.88</td>
<td valign="top" align="center">28.57</td>
<td valign="top" align="center">9.97</td>
<td valign="top" align="center">0.74</td>
<td valign="top" align="center">17.77</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">87.88</td>
<td valign="top" align="center">79.63</td>
<td valign="top" align="center">3.71</td>
<td valign="top" align="center">3.28</td>
<td valign="top" align="center">83.78</td>
<td valign="top" align="center">7.14</td>
<td valign="top" align="center">44.24</td>
</tr>
<tr>
<td/>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="left">Sens</td>
<td valign="top" align="center">75.68</td>
<td valign="top" align="center">80.24</td>
<td valign="top" align="center">81.57</td>
<td valign="top" align="center">53.33</td>
<td valign="top" align="center">80.00</td>
<td valign="top" align="center">77.78</td>
<td valign="top" align="center">74.77</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="left">Spec</td>
<td valign="top" align="center">25.45</td>
<td valign="top" align="center">52.91</td>
<td valign="top" align="center">26.72</td>
<td valign="top" align="center">23.53</td>
<td valign="top" align="center">18.56</td>
<td valign="top" align="center">15.38</td>
<td valign="top" align="center">27.09</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>Sens, sensitivity; Spec, specificity</italic>.</p>
</table-wrap-foot>
</table-wrap>
<p>At present, the most important consequence of automated detection systems is the reduction in the time required for analysis and the elimination of subjective factors. It is also necessary to ensure a strong correlation between visual and automated analysis results. In this study, we calculated the Cohen&#x00027;s kappa coefficient of the visual marking and automated detection results for patient 1. The kappa values for the two results were 0.541 for ripples and 0.777 for fast ripples. Spearman&#x00027;s rank correlation was used to calculate the correlation between the automated detection and visual analysis results for each channel. The significant correlations (0.862 for ripples and 0.938 for fast ripples, <italic>p</italic> &#x0003C; 0.01) indicated that our detector achieved reliable estimates of HFO counts and reflected the topographical distribution of HFO generation. A visual representation of the distribution of HFOs for all electrodes is displayed below in <xref ref-type="fig" rid="F5">Figure 5</xref>, showing the ripple and fast ripple counts for visual analysis and automated detection for patient 1 for each channel.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Comparison of results between visual marking and automated detection for patient 1. Blue and red represent ripples and fast ripples, respectively. <bold>(A)</bold> Patient 1: visual making results. <bold>(B)</bold> Patient 1: automatic detecting results.</p></caption>
<graphic xlink:href="fncom-13-00006-g0005.tif"/>
</fig>
</sec>
<sec>
<title>Comparison With Four Other Detectors</title>
<p>To evaluate the performance of our detector, it was necessary to compare its results with those of other detectors for analysis of the same data. Here, we compared our detector with four well-known detectors implemented in the RIPPLELAB application (Navarrete et al., <xref ref-type="bibr" rid="B30">2016</xref>), Short Time Energy detector (STE), Short Line Length detector (SLL), Hilbert detector (HIL), and MNI detector (MNI). Detailed descriptions of this algorithm are available in the original publication (Navarrete et al., <xref ref-type="bibr" rid="B30">2016</xref>). The results of our comparison are presented in <xref ref-type="table" rid="T3">Table 3</xref>. Our detector showed markedly higher sensitivity (77.04% for ripples and 83.23% for fast ripples) and specificity (72.27% for ripples 79.36% for fast ripples) than the four detectors except the specificity of STE detector for ripples (83.14%) and the sensitivity of MNI detector for fast ripples (74.77%).</p>
</sec>
<sec>
<title>Comparison of HFO Rates in the EZ and Other Channels</title>
<p>In this study, we considered the brain area of the removed contacts of patient 1 as the EZ, for whom a good outcome was obtained (Engel I). The mean HFO rates in the 38 channels within the EZ were compared with those of 44 channels outside the EZ; the results are shown in <xref ref-type="table" rid="T4">Table 4</xref>. The mean HFO rates in the EZ were 32.9 for ripples and 25.4 for fast ripples. In the other channels, the mean HFO rates were 16.2 for ripples and 2.2 for fast ripples. The Mann-Whitney U-test was employed to compare the HFO rates in the EZ and other channels, showing that HFO rates were significantly higher in the EZ channels than outside (<italic>p</italic> &#x0003C; 0.05).</p>
<table-wrap position="float" id="T4">
<label>Table 4</label>
<caption><p>Mean HFO rates for channels in the EZ and other channels.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Patient 1</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>EZ channels</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Other channels</bold></th>
<th valign="top" align="center" colspan="2" style="border-bottom: thin solid #000000;"><bold>Total channels</bold></th>
</tr>
<tr>
<td/>
<th valign="top" align="center"><bold>No. of HFOs</bold></th>
<th valign="top" align="center"><bold>Mean HFO rate</bold></th>
<th valign="top" align="center"><bold>No. of HFOs</bold></th>
<th valign="top" align="center"><bold>Mean HFO rate</bold></th>
<th valign="top" align="center"><bold>No. of HFOs</bold></th>
<th valign="top" align="center"><bold>Mean HFO rate</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Ripples</td>
<td valign="top" align="center">1,251</td>
<td valign="top" align="center">32.9</td>
<td valign="top" align="center">712</td>
<td valign="top" align="center">16.2</td>
<td valign="top" align="center">1,963</td>
<td valign="top" align="center">23.9</td>
</tr>
<tr>
<td valign="top" align="left">Fast ripples</td>
<td valign="top" align="center">965</td>
<td valign="top" align="center">25.4</td>
<td valign="top" align="center">97</td>
<td valign="top" align="center">2.2</td>
<td valign="top" align="center">1,062</td>
<td valign="top" align="center">13.0</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec>
<title>Missed HFOs and False Detections of Our Detector</title>
<p>Our detector showed excellent comprehensive performance in detecting ripples and fast ripples from iEEG signals, but there were still some missed HFOs and false detections. Some typical examples of these are shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. Our detector was not sensitive to HFOs with low amplitudes, and sharp transients (e.g., epileptic spikes or sharp waves) might have been misclassified as HFOs owing to their high-pass filter response as oscillations, leading to an overestimation of HFO rates (Benar et al., <xref ref-type="bibr" rid="B3">2010</xref>).</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Example of missed HFOs and false detections in the first patient. The dotted rectangles represent ripples marked only by visual detections. The red lines delineate false detections.</p></caption>
<graphic xlink:href="fncom-13-00006-g0006.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>Discussion</title>
<p>HFOs are considered to be promising biomarkers for the identification of EZ (Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>, <xref ref-type="bibr" rid="B19">2012</xref>; Cimbalnik et al., <xref ref-type="bibr" rid="B10">2016</xref>). Visual marking is characterized by its heavy workload, consumption of time, and vulnerability to errors. In this study, an efficient and novel framework was integrated with CNN for the automated detection of HFOs, as a solution to this challenging medical processing problem. This approach is expected to relieve the burden on clinicians and to provide a useful tool for HFO detection in clinical settings. Compared with the four other detectors, our detector achieved better comprehensive performance: a higher sensitivity (77.04% for ripples and 83.23% for fast ripples) and specificity (72.27% for ripples and 79.36% for fast ripples). In addition, our detector could automatically analyze ripples and fast ripples separately, enabling direct comparison of HFOs in two different frequency bands. Thus, our detector has significant potential for use in clinical practice.</p>
<sec>
<title>Parameter Optimization</title>
<p>Various parameters determine both the computational performance and the accuracy of a CNN model. We compared the classification performance of our models under different parameter conditions; the results are presented in <xref ref-type="table" rid="T2">Table 2</xref>. Changes in parameters were correlated with changes in accuracy of HFOs. The models M1 and M2 achieved accuracies of 90.83 and 92.33%, respectively, for ripples, indicating that pyramid models (M2 to M7) performed better than the traditional model (M1). The early CNN model proposed by Lecun et al. (<xref ref-type="bibr" rid="B26">1998</xref>) introduced the strict pyramidal approach. Ullah et al. (Ullah and Petrosino, <xref ref-type="bibr" rid="B38">2016</xref>) also demonstrated that giving pyramidal structure to CNNs can allow the number of parameters to be scaled down, as well as reducing memory consumption on disk; thus, the simple strict pyramidal model outperforms many existing sophisticated approaches.</p>
<p>As shown in <xref ref-type="table" rid="T2">Table 2</xref>, the CNN with model M4 provided the best results for ripples, while the model M6 was best for fast ripples. Both of them showed slightly higher performance than others but involved the minimum number of parameters among all the models. Model M4 and M6 were adopted for all other analysis processes in this work, as they were considered the optimal models.</p>
</sec>
<sec>
<title>Comparison With Other Four Detectors</title>
<p>Several automated HFO detectors have been reported, some of which were high specific, but low sensitive. In this study, we compared our detector with the other four detectors provided by RIPPLELAB (Navarrete et al., <xref ref-type="bibr" rid="B30">2016</xref>), STE detector, SLL detector, HIL detector, and MNI detector. Our detector utilized the CNN model to detect HFOs from iEEG signals. This model resulted in excellent sensitivity (77.04% for ripples and 83.23% for fast ripples) and specificity (72.27% for ripples and 79.36% for fast ripples). Our detector had a better performance than the SLL detector, HIL detector, and MNI detector. Although the STE detector had a higher specificity (83.14%) for ripples than our detector, its sensitivity (14.74% for ripples and 16.37% for fast ripples) was much lower than ours. The sensitivity is as significant as the specificity, because a detector with low sensitivity cannot delineate the distribution of HFOs in different channels, while low specificity may overestimate the amount of excitatory tissue that needs to be resected according to HFO analysis. Based on full consideration of these two factors, our detector seemed to perform better than the other four detectors. Only detectors with excellent sensitivity and specificity are appropriate for clinical use.</p>
</sec>
<sec>
<title>Resection of HFO-Generating Areas Correlates With Outcome of Epilepsy Surgery</title>
<p>As was shown in many of the previous studies, brain regions with a high rate of HFOs are often correlated with EZ (Jacobs et al., <xref ref-type="bibr" rid="B20">2010</xref>; Wu et al., <xref ref-type="bibr" rid="B40">2010</xref>; Dumpelmann et al., <xref ref-type="bibr" rid="B12">2015</xref>). Signal processing aims to detect HFOs from iEEG signals and to identify electrode sites exhibiting high HFO rates. For patient 1, the Cohen&#x00027;s kappa coefficient demonstrated excellent concordance between the visual marking and automated detection results (0.541 for ripples and 0.777 for fast ripples) for our detector. In addition, the high Spearman&#x00027;s rank correlation between the visual analysis and automated detection (0.862 for ripples and 0.938 for fast ripples, <italic>p</italic> &#x0003C; 0.01) indicated that our detector is a practical tool for identifying channels with high HFO counts. Brain areas containing LIF 3-12, LC 1-8, and LSF 1-12 were removed by surgery. As shown in <xref ref-type="fig" rid="F5">Figure 5</xref>, most of the brain tissue with high HFO rates was resected, resulting in a good outcome (Engel I).</p>
<p>Our automated detector also provided reliable information about the distribution of HFO rates between channels (see <xref ref-type="table" rid="T4">Table 4</xref>). The mean HFO rates were significantly higher in EZ channels than elsewhere (Mann&#x02013;Whitney <italic>U</italic>-test, <italic>p</italic> &#x0003C; 0.05). This indicates that HFO rates can provide additional information about patient outcomes.</p>
</sec>
<sec>
<title>The Optimal Ratio of HFOs and non-HFOs</title>
<p>Our automated detector was designed as a supplementary diagnostic tool for the localization of EZ requiring surgical resection. Thus, the detector required good sensitivity and specificity, with a need to remove as many false positive events as possible with a reasonable sensitivity. The specificity of HFOs is correlated with the accuracy of non-HFOs. Hence, the accuracy of non-HFOs was improved so as to enhance the specificity of HFOs. When a sample with a 1:1 ratio of HFOs:non-HFOs was used to train the CNN model, the accuracy was not satisfactory for detecting either non-ripples or non-fast ripples. Subdividing the iEEG signals in HFOs and non-HFOs resulted in too many types of activities (e.g., baseline, epileptic spikes, and sharp waves) being contained in the non-HFOs, which made the non-HFO data insufficient. Therefore, we increased the number of non-HFOs to two, three, four, and five times the number of HFOs, with the number of HFOs kept constant, so as to improve the accuracy of non-HFOs. As shown in <xref ref-type="fig" rid="F3">Figure 3</xref>, increasing the number of non-HFOs did raise the accuracy of non-HFOs within a certain range, on the other hand, the sensitivity of HFOs decreased. To improve the specificity of HFOs with a reasonable sensitivity, we chose a ratio of ripples to non-ripples of 1:4, and a ratio of fast ripples to non-fast ripples of 1:3, to train the CNN model.</p>
</sec>
<sec>
<title>Limitations and Future Work</title>
<p>Although the CNN model overcame some important issues in HFO detection, there still were some limitations. A potential weakness of implementing the CNN model in this way is that it did not utilize any cross-channel information. Moreover, the CNN model could not obtain the start and stop time, amplitude, or energy of HFOs. Future work should focus on further enhancement of performance of the CNN model.</p>
</sec>
</sec>
<sec sec-type="conclusions" id="s5">
<title>Conclusion</title>
<p>With the continuous accumulation of medical data, there is an increasing need for the feature extraction and classification to predict class labels for patient&#x00027;s clinical data. In this study, we present an efficient detector powered by the CNN to detect ripples and fast ripples automatically. This method has achieved satisfactory performance compared with existing approaches, which might be utilized in a clinical setting in the future. Our detector is, therefore, valuable for identifying EZ during pre-surgical or intraoperative evaluation.</p>
</sec>
<sec id="s6">
<title>Author Contributions</title>
<p>RZ and JW designed the study, implemented the algorithms, performed data analysis, and wrote the manuscript. XL, CZ, and CJ selected and pre-processed the iEEG data. YL and CL performed data analysis and helped to produce the tables and figures. XG and ZR provided advice and guidance. XY and XZ provided the research ideas and revised the manuscript. All authors revised and approved the final version of the article.</p>
<sec>
<title>Conflict of Interest Statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<sec sec-type="supplementary-material" id="s8">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fncom.2019.00006/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fncom.2019.00006/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Table_1.docx" id="SM1" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Achilles</surname> <given-names>F.</given-names></name> <name><surname>Tombari</surname> <given-names>F.</given-names></name> <name><surname>Belagiannis</surname> <given-names>V.</given-names></name> <name><surname>Loesch</surname> <given-names>A. M.</given-names></name> <name><surname>Noachtar</surname> <given-names>S.</given-names></name> <name><surname>Navab</surname> <given-names>N.</given-names></name></person-group> (<year>2016</year>). <article-title>Convolutional neural networks for real-time epileptic seizure detection</article-title>. <source>Comput. Methods Biomech. Biomed. Eng.</source> <volume>6</volume>, <fpage>264</fpage>&#x02013;<lpage>269</lpage>. <pub-id pub-id-type="doi">10.1080/21681163.2016.1141062</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alotaibi</surname> <given-names>A.</given-names></name> <name><surname>Mahmood</surname> <given-names>A.</given-names></name></person-group> (<year>2016</year>). <article-title>Deep face liveness detection based on nonlinear diffusion using convolution neural network</article-title>. <source>Signal Image Video Process.</source> <volume>11</volume>, <fpage>713</fpage>&#x02013;<lpage>720</lpage>. <pub-id pub-id-type="doi">10.1007/s11760-016-1014-2</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Benar</surname> <given-names>C. G.</given-names></name> <name><surname>Chauviere</surname> <given-names>L.</given-names></name> <name><surname>Bartolomei</surname> <given-names>F.</given-names></name> <name><surname>Wendling</surname> <given-names>F.</given-names></name></person-group> (<year>2010</year>). <article-title>Pitfalls of high-pass filtering for detecting epileptic oscillations: a technical note on &#x0201C;false&#x0201D; ripples</article-title>. <source>Clin. Neurophysiol.</source> <volume>121</volume>, <fpage>301</fpage>&#x02013;<lpage>310</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2009.10.019</pub-id><pub-id pub-id-type="pmid">19955019</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bragin</surname> <given-names>A.</given-names></name> <name><surname>Engel</surname> <given-names>J.</given-names> <suffix>Jr.</suffix></name> <name><surname>Wilson</surname> <given-names>C. L.</given-names></name> <name><surname>Fried</surname> <given-names>I.</given-names></name> <name><surname>Buzs&#x000E1;ki</surname> <given-names>G.</given-names></name></person-group> (<year>1999</year>). <article-title>High-frequency oscillations in human brain</article-title>. <source>Hippocampus</source> <volume>9</volume>, <fpage>137</fpage>&#x02013;<lpage>142</lpage>. <pub-id pub-id-type="doi">10.1002/(SICI)1098-1063(1999)9:2&#x0003C;137::AID-HIPO5&#x0003E;3.0.CO;2-0</pub-id><pub-id pub-id-type="pmid">10226774</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Burnos</surname> <given-names>S.</given-names></name> <name><surname>Hilfiker</surname> <given-names>P.</given-names></name> <name><surname>Surucu</surname> <given-names>O.</given-names></name> <name><surname>Scholkmann</surname> <given-names>F.</given-names></name> <name><surname>Krayenbuhl</surname> <given-names>N.</given-names></name> <name><surname>Grunwald</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Human intracranial high frequency oscillations (HFOs) detected by automatic time-frequency analysis</article-title>. <source>PLoS ONE</source> <volume>9</volume>:<fpage>e94381</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0094381</pub-id><pub-id pub-id-type="pmid">24722663</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cendes</surname> <given-names>F.</given-names></name> <name><surname>Meador</surname> <given-names>K. J.</given-names></name></person-group> (<year>2018</year>). <article-title>Searching for the good and bad high-frequency oscillations</article-title>. <source>Neurology</source> <volume>90</volume>, <fpage>347</fpage>&#x02013;<lpage>348</lpage>. <pub-id pub-id-type="doi">10.1212/WNL.0000000000005008</pub-id><pub-id pub-id-type="pmid">29367442</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chaibi</surname> <given-names>S.</given-names></name> <name><surname>Sakka</surname> <given-names>Z.</given-names></name> <name><surname>Lajnef</surname> <given-names>T.</given-names></name> <name><surname>Samet</surname> <given-names>M.</given-names></name> <name><surname>Kachouri</surname> <given-names>A.</given-names></name></person-group> (<year>2013</year>). <article-title>Automated detection and classification of high frequency oscillations (HFOs) in human intracereberal EEG</article-title>. <source>Biomed. Signal Process. Control</source> <volume>8</volume>, <fpage>927</fpage>&#x02013;<lpage>934</lpage>. <pub-id pub-id-type="doi">10.1016/j.bspc.2013.08.009</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Chou</surname> <given-names>C. W.</given-names></name> <name><surname>Chen</surname> <given-names>C.</given-names></name> <name><surname>Kwan</surname> <given-names>S. Y.</given-names></name> <name><surname>Wu</surname> <given-names>S. C.</given-names></name></person-group> (<year>2016</year>). <article-title>Multi-channel algorithms for epileptic high-frequency oscillation detection</article-title>, in <source>Conf Proc IEEE Eng Med Biol Soc</source> (<publisher-loc>Orlando, FL</publisher-loc>), <fpage>948</fpage>&#x02013;<lpage>951</lpage>.</citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cimbalnik</surname> <given-names>J.</given-names></name> <name><surname>Hewitt</surname> <given-names>A.</given-names></name> <name><surname>Worrell</surname> <given-names>G.</given-names></name> <name><surname>Stead</surname> <given-names>M.</given-names></name></person-group> (<year>2018</year>). <article-title>The CS algorithm: a novel method for high frequency oscillation detection in EEG</article-title>. <source>J. Neurosci. Methods</source> <volume>293</volume>, <fpage>6</fpage>&#x02013;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.1016/j.jneumeth.2017.08.023</pub-id><pub-id pub-id-type="pmid">28860077</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cimbalnik</surname> <given-names>J.</given-names></name> <name><surname>Kucewicz</surname> <given-names>M. T.</given-names></name> <name><surname>Worrell</surname> <given-names>G.</given-names></name></person-group> (<year>2016</year>). <article-title>Interictal high-frequency oscillations in focal human epilepsy</article-title>. <source>Curr. Opin. Neurol.</source> <volume>29</volume>, <fpage>175</fpage>&#x02013;<lpage>181</lpage>. <pub-id pub-id-type="doi">10.1097/WCO.0000000000000302</pub-id><pub-id pub-id-type="pmid">26953850</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dumpelmann</surname> <given-names>M.</given-names></name> <name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Kerber</surname> <given-names>K.</given-names></name> <name><surname>Schulze-Bonhage</surname> <given-names>A.</given-names></name></person-group> (<year>2012</year>). <article-title>Automatic 80-250Hz &#x0201C;ripple&#x0201D; high frequency oscillation detection in invasive subdural grid and strip recordings in epilepsy by a radial basis function neural network</article-title>. <source>Clin. Neurophysiol.</source> <volume>123</volume>, <fpage>1721</fpage>&#x02013;<lpage>1731</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2012.02.072</pub-id><pub-id pub-id-type="pmid">22652068</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dumpelmann</surname> <given-names>M.</given-names></name> <name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Schulze-Bonhage</surname> <given-names>A.</given-names></name></person-group> (<year>2015</year>). <article-title>Temporal and spatial characteristics of high frequency oscillations as a new biomarker in epilepsy</article-title>. <source>Epilepsia</source> <volume>56</volume>, <fpage>197</fpage>&#x02013;<lpage>206</lpage>. <pub-id pub-id-type="doi">10.1111/epi.12844</pub-id><pub-id pub-id-type="pmid">25556401</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fedele</surname> <given-names>T.</given-names></name> <name><surname>van &#x00027;t Klooster</surname> <given-names>M.</given-names></name> <name><surname>Burnos</surname> <given-names>S.</given-names></name> <name><surname>Zweiphenning</surname> <given-names>W.</given-names></name> <name><surname>van Klink</surname> <given-names>N.</given-names></name> <name><surname>Leijten</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Automatic detection of high frequency oscillations during epilepsy surgery predicts seizure outcome</article-title>. <source>Clin. Neurophysiol.</source> <volume>127</volume>, <fpage>3066</fpage>&#x02013;<lpage>3074</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2016.06.009</pub-id><pub-id pub-id-type="pmid">27472542</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname> <given-names>X.</given-names></name> <name><surname>Lin</surname> <given-names>S.</given-names></name> <name><surname>Wong</surname> <given-names>T. Y.</given-names></name></person-group> (<year>2015</year>). <article-title>Automatic feature learning to grade nuclear cataracts based on deep learning</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>62</volume>, <fpage>2693</fpage>&#x02013;<lpage>2701</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2015.2444389</pub-id><pub-id pub-id-type="pmid">26080373</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gardner</surname> <given-names>A. B.</given-names></name> <name><surname>Worrell</surname> <given-names>G. A.</given-names></name> <name><surname>Marsh</surname> <given-names>E.</given-names></name> <name><surname>Dlugos</surname> <given-names>D.</given-names></name> <name><surname>Litt</surname> <given-names>B.</given-names></name></person-group> (<year>2007</year>). <article-title>Human and automated detection of high-frequency oscillations in clinical intracranial EEG recordings</article-title>. <source>Clin. Neurophysiol.</source> <volume>118</volume>, <fpage>1134</fpage>&#x02013;<lpage>1143</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2006.12.019</pub-id><pub-id pub-id-type="pmid">17382583</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gliske</surname> <given-names>S. V.</given-names></name> <name><surname>Irwin</surname> <given-names>Z. T.</given-names></name> <name><surname>Davis</surname> <given-names>K. A.</given-names></name> <name><surname>Sahaya</surname> <given-names>K.</given-names></name> <name><surname>Chestek</surname> <given-names>C.</given-names></name> <name><surname>Stacey</surname> <given-names>W. C.</given-names></name></person-group> (<year>2016</year>). <article-title>Universal automated high frequency oscillation detector for real-time, long term EEG</article-title>. <source>Clin. Neurophysiol.</source> <volume>127</volume>, <fpage>1057</fpage>&#x02013;<lpage>1066</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2015.07.016</pub-id><pub-id pub-id-type="pmid">26238856</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Holden</surname> <given-names>E. W.</given-names></name> <name><surname>Thanh Nguyen</surname> <given-names>H.</given-names></name> <name><surname>Grossman</surname> <given-names>E.</given-names></name> <name><surname>Robinson</surname> <given-names>S.</given-names></name> <name><surname>Nelson</surname> <given-names>L. S.</given-names></name> <name><surname>Gunter</surname> <given-names>M. J.</given-names></name> <etal/></person-group>. (<year>2005</year>). <article-title>Estimating prevalence, incidence, and disease-related mortality for patients with epilepsy in managed care organizations</article-title>. <source>Epilepsia</source> <volume>46</volume>, <fpage>311</fpage>&#x02013;<lpage>319</lpage>. <pub-id pub-id-type="doi">10.1111/j.0013-9580.2005.30604.x</pub-id><pub-id pub-id-type="pmid">15679513</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ioffe</surname> <given-names>S.</given-names></name> <name><surname>Szegedy</surname> <given-names>C.</given-names></name></person-group> (<year>2015</year>). <article-title>Batch normalization: accelerating deep network training by reducing internal covariate shift</article-title>, in <source>Proceedings of the 32nd International Conference on Machine Learning</source> (<publisher-loc>Lille</publisher-loc>), <fpage>448</fpage>&#x02013;<lpage>456</lpage>.</citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Staba</surname> <given-names>R.</given-names></name> <name><surname>Asano</surname> <given-names>E.</given-names></name> <name><surname>Otsubo</surname> <given-names>H.</given-names></name> <name><surname>Wu</surname> <given-names>J. Y.</given-names></name> <name><surname>Zijlmans</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>High-frequency oscillations (HFOs) in clinical epilepsy</article-title>. <source>Prog. Neurobiol.</source> <volume>98</volume>, <fpage>302</fpage>&#x02013;<lpage>315</lpage>. <pub-id pub-id-type="doi">10.1016/j.pneurobio.2012.03.001</pub-id><pub-id pub-id-type="pmid">22480752</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Zijlmans</surname> <given-names>M.</given-names></name> <name><surname>Zelmann</surname> <given-names>R.</given-names></name> <name><surname>Chatillon</surname> <given-names>C. E.</given-names></name> <name><surname>Hall</surname> <given-names>J.</given-names></name> <name><surname>Olivier</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>High-frequency electroencephalographic oscillations correlate with outcome of epilepsy surgery</article-title>. <source>Ann. Neurol.</source> <volume>67</volume>, <fpage>209</fpage>&#x02013;<lpage>220</lpage>. <pub-id pub-id-type="doi">10.1002/ana.21847</pub-id><pub-id pub-id-type="pmid">20225281</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jirsch</surname> <given-names>J. D.</given-names></name> <name><surname>Urrestarazu</surname> <given-names>E.</given-names></name> <name><surname>LeVan</surname> <given-names>P.</given-names></name> <name><surname>Olivier</surname> <given-names>A.</given-names></name> <name><surname>Dubeau</surname> <given-names>F.</given-names></name> <name><surname>Gotman</surname> <given-names>J.</given-names></name></person-group> (<year>2006</year>). <article-title>High-frequency oscillations during human focal seizures</article-title>. <source>Brain</source> <volume>129</volume>(<issue>Pt 6</issue>), <fpage>1593</fpage>&#x02013;<lpage>1608</lpage>. <pub-id pub-id-type="doi">10.1093/brain/awl085</pub-id><pub-id pub-id-type="pmid">16632553</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Johansen</surname> <given-names>A. R.</given-names></name> <name><surname>Jin</surname> <given-names>J.</given-names></name> <name><surname>Maszczyk</surname> <given-names>T.</given-names></name> <name><surname>Dauwels</surname> <given-names>J.</given-names></name> <name><surname>Cash</surname> <given-names>S. S.</given-names></name> <name><surname>Westover</surname> <given-names>M. B.</given-names></name></person-group> (<year>2016</year>). <article-title>Epileptiform spike detection via convolutional neural networks</article-title>, in <source>Proc IEEE Int Conf Acoust Speech Signal Process</source> (<publisher-loc>Shanghai</publisher-loc>), <fpage>754</fpage>&#x02013;<lpage>758</lpage>.</citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kaur</surname> <given-names>P.</given-names></name></person-group> (<year>2016</year>). <article-title>Mammogram image nucleus segmentation and classification using convolution neural network classifier</article-title>. <source>Int. J. Adv. Res. Ideas Innov. Technol.</source> <volume>2</volume>, <fpage>1</fpage>&#x02013;<lpage>12</lpage>.</citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kwan</surname> <given-names>P.</given-names></name> <name><surname>Brodie</surname> <given-names>M. J.</given-names></name></person-group> (<year>2000</year>). <article-title>Early identification of refractory epilepsy</article-title>. <source>N. Engl. J. Med.</source> <volume>342</volume>, <fpage>314</fpage>&#x02013;<lpage>319</lpage>. <pub-id pub-id-type="doi">10.1056/NEJM200002033420503</pub-id><pub-id pub-id-type="pmid">10660394</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>LeCun</surname> <given-names>Y.</given-names></name> <name><surname>Bengio</surname> <given-names>Y.</given-names></name> <name><surname>Hinton</surname> <given-names>G.</given-names></name></person-group> (<year>2015</year>). <article-title>Deep learning</article-title>. <source>Nature</source> <volume>521</volume>, <fpage>436</fpage>&#x02013;<lpage>444</lpage>. <pub-id pub-id-type="doi">10.1038/nature14539</pub-id><pub-id pub-id-type="pmid">26017442</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lecun</surname> <given-names>Y.</given-names></name> <name><surname>Bottou</surname> <given-names>L.</given-names></name> <name><surname>Bengio</surname> <given-names>Y.</given-names></name> <name><surname>Haffner</surname> <given-names>P.</given-names></name></person-group> (<year>1998</year>). <article-title>Gradient-based learning applied to document recognition</article-title>. <source>Proc. IEEE</source> <volume>86</volume>, <fpage>2278</fpage>&#x02013;<lpage>2324</lpage>. <pub-id pub-id-type="doi">10.1109/5.726791</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Q.</given-names></name> <name><surname>Cai</surname> <given-names>W.</given-names></name> <name><surname>Wang</surname> <given-names>X.</given-names></name> <name><surname>Zhou</surname> <given-names>Y.</given-names></name> <name><surname>Feng</surname> <given-names>D. D.</given-names></name> <name><surname>Chen</surname> <given-names>M.</given-names></name></person-group> (<year>2014</year>). <article-title>Medical image classification with convolutional neural network</article-title>, in <source>2014 13th International Conference on Control Automation Robotics and Vision (ICARCV)</source> (<publisher-loc>Singapore</publisher-loc>), <fpage>844</fpage>&#x02013;<lpage>848</lpage>.</citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lopez-Cuevas</surname> <given-names>A.</given-names></name> <name><surname>Castillo-Toledo</surname> <given-names>B.</given-names></name> <name><surname>Medina-Ceja</surname> <given-names>L.</given-names></name> <name><surname>Ventura-Mejia</surname> <given-names>C.</given-names></name> <name><surname>Pardo-Pena</surname> <given-names>K.</given-names></name></person-group> (<year>2013</year>). <article-title>An algorithm for on-line detection of high frequency oscillations related to epilepsy</article-title>. <source>Comput. Methods Programs Biomed.</source> <volume>110</volume>, <fpage>354</fpage>&#x02013;<lpage>360</lpage>. <pub-id pub-id-type="doi">10.1016/j.cmpb.2013.01.014</pub-id><pub-id pub-id-type="pmid">23522965</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Makeyev</surname> <given-names>O.</given-names></name> <name><surname>Musngi</surname> <given-names>M.</given-names></name> <name><surname>Lee</surname> <given-names>F.</given-names></name> <name><surname>Tamayo</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>Recent advances in high-frequency oscillations and seizure onset detection using laplacian electroencephalography via tripolar concentric ring electrodes</article-title>, in <source>Proceedings of the 4th International Electronic Conference on Sensors and Applications</source> (<publisher-loc>Basel</publisher-loc>), <fpage>117</fpage>.</citation></ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Navarrete</surname> <given-names>M.</given-names></name> <name><surname>Alvarado-Rojas</surname> <given-names>C.</given-names></name> <name><surname>Le Van Quyen</surname> <given-names>M.</given-names></name> <name><surname>Valderrama</surname> <given-names>M.</given-names></name></person-group> (<year>2016</year>). <article-title>RIPPLELAB: A comprehensive application for the detection, analysis and classification of high frequency oscillations in electroencephalographic signals</article-title>. <source>PLoS ONE</source> <volume>11</volume>:<fpage>e0158276</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0158276</pub-id><pub-id pub-id-type="pmid">27341033</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pail</surname> <given-names>M.</given-names></name> <name><surname>Halamek</surname> <given-names>J.</given-names></name> <name><surname>Daniel</surname> <given-names>P.</given-names></name> <name><surname>Kuba</surname> <given-names>R.</given-names></name> <name><surname>Tyrlikova</surname> <given-names>I.</given-names></name> <name><surname>Chrastina</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>Intracerebrally recorded high frequency oscillations: simple visual assessment versus automated detection</article-title>. <source>Clin. Neurophysiol.</source> <volume>124</volume>, <fpage>1935</fpage>&#x02013;<lpage>1942</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2013.03.032</pub-id><pub-id pub-id-type="pmid">23706814</pub-id></citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pati</surname> <given-names>S.</given-names></name> <name><surname>Alexopoulos</surname> <given-names>A. V.</given-names></name></person-group> (<year>2010</year>). <article-title>Pharmacoresistant epilepsy: from pathogenesis to current and emerging therapies</article-title>. <source>Cleve Clin. J. Med.</source> <volume>77</volume>, <fpage>457</fpage>&#x02013;<lpage>467</lpage>. <pub-id pub-id-type="doi">10.3949/ccjm.77a.09061</pub-id><pub-id pub-id-type="pmid">20601619</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ren</surname> <given-names>G. P.</given-names></name> <name><surname>Yan</surname> <given-names>J. Q.</given-names></name> <name><surname>Yu</surname> <given-names>Z. X.</given-names></name> <name><surname>Wang</surname> <given-names>D.</given-names></name> <name><surname>Li</surname> <given-names>X. N.</given-names></name> <name><surname>Mei</surname> <given-names>S. S.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Automated detector of high frequency oscillations in epilepsy based on maximum distributed peak points</article-title>. <source>Int. J. Neural Syst.</source> <volume>28</volume>:<fpage>1750029</fpage>. <pub-id pub-id-type="doi">10.1142/S0129065717500290</pub-id><pub-id pub-id-type="pmid">28669244</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schmidhuber</surname> <given-names>J.</given-names></name></person-group> (<year>2015</year>). <article-title>Deep learning in neural networks: an overview</article-title>. <source>Neural Netw.</source> <volume>61</volume>, <fpage>85</fpage>&#x02013;<lpage>117</lpage>. <pub-id pub-id-type="doi">10.1016/j.neunet.2014.09.003</pub-id><pub-id pub-id-type="pmid">25462637</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sors</surname> <given-names>A.</given-names></name> <name><surname>Bonnet</surname> <given-names>S.</given-names></name> <name><surname>Mirek</surname> <given-names>S.</given-names></name> <name><surname>Vercueil</surname> <given-names>L.</given-names></name> <name><surname>Payen</surname> <given-names>J.-F.</given-names></name></person-group> (<year>2018</year>). <article-title>A convolutional neural network for sleep stage scoring from raw single-channel EEG</article-title>. <source>Biomed. Signal Process. Control</source> <volume>42</volume>, <fpage>107</fpage>&#x02013;<lpage>114</lpage>. <pub-id pub-id-type="doi">10.1016/j.bspc.2017.12.001</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Staba</surname> <given-names>R. J.</given-names></name> <name><surname>Wilson</surname> <given-names>C. L.</given-names></name> <name><surname>Bragin</surname> <given-names>A.</given-names></name> <name><surname>Fried</surname> <given-names>I.</given-names></name> <name><surname>Jr</surname> <given-names>J.E.</given-names></name></person-group> (<year>2002</year>). <article-title>Quantitative analysis of high-frequency oscillations (80&#x02013;500 Hz) recorded in human epileptic hippocampus and entorhinal cortex</article-title>. <source>J. Neurophysiol.</source> <volume>88</volume>:<fpage>1743</fpage>. <pub-id pub-id-type="doi">10.1152/jn.00322.2002</pub-id><pub-id pub-id-type="pmid">12364503</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tamilia</surname> <given-names>E.</given-names></name> <name><surname>Madsen</surname> <given-names>J. R.</given-names></name> <name><surname>Grant</surname> <given-names>P. E.</given-names></name> <name><surname>Pearl</surname> <given-names>P. L.</given-names></name> <name><surname>Papadelis</surname> <given-names>C.</given-names></name></person-group> (<year>2017</year>). <article-title>Current and emerging potential of magnetoencephalography in the detection and localization of high-frequency oscillations in epilepsy</article-title>. <source>Front. Neurol.</source> <volume>8</volume>:<fpage>14</fpage>. <pub-id pub-id-type="doi">10.3389/fneur.2017.00014</pub-id><pub-id pub-id-type="pmid">28194133</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ullah</surname> <given-names>I.</given-names></name> <name><surname>Petrosino</surname> <given-names>A.</given-names></name></person-group> (<year>2016</year>). <article-title>About pyramid structure in convolutional neural networks</article-title>, in <source>2016 International Joint Conference on Neural Networks (IJCNN)</source> (<publisher-loc>Vancouver, BC</publisher-loc>), <fpage>1318</fpage>&#x02013;<lpage>1324</lpage>.</citation></ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>L.</given-names></name> <name><surname>Wang</surname> <given-names>W.</given-names></name> <name><surname>Yan</surname> <given-names>T.</given-names></name> <name><surname>Song</surname> <given-names>J.</given-names></name> <name><surname>Yang</surname> <given-names>W.</given-names></name> <name><surname>Wang</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Beta-band functional connectivity influences audiovisual integration in older age: an EEG study</article-title>. <source>Front. Aging Neurosci.</source> <volume>9</volume>:<fpage>239</fpage>. <pub-id pub-id-type="doi">10.3389/fnagi.2017.00239</pub-id><pub-id pub-id-type="pmid">28824411</pub-id></citation></ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wu</surname> <given-names>J. Y.</given-names></name> <name><surname>Sankar</surname> <given-names>R.</given-names></name> <name><surname>Lerner</surname> <given-names>J. T.</given-names></name> <name><surname>Matsumoto</surname> <given-names>J. H.</given-names></name> <name><surname>Vinters</surname> <given-names>H. V.</given-names></name> <name><surname>Mathern</surname> <given-names>G. W.</given-names></name></person-group> (<year>2010</year>). <article-title>Removing interictal fast ripples on electrocorticography linked with seizure freedom in children</article-title>. <source>Neurology</source> <volume>75</volume>, <fpage>1686</fpage>&#x02013;<lpage>1694</lpage>. <pub-id pub-id-type="doi">10.1212/WNL.0b013e3181fc27d0</pub-id><pub-id pub-id-type="pmid">20926787</pub-id></citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname> <given-names>T.</given-names></name> <name><surname>Dong</surname> <given-names>X.</given-names></name> <name><surname>Mu</surname> <given-names>N.</given-names></name> <name><surname>Liu</surname> <given-names>T.</given-names></name> <name><surname>Chen</surname> <given-names>D.</given-names></name> <name><surname>Deng</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2017a</year>). <article-title>Positive classification advantage: tracing the time course based on brain oscillation</article-title>. <source>Front. Hum. Neurosci.</source> <volume>11</volume>:<fpage>659</fpage>. <pub-id pub-id-type="doi">10.3389/fnhum.2017.00659</pub-id><pub-id pub-id-type="pmid">29375353</pub-id></citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname> <given-names>T.</given-names></name> <name><surname>Feng</surname> <given-names>Y.</given-names></name> <name><surname>Liu</surname> <given-names>T.</given-names></name> <name><surname>Wang</surname> <given-names>L.</given-names></name> <name><surname>Mu</surname> <given-names>N.</given-names></name> <name><surname>Dong</surname> <given-names>X.</given-names></name> <etal/></person-group>. (<year>2017b</year>). <article-title>Theta oscillations related to orientation recognition in unattended condition: a vMMN study</article-title>. <source>Front. Behav. Neurosci.</source> <volume>11</volume>:<fpage>166</fpage>. <pub-id pub-id-type="doi">10.3389/fnbeh.2017.00166</pub-id><pub-id pub-id-type="pmid">28936165</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Zelmann</surname> <given-names>R.</given-names></name> <name><surname>Mari</surname> <given-names>F.</given-names></name> <name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Zijlmans</surname> <given-names>M.</given-names></name> <name><surname>Chander</surname> <given-names>R.</given-names></name> <name><surname>Gotman</surname> <given-names>J.</given-names></name></person-group> (<year>2010</year>). <article-title>Automatic detector of high frequency oscillations for human recordings with macroelectrodes</article-title>, in <source>2010 Annual International Conference of the IEEE Engineering in Medicine and Biology</source> (<publisher-loc>Buenos Aires</publisher-loc>), <fpage>2329</fpage>&#x02013;<lpage>2333</lpage>.</citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zelmann</surname> <given-names>R.</given-names></name> <name><surname>Zijlmans</surname> <given-names>M.</given-names></name> <name><surname>Jacobs</surname> <given-names>J.</given-names></name> <name><surname>Chatillon</surname> <given-names>C. E.</given-names></name> <name><surname>Gotman</surname> <given-names>J.</given-names></name></person-group> (<year>2009</year>). <article-title>Improving the identification of high frequency oscillations</article-title>. <source>Clin. Neurophysiol.</source> <volume>120</volume>, <fpage>1457</fpage>&#x02013;<lpage>1464</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2009.05.029</pub-id><pub-id pub-id-type="pmid">19576848</pub-id></citation></ref>
</ref-list> 
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> This work was supported by the Capital Health Research and Development Special Fund (2016-1-2011) National Natural Science Foundation of China (61701323, 81771909, 81671367, 81790653).</p></fn>
</fn-group>
</back>
</article>
