<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIR</journal-id>
      <journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id>
      <journal-title>Journal of Medical Internet Research</journal-title>
      <issn pub-type="epub">1438-8871</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v27i1e63937</article-id>
      <article-id pub-id-type="pmid">40127441</article-id>
      <article-id pub-id-type="doi">10.2196/63937</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Explainable AI for Intraoperative Motor-Evoked Potential Muscle Classification in Neurosurgery: Bicentric Retrospective Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Schwartz</surname>
            <given-names>Amy</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Mirallave-Pescador</surname>
            <given-names>Ana</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Lopes</surname>
            <given-names>João</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Rosahl</surname>
            <given-names>Steffen</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="yes" equal-contrib="yes">
          <name name-style="western">
            <surname>Parduzi</surname>
            <given-names>Qendresa</given-names>
          </name>
          <degrees>MSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <address>
            <institution/>
            <institution>Department of Neurosurgery</institution>
            <institution>Lucerne Cantonal Hospital</institution>
            <addr-line>Spitalstrasse</addr-line>
            <addr-line>Lucerne, 6000</addr-line>
            <country>Switzerland</country>
            <phone>41 412056631</phone>
            <email>qendresa.parduzi@students.unibe.ch</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0007-2640-7246</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author" equal-contrib="yes">
          <name name-style="western">
            <surname>Wermelinger</surname>
            <given-names>Jonathan</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-1372-7690</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Koller</surname>
            <given-names>Simon Domingo</given-names>
          </name>
          <degrees>BSc</degrees>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0002-7468-1059</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Sariyar</surname>
            <given-names>Murat</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3432-2860</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Schneider</surname>
            <given-names>Ulf</given-names>
          </name>
          <degrees>Prof Dr Med</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-7352-7645</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author">
          <name name-style="western">
            <surname>Raabe</surname>
            <given-names>Andreas</given-names>
          </name>
          <degrees>Prof Dr Med</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-3886-466X</ext-link>
        </contrib>
        <contrib id="contrib7" contrib-type="author">
          <name name-style="western">
            <surname>Seidel</surname>
            <given-names>Kathleen</given-names>
          </name>
          <degrees>Prof Dr Med</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-7360-3852</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Graduate School for Health Sciences</institution>
        <institution>University of Bern</institution>
        <addr-line>Bern</addr-line>
        <country>Switzerland</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Department of Neurosurgery</institution>
        <institution>Inselspital</institution>
        <institution>Bern University Hospital, University of Bern</institution>
        <addr-line>Bern</addr-line>
        <country>Switzerland</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Department of Neurosurgery</institution>
        <institution>Lucerne Cantonal Hospital</institution>
        <addr-line>Lucerne</addr-line>
        <country>Switzerland</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>School of Engineering and Computer Science</institution>
        <institution>Bern University of Applied Sciences</institution>
        <addr-line>Biel</addr-line>
        <country>Switzerland</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Qendresa Parduzi <email>qendresa.parduzi@students.unibe.ch</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2025</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>24</day>
        <month>3</month>
        <year>2025</year>
      </pub-date>
      <volume>27</volume>
      <elocation-id>e63937</elocation-id>
      <history>
        <date date-type="received">
          <day>5</day>
          <month>7</month>
          <year>2024</year>
        </date>
        <date date-type="rev-request">
          <day>13</day>
          <month>11</month>
          <year>2024</year>
        </date>
        <date date-type="rev-recd">
          <day>8</day>
          <month>1</month>
          <year>2025</year>
        </date>
        <date date-type="accepted">
          <day>4</day>
          <month>2</month>
          <year>2025</year>
        </date>
      </history>
      <copyright-statement>©Qendresa Parduzi, Jonathan Wermelinger, Simon Domingo Koller, Murat Sariyar, Ulf Schneider, Andreas Raabe, Kathleen Seidel. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 24.03.2025.</copyright-statement>
      <copyright-year>2025</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://www.jmir.org/2025/1/e63937" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Intraoperative neurophysiological monitoring (IONM) guides the surgeon in ensuring motor pathway integrity during high-risk neurosurgical and orthopedic procedures. Although motor-evoked potentials (MEPs) are valuable for predicting motor outcomes, the key features of predictive signals are not well understood, and standardized warning criteria are lacking. Developing a muscle identification prediction model could increase patient safety while allowing the exploration of relevant features for the task.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The aim of this study is to expand the development of machine learning (ML) methods for muscle classification and evaluate them in a bicentric setup. Further, we aim to identify key features of MEP signals that contribute to accurate muscle classification using explainable artificial intelligence (XAI) techniques.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>This study used ML and deep learning models, specifically random forest (RF) classifiers and convolutional neural networks (CNNs), to classify MEP signals from routine supratentorial neurosurgical procedures from two medical centers according to muscle identity of four muscles (extensor digitorum, abductor pollicis brevis, tibialis anterior, and abductor hallucis). The algorithms were trained and validated on a total of 36,992 MEPs from 151 surgeries in one center, and they were tested on 24,298 MEPs from 58 surgeries from the other center. Depending on the algorithm, time-series, feature-engineered, and time-frequency representations of the MEP data were used. XAI techniques, specifically Shapley Additive Explanation (SHAP) values and gradient class activation maps (Grad-CAM), were implemented to identify important signal features.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>High classification accuracy was achieved with the RF classifier, reaching 87.9% accuracy on the validation set and 80% accuracy on the test set. The 1D- and 2D-CNNs demonstrated comparably strong performance. Our XAI findings indicate that frequency components and peak latencies are crucial for accurate MEP classification, providing insights that could inform intraoperative warning criteria.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>This study demonstrates the effectiveness of ML techniques and the importance of XAI in enhancing trust in and reliability of artificial intelligence–driven IONM applications. Further, it may help to identify new intrinsic features of MEP signals so far overlooked in conventional warning criteria. By reducing the risk of muscle mislabeling and by providing the basis for possible new warning criteria, this study may help to increase patient safety during surgical procedures.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>intraoperative neuromonitoring</kwd>
        <kwd>motor evoked potential</kwd>
        <kwd>artificial intelligence</kwd>
        <kwd>machine learning</kwd>
        <kwd>deep learning</kwd>
        <kwd>random forest</kwd>
        <kwd>convolutional neural network</kwd>
        <kwd>explainability</kwd>
        <kwd>medical informatics</kwd>
        <kwd>personalized medicine</kwd>
        <kwd>neurophysiological</kwd>
        <kwd>monitoring</kwd>
        <kwd>orthopedic</kwd>
        <kwd>motor</kwd>
        <kwd>neurosurgery</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>The importance of intraoperative neurophysiological monitoring (IONM) during high-risk neurosurgical and orthopedic procedures has been established in recent decades [<xref ref-type="bibr" rid="ref1">1</xref>]. In particular, the monitoring of motor evoked potentials (MEPs) helps to assess the functional integrity of motor pathways during surgeries and allows postoperative motor outcomes to be predicted [<xref ref-type="bibr" rid="ref2">2</xref>-<xref ref-type="bibr" rid="ref9">9</xref>]. However, the features of this complex signal that contribute to its predictive potential are still poorly understood and there are few standardized warning criteria to alert the surgeon. Currently, the best-established and most reliable MEP warning criterion during IONM is a 50% drop in amplitude [<xref ref-type="bibr" rid="ref10">10</xref>].</p>
      <p>Because changes in MEP amplitude are predictive of postoperative motor outcome, it is natural to ask whether other properties of the signals could be important for decision-making. The emergence of machine learning (ML) methods has led to an interest in leveraging these techniques to classify MEPs in the hope of improving intraoperative decision-making [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref12">12</xref>]. However, most of the studies so far have focused on identifying the most accurate and robust ML algorithms rather than on uncovering the underlying patterns leading to the decisions.</p>
      <p>In our previous work, we established prediction algorithms for muscle identification to provide a proof of principle within a solid ground truth framework before translating them to outcome predictions [<xref ref-type="bibr" rid="ref12">12</xref>]. Meanwhile, Boaro et al [<xref ref-type="bibr" rid="ref13">13</xref>] implemented a similar classification task with additional ML models and muscles. The robustness of ML algorithms on clinical data needs to be established using independent data sources, which is why we have expanded our data set to include signals from an external validation center.</p>
      <p>To gain a deeper understanding of our signals, we investigated them in both the time-series and time-frequency domains, which have been shown to be useful in the quantification of disease-related MEP changes [<xref ref-type="bibr" rid="ref14">14</xref>]. In addition to the standard ML models, we used deep learning methods to leverage their power of internal feature representation. Although these algorithms can accurately predict the identity of muscles based on MEP signals, the specific criteria that these algorithms use to make their predictions are not well understood [<xref ref-type="bibr" rid="ref15">15</xref>-<xref ref-type="bibr" rid="ref17">17</xref>]. For research in the field of IONM, this explanatory information is probably at least as important as the predictions themselves, as it can provide new insights into the mechanisms of neurophysiological changes. For this reason, we used methods from the emerging field of explainable artificial intelligence (XAI) [<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref19">19</xref>]. The aim was to combine methods to ensure comprehensive interpretability of our different models’ decisions.</p>
      <p>Our study provides a robust framework for classifying MEPs recorded in routine neurosurgical procedures according to their muscle identity with high accuracy and we validated the methods using data from two independent study centers. Importantly, we elucidate the decision-making processes of our ML models through post hoc analyses, thereby enabling their effective application to previously unseen data and novel situations. These algorithms could act as a safety mechanism in the operating room by detecting mislabeling of muscles and by focusing on new intrinsic features of MEPs. Thus, they may enhance the usage and acceptance of artificial intelligence (AI) in medical decision-making through their interpretability.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Ethical Considerations</title>
        <p>This retrospective study was approved by the cantonal ethics committee of Bern, Switzerland (BASEC-ID 2023–00277). All included patients gave their informed written consent for further use and publication of their anonymized data. The routinely collected data are dated from 2018 to 2022 and coded for the analysis of this paper. Only patients over the age of 18 were included in the study, all received neurosurgical interventions and were not stratified according to their clinical outcome since the outcome prediction of the study was muscle identification. The muscle recordings are set routinely independent of sociodemographic or clinical factors.</p>
        <p>In the following, we describe the datasets collected, the preselection approach applied to the data, the methods used for signal data representation, and the analytical techniques used, including XAI approaches to elucidate MEP feature importance.</p>
      </sec>
      <sec>
        <title>MEP Data and Signal Recordings</title>
        <p>The MEP data used in this study were obtained during routine neurosurgical procedures and were retrospectively collected and analyzed. This study was exploratory in nature, and no formal protocol was prepared. Recordings from 151 surgeries on 144 patients at one center (Inselspital, University Hospital Bern, Switzerland), “center T<sub>1</sub>” were used for training and validation, and recordings from 58 surgeries on 57 patients at an independent center (Cantonal Hospital in Lucerne, Switzerland), “center T<sub>2</sub>” were used for testing (see <xref rid="figure1" ref-type="fig">Figure 1</xref>A). In total, there were 94 females and 107 males and the median age at surgery was 61 years (see <xref ref-type="table" rid="table1">Table 1</xref> for distribution between centers). Overall, 182 patients underwent surgery for a brain tumor and 19 for vascular pathologies. The total number of MEP signals was 36,992 for center T<sub>1</sub> and 24,298 for center T<sub>2</sub>, with at least 3000 samples for each predicted class (see <xref ref-type="table" rid="table1">Table 1</xref> for detailed information on classes). This sample size was determined by the number of routine interventions and ensures that any complexity of the ML models used can appropriately be trained, tested, and validated.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Data analysis pipeline. (A) Bicentric training, validation, and testing setup. (B) Data representation and the algorithms used on each representation. CNN: convolutional neural network.</p>
          </caption>
          <graphic xlink:href="jmir_v27i1e63937_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>IONM was performed according to a standardized protocol, as previously described [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref20">20</xref>]. The MEPs were elicited either through transcranial electric stimulation (TES) via corkscrew electrodes or direct cortical stimulation (DCS) via strip electrodes placed directly on the cortex and recorded via needle electrodes in the muscle belly. Stimulation to elicit MEPs was conducted under general anesthesia using a train of 5 anodal stimuli with a pulse duration of 0.5 milliseconds, and an interstimulus interval of 4 milliseconds, known as the short train method. Both centers used ISIS Systems to record the MEPs. The sampling frequency was set at 20 kHz, with hardware high- and low-pass filters at 30 Hz and 5 kHz, respectively. TES was used in all the surgeries performed in center T<sub>1</sub> and in 95% (55 of 58) of those performed in center T<sub>2</sub> to elicit MEPs. In addition, DCS was used to elicit MEPs in 134 of the 151 (89%) surgeries performed in center T<sub>1</sub> and 17 of 58 (30%) surgeries performed in center T<sub>2</sub>. The recordings consist of 2000 data points, corresponding to 100-millisecond windows for each signal. We selected MEP signals from the following 4 muscles: Extensor digitorum (EXT), abductor pollicis brevis (APB), tibialis anterior (TA), and abductor hallucis (AH). These muscles are routinely monitored during supratentorial surgeries, and the corresponding signals were available for most of the included patients from both sides. As the neurophysiologist labels the recording channels at the start of the surgery, the MEP data are automatically labeled upon saving.</p>
        <p>We used custom-made Python 3.0 scripts for all the data analysis and classification tasks.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Surgery, patient, and recording characteristics. The percentage of clinical outcome is calculated in relation to the total number of patients, while the percentage of TES and DCS stimulations is calculated with respect to the total number of surgeries (including redo operations).</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="0"/>
            <col width="370"/>
            <col width="0"/>
            <col width="300"/>
            <col width="0"/>
            <col width="300"/>
            <thead>
              <tr valign="top">
                <td colspan="4">Categories</td>
                <td colspan="2">Center T<sub>1</sub></td>
                <td>Center T<sub>2</sub></td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="7">
                  <bold>Demography, n</bold>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>Patients</td>
                <td colspan="2">144</td>
                <td colspan="2">57</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>M<sup>a</sup></td>
                <td colspan="2">78</td>
                <td colspan="2">29</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>F<sup>b</sup></td>
                <td colspan="2">66</td>
                <td colspan="2">28</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>Age<sup>c</sup></td>
                <td colspan="2">62</td>
                <td colspan="2">58</td>
              </tr>
              <tr valign="top">
                <td colspan="7">
                  <bold>Pathology, n</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Meningioma</td>
                <td colspan="2">0</td>
                <td colspan="2">8</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Schwannoma</td>
                <td colspan="2">0</td>
                <td colspan="2">2</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Oligodendroglioma</td>
                <td colspan="2">7</td>
                <td colspan="2">2</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Astrocytoma</td>
                <td colspan="2">16</td>
                <td colspan="2">10</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Glioblastoma</td>
                <td colspan="2">73</td>
                <td colspan="2">10</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Metastasis</td>
                <td colspan="2">44</td>
                <td colspan="2">4</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Aneurysm</td>
                <td colspan="2">0</td>
                <td colspan="2">13</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">AVM<sup>d</sup></td>
                <td colspan="2">1</td>
                <td colspan="2">4</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Cavernoma</td>
                <td colspan="2">2</td>
                <td colspan="2">1</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Trigeminal neuralgia</td>
                <td colspan="2">0</td>
                <td colspan="2">3</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Radio necrosis</td>
                <td colspan="2">1</td>
                <td colspan="2">0</td>
              </tr>
              <tr valign="top">
                <td colspan="7">
                  <bold>Clinical outcome, n (%)</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Deficits at discharge</td>
                <td colspan="2">29 (19)</td>
                <td colspan="2">9 (16)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Deficits at follow-up</td>
                <td colspan="2">9 (6)</td>
                <td colspan="2">4 (7)</td>
              </tr>
              <tr valign="top">
                <td colspan="7">
                  <bold>Neurophysiology</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Surgeries, n</td>
                <td colspan="2">151</td>
                <td colspan="2">58</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">TES<sup>e</sup> stimulation, n (%)</td>
                <td colspan="2">151 (100)</td>
                <td colspan="2">55 (95)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">DCS<sup>f</sup> stimulation, n (%)</td>
                <td colspan="2">134 (89)</td>
                <td colspan="2">17 (30)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">MEP<sup>g</sup> signals, n</td>
                <td colspan="2">36,992</td>
                <td colspan="2">24,298</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">EXT<sup>h</sup> signals, n (%)</td>
                <td colspan="2">11,958 (31.8)</td>
                <td colspan="2">3628 (14.5)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">APB<sup>i</sup> signals, n (%)</td>
                <td colspan="2">15,800 (42.9)</td>
                <td colspan="2">10,670 (42.6)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">TA<sup>j</sup> signals, n (%)</td>
                <td colspan="2">5773 (15.7)</td>
                <td colspan="2">4970 (21.4)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">AH<sup>k</sup> signals, n (%)</td>
                <td colspan="2">3461 (9.6)</td>
                <td colspan="2">5030 (21.6)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table1fn1">
              <p><sup>a</sup>M: male.</p>
            </fn>
            <fn id="table1fn2">
              <p><sup>b</sup>F: female.</p>
            </fn>
            <fn id="table1fn3">
              <p><sup>c</sup>Age is the median age of all patients.</p>
            </fn>
            <fn id="table1fn4">
              <p><sup>d</sup>AVM: arteriovenous malformation.</p>
            </fn>
            <fn id="table1fn5">
              <p><sup>e</sup>TES: transcranial electric stimulation.</p>
            </fn>
            <fn id="table1fn6">
              <p><sup>f</sup>DCS: direct cortical stimulation.</p>
            </fn>
            <fn id="table1fn7">
              <p><sup>g</sup>MEP: motor-evoked potential.</p>
            </fn>
            <fn id="table1fn8">
              <p><sup>h</sup>EXT: extensor digitorum.</p>
            </fn>
            <fn id="table1fn9">
              <p><sup>i</sup>APB: abductor pollicis brevis.</p>
            </fn>
            <fn id="table1fn10">
              <p><sup>j</sup>TA: tibialis anterior.</p>
            </fn>
            <fn id="table1fn11">
              <p><sup>k</sup>AH: abductor hallucis.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Preprocessing and Data Representation</title>
        <sec>
          <title>Preselection</title>
          <p>An automatic MEP selection algorithm was written to determine whether a given recording contained an MEP [<xref ref-type="bibr" rid="ref12">12</xref>]. To remove stimulation artifacts from the train of 5, we excluded the first 400 data points (corresponding to 20 milliseconds). Then, two features were computed: the onset latency and duration of the signal. Onset latency is defined as 1 millisecond (empirically determined) before the trace crosses the mean of the baseline (the last 5 milliseconds of the recording) plus or minus the SD of the entire recording. The end of the signal was calculated similarly, by starting from the end of the recording. We defined the duration as the end of signal latency minus onset latency. In addition, the time interval between the first and last peak was determined using the scipy.signal function find_peaks. A recording was considered to contain an MEP if at least one peak was detected, the duration was less than 40 milliseconds, and the interval from the first to last peak was less than 35 milliseconds (in accordance with clinical experience).</p>
          <p>In our analysis pipeline, we used three distinct representations of MEP data (see <xref rid="figure1" ref-type="fig">Figure 1</xref>B): time, feature, and time-frequency, each tailored to optimize the performance of our ML classifiers.</p>
        </sec>
        <sec>
          <title>Time Representation</title>
          <p>A finite-impulse response bandpass filter with 30- and 1000-Hz cutoff frequencies was applied to the 1600-dimensional signal vector. These frequency settings align with MEP visualization practices using the monitoring machine at center T<sub>1</sub> (ie, the software filters). The signal vectors are then normalized with respect to the absolute maximum MEP value in each patient. This filtered and normalized time representation of the data was used to train, validate, and test a random forest (RF) classifier, as well as a 1-dimensional convolutional neural network (1D-CNN).</p>
        </sec>
        <sec>
          <title>Feature Representation</title>
          <p>We used a customized feature extraction algorithm to condense each filtered and normalized MEP signal into characteristic features. The initial choice of predictors is a combination of clinically used predictors (eg, latency, amplitude, minimum, and maximum) and routinely used features in general neurophysiological literature (spectral entropy, frequency, etc). After a correlation analysis (see <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>), we chose five features that showed no correlation describing relevant domains of the signal: peak latency, maximum signal value, number of peaks, main frequency, and slope.</p>
          <p>Peak values were extracted with the scipy find_peak<italic>s</italic> function with peak prominence defined as twice the SD of the signal. The main frequency was calculated as the frequency at which the Fourier transform of the filtered data attained its maximum absolute value. Finally, the slope of the signal was computed as the mean of the first derivative of the signal (using the NumPy function gradient). The resulting 5-dimensional feature representation of the data was then used to train, validate, and test a RF classifier.</p>
        </sec>
        <sec>
          <title>Time-Frequency Representation</title>
          <p>Finally, employing the Python library PyWavelets (pywt), a continuous wavelet transform with a Mexican hat mother wavelet was applied to the data to transform them into 2D time-frequency representations. Scales ranging from 2 to 30 were logarithmically spaced, while the time dimension was undersampled to yield an array of dimensions 224×224. These 2D time-frequency representations were then used to train, validate, and test a 2D-CNN.</p>
        </sec>
        <sec>
          <title>Statistical Testing</title>
          <p>Using custom Python scripts, Student <italic>t</italic> tests were applied to compare the mean values of two different features. Specifically, for each muscle, the means of the different features were compared across the two centers. Statistical significance was set at <italic>P</italic>=.05.</p>
        </sec>
        <sec>
          <title>Machine and Deep Learning Pipeline</title>
          <p>The Python library scikit-learn [<xref ref-type="bibr" rid="ref21">21</xref>] was used for the RF classifier, while tensorflow [<xref ref-type="bibr" rid="ref22">22</xref>] and keras [<xref ref-type="bibr" rid="ref23">23</xref>] were used to obtain the 1D- and 2D-CNN models. Hyperparameter tuning was carried out for the RF and 1D-CNN, while we used fixed parameters for the 2D-CNN (see below). The hyperparameters used in the grid search of the RF are the same as described in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. The architecture of our 1D-CNN is inspired by the model of Ahmed et al [<xref ref-type="bibr" rid="ref24">24</xref>], and consists of two consecutive 1D convolutional layers, followed by a MaxPooling layer, a dropout layer, and a BatchNormalization layer. The model then gets flattened, before adding a dense layer and another dropout layer and finally ending in a dense output layer. The structure of our 2D-CNN is inspired by the model of Wang et al [<xref ref-type="bibr" rid="ref25">25</xref>]. It consists of 4 blocks of 2D convolutional layers followed by BatchNormalization layers, with a MaxPooling layer after the second and third blocks and a GlobalMaxPooling layer after the fourth block. The model is capped off by a dense output layer. The specifics of these models are shown in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p>
          <p>The dataset from Center T<sub>1</sub> was split into 70% for training and 30% for validation (stratified according to patients), while the whole of the dataset from Center T<sub>2</sub> was used for testing. In all cases, we used class weighting [<xref ref-type="bibr" rid="ref26">26</xref>] to deal with the class imbalance problem (ie, the number of leg muscle MEPs is lower than the number of arm muscle MEPs, see Wermelinger et al [<xref ref-type="bibr" rid="ref12">12</xref>] for a discussion of this issue).</p>
        </sec>
        <sec>
          <title>Model Output and Outcome</title>
          <p>All prediction models output probabilities of belonging to the predicted class. The decision thresholds were set at a chance level of 0.25 (likelihood of belonging to 1 of 4 classes of muscles). They were systematically explored and reported (see <xref rid="figure2" ref-type="fig">Figure 2</xref>B) for decision thresholds up to 0.9.</p>
          <fig id="figure2" position="float">
            <label>Figure 2</label>
            <caption>
              <p>Classification results and confidence. (A) Validation accuracy (center T1, white) and test accuracy (center T2, colored) of all models. (B) Decision confidence. Solid lines are the accuracies (left y-axis) of the various models for different confidence thresholds. The dashed lines show the proportion of data with these confidences (right y-axis). RFs have a higher increase in accuracy compared with CNNs but at a higher data cost. (C) Bicentric confusion matrices: lower triangle (center T2), upper triangle (center T1) for both RF on feature representation (top) and 2D-CNN (bottom). The RF is slightly more congruent across centers than the 2D-CNN. CNN: convolutional neural network; RF: random forest.</p>
            </caption>
            <graphic xlink:href="jmir_v27i1e63937_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
          <p>Accuracy was used as the primary performance metric, and the confusion matrix was used to evaluate the performance of the classification algorithm. The outcome assessment does not require subjective interpretation, since the muscle identity is objectively assessable, independent of sociodemographic background and clinical outcome.</p>
          <p>No model updating or recalibration was performed during the model evaluation. While some variability in model performance was observed across different centers (<xref rid="figure2" ref-type="fig">Figure 2</xref>), we opted to retain the original model without adjustments. Future work may explore model updating to enhance performance in these areas.</p>
        </sec>
        <sec>
          <title>Explainability</title>
          <p>To elucidate how the RF classifiers made their decisions, we used feature importance and Shapley Additive Explanation (SHAP) values. Feature importance values are provided by the feature_importances<italic>_</italic> attribute of the scikit-learn RandomForestClassifier class, while the SHAP values are calculated with the SHAP library [<xref ref-type="bibr" rid="ref27">27</xref>]. The feature importance values are determined by aggregating (mean and SD) the impurity decrease within each decision tree. SHAP values quantify the impact of each feature on prediction outcomes. Positive values signify a positive influence, while negative values indicate the opposite, with magnitude representing the strength of the effect. SHAP values of the RF on feature representation of the MEP data were computed on a random sample containing 20% (5919 MEPs) of the training data set. In the case of CNNs, we used gradient-weighted class activation mapping (Grad-CAM). This is a type of attention map, a visualization tool highlighting regions within an image considered by the neural network to be pivotal for specific predictions [<xref ref-type="bibr" rid="ref28">28</xref>]. We adapted preexisting code to generate Grad-CAMs for both 1D- and 2D-CNNs [<xref ref-type="bibr" rid="ref29">29</xref>,<xref ref-type="bibr" rid="ref30">30</xref>]. The Grad-CAMs of all signals in the training data set were averaged to obtain the corresponding plots for the 1D-CNN (overall) and 2D-CNN (for each muscle).</p>
        </sec>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Differences and Similarities of MEP Properties Between Centers</title>
        <p>Data from 151 surgeries from the training and validation center T<sub>1</sub> yielded a total of 36,992 MEPs (11,958 EXT, 15,800 APB, 5773 TA, and 3461 AH), and the data from 58 surgeries from the test center T<sub>2</sub> yielded a total of 24,298 MEPs (3628 EXT, 10,670 APB, 4970 TA, and 5030 AH; <xref ref-type="table" rid="table1">Table 1</xref>).</p>
        <p>The distribution of muscle recordings is illustrated in <xref ref-type="table" rid="table1">Table 1</xref>. A notable discrepancy was observed in the proportion of MEPs recorded from the upper extremities between centers T<sub>1</sub> (75%, 27,758/36,992) and T<sub>2</sub> (58.8%, 14,298/24,298). This variation stems from differences in surgical procedures, montage standards, and stimulation techniques. As shown in <xref ref-type="table" rid="table1">Table 1</xref>, the proportion of MEPs elicited via DCS was significantly higher in center T<sub>1</sub> (89%, 134/151) than in center T<sub>2</sub> (30%, 17/58). One striking difference in the MEP data was the significantly shorter onset latencies across all muscles for center T<sub>1</sub> (<italic>P</italic>&#60;.001; <xref rid="figure3" ref-type="fig">Figure 3</xref>B). It is crucial to consider these disparities when interpreting the classification results. Furthermore, <xref rid="figure3" ref-type="fig">Figure 3</xref>C reveals differences in main frequency patterns between proximal muscles (EXT and TA) and distal muscles (APB and AH) for both centers, adding another layer of complexity to the MEP data analysis.</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>MEP properties across the 2 centers. (A) Latency distribution for both centers and for each muscle. The latencies of all muscles are significantly shorter at center T1. (B) Main frequency distribution for both centers and each muscle. At both centers, the distal muscles (APB and AH) exhibit a higher main frequency than the proximal muscles (EXT and TA). AH: abductor hallucis; APB: abductor pollicis brevis; EXT: extensor digitorum; TA: tibialis anterior.</p>
          </caption>
          <graphic xlink:href="jmir_v27i1e63937_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>With time representation of the MEPs, the RF classifier achieved 87.9% accuracy on the validation dataset from center T<sub>1</sub> and 80% on the test set from center T<sub>2</sub>. The 1D-CNN achieved a validation accuracy of 87.8% and a test accuracy of 78.4%. On the feature representation, the RF achieved 80.3% validation accuracy and 74.5% test accuracy. Finally, the 2D-CNN achieved 87.2% validation accuracy and 81.9% test accuracy on the time-frequency representation of the MEPs (see <xref rid="figure2" ref-type="fig">Figure 2</xref>A). Examination of the confusion matrices (<xref rid="figure2" ref-type="fig">Figure 2</xref>C and <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>) revealed subtle variations in decision-making patterns across muscles for different data representations and models. Generally, the more high-dimensional data input (time and time-frequency representation) performed better at the classification task than the feature representation of the data. Comparing the performances overall muscles between the RF on the feature representation and the 2D-CNN on the time-frequency representation, the former has a lower overall accuracy than the latter. However, when evaluating performance consistency across muscles, the feature representation demonstrated slightly less variability, evidenced by a lower SD (6.44% for RF on feature representation vs 7.3% for 2D-CNN) and coefficient of variation (8.15 vs 8.56, respectively), of performances.</p>
      </sec>
      <sec>
        <title>Evaluating Decision Confidence</title>
        <p>In intraoperative clinical settings, the confidence with which decisions are made is important. To assess this aspect in our classification task, we examined the confidence of our algorithms in categorizing muscles. <xref rid="figure2" ref-type="fig">Figure 2</xref>B illustrates the relationship between the proportion of confident predictions (those meeting a specific confidence threshold) and the corresponding test accuracy (see also <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>). For a four-class problem, the chance level is 25%. Notably, our models consistently outperform this baseline, showing robust performance. However, as confidence thresholds increase, the proportion of data that meet these criteria diminishes, albeit resulting in enhanced accuracy. The RF models incur a proportionally higher data cost for achieving this accuracy enhancement compared with CNNs.</p>
      </sec>
      <sec>
        <title>Insights Into Model Decision-Making</title>
        <sec>
          <title>Explicit Feature Representation</title>
          <p>Although algorithms using explicit feature representations showed poorer performance (80% test accuracy), they provided key insights into the decision-making process. Feature importance analysis (<xref rid="figure4" ref-type="fig">Figure 4</xref>A) revealed that peak latency, a primary factor in clinical decision-making, was the main driver of classification. Main frequency was the next most important, despite typically not being used by clinicians. This was followed in order of importance by maximum signal value, while slope and number of peaks were the least important features.</p>
          <fig id="figure4" position="float">
            <label>Figure 4</label>
            <caption>
              <p>Model decisions according to muscle classification. (A) SHAP feature importances of the RF on feature representation. (B) Beeswarm plot of SHAP values for each muscle classification of the RF on data with feature representation. The features are ordered by importance (top to bottom). Feature values are color-coded (black: high value, yellow: low value). Being on the right (positive SHAP values) means that the feature contributes to the (not necessarily correct) prediction of that particular class. Latency is the most important feature in this situation, with short latencies indicating upper extremity muscles, and long latencies lower extremity muscles. The second most important feature is the main frequency, with high frequencies leading to a decision toward distal muscles (APB and AH), whereas low frequencies push the decision toward proximal muscles (EXT and TA). AH: abductor hallucis; APB: abductor pollicis brevis; EXT: extensor digitorum; SHAP: Shapley Additive Explanation; TA: tibialis anterior.</p>
            </caption>
            <graphic xlink:href="jmir_v27i1e63937_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
          <p>SHAP values from the RF model using feature representation elucidated how different parameters influenced the model’s decisions for each class (<xref rid="figure4" ref-type="fig">Figure 4</xref>B). In all four muscles, peak latencies were crucial. For the upper extremity, short latencies favored correct predictions, whereas long latencies were accurate indicators for the lower extremity classes. Interestingly, the main frequencies did not exhibit this pattern. High main frequency values favored predictions for distal muscles (APB and AH), whereas low frequencies were associated with proximal muscles (EXT and TA).</p>
        </sec>
        <sec>
          <title>Implicit Feature Representation in CNNs</title>
          <p>When presented with complex data, such as time-series and wavelet transforms, ML algorithms use internal feature representations to guide their decision-making. For CNNs, these features can be visualized using attention maps, which highlight the areas of the input data that are most salient and decisive for classification. In the depicted Grad-CAMs, these areas correspond to where the signal occurs (see <xref rid="figure5" ref-type="fig">Figure 5</xref>B). The insights from explicit feature representation regarding main frequencies are also evident in the Grad-CAMs, since attention for proximal muscles focuses on lower frequencies compared with distal muscles. Similarly, in the feature importance analysis of the RF using the time representation, and in the average (over all signals and all muscles) of the Grad-CAMs of the 1D-CNN, the highest importance is assigned to the time points when the signals occur (see <xref rid="figure5" ref-type="fig">Figure 5</xref>A).</p>
          <fig id="figure5" position="float">
            <label>Figure 5</label>
            <caption>
              <p>Feature insights for time-series and time-frequency models. (A) Top: The feature importance values of the random forest on time representation motor-evoked potential (MEP) data. Bottom: Averaged Grad-CAM values (over all muscles and all signals) for the 1D convolutional neural network (CNN). In both cases, the most important features are the data points where the MEP occurs (depending on the extremity, between 20 and 60 ms). (B) Average wavelet transform (left, black and white) and average Grad-CAM plots (right, in color) for each muscle. Yellow color and black contour indicate high-attention areas of the CNN. The attention is earlier in the time domain for upper than for lower extremity muscles, whereas the lower bound of the attention contour along the frequency dimension is higher for distal muscles (APB and AH) than for proximal muscles (EXT and TA). AH: abductor hallucis; APB: abductor pollicis brevis; EXT: extensor digitorum; TA: tibialis anterior.</p>
            </caption>
            <graphic xlink:href="jmir_v27i1e63937_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
        </sec>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Key Findings</title>
        <sec>
          <title>Overview</title>
          <p>Our study demonstrates the high performance of ML models, such as RF, 1D-CNN, and 2D-CNN, in classifying MEPs recorded during IONM. Notably, the RF classifier achieved 87.9% validation accuracy and 80% test accuracy using time representation data, while the 1D-CNN and 2D-CNN achieved comparable performances with slightly increased variations in accuracy across different datasets.</p>
          <p>Furthermore, our analysis revealed that frequency is a critical feature that these algorithms use for decision-making, with different frequency ranges (low vs high frequencies) being decisive depending on the muscle group involved (proximal vs distal, respectively). This is an important finding, which should encourage clinicians to investigate this feature for potential warning criteria. Since there are still disagreements when it comes to warning criteria during intraoperative monitoring of motor evoked potentials, our results may already provide an opportunity to increase patient safety during surgical procedures.</p>
        </sec>
        <sec>
          <title>Source of Data Differences and Bias in ML Applications</title>
          <p>Significant differences in MEP latencies between datasets from centers T<sub>1</sub> and T<sub>2</sub> (see <xref rid="figure3" ref-type="fig">Figure 3</xref>A) may highlight the influence of different stimulation techniques. The higher number of MEPs induced by DCS at center T<sub>1</sub> might explain this difference, but other factors might also influence these findings, such as data collection methods, types of surgical procedures, and characteristics of the selected patient population including height, age, disease, etc. For example, the higher proportion of upper extremity MEPs in the data from center T<sub>1</sub> is due to different surgical focuses at center T<sub>1</sub> compared with center T<sub>2</sub>. Understanding these differences is crucial for interpreting ML model performance and ensuring generalizability across centers. Including more centers and more extensive data collection can mitigate biases and advance research in the field.</p>
        </sec>
        <sec>
          <title>Frequency Differences in Proximal Versus Distal Muscle Groups</title>
          <p>Our findings indicate significant differences in MEP frequencies between distal and proximal muscle groups. Distal muscles exhibit higher MEP frequencies compared with proximal muscles, a trend that was effectively used by various of our tested models in their decision-making processes. The underlying neurophysiological mechanisms contributing to these differences are not fully understood. Although the general pathway of distal and proximal MEPs are similar—upper motor neurons synapsing on lower motor neurons that innervate muscle fibers at the neuromuscular junction—anatomical and physiological differences between distal and proximal muscles may explain the observed frequency variations. The following physiological and anatomical characteristics outline potential factors contributing to these differences.</p>
          <p>First, distal muscles, involved in fine motor control, possess a higher density of smaller motor units compared with proximal muscles. The smaller motor units of distal muscles have lower activation thresholds but generate less force than the larger motor units found in proximal muscles [<xref ref-type="bibr" rid="ref31">31</xref>-<xref ref-type="bibr" rid="ref33">33</xref>]. Furthermore, distal hand muscles contain a greater proportion of slow motor units, which are more fatigue-resistant [<xref ref-type="bibr" rid="ref34">34</xref>,<xref ref-type="bibr" rid="ref35">35</xref>].</p>
          <p>Secondly, the temporal dispersion of electrical activity differs between muscle groups. Distal muscles, such as those in the hand and foot, exhibit more synchronous and temporally concentrated MEP responses, whereas proximal muscles display greater temporal dispersion. This increased synchrony in proximal muscle MEPs likely contributes to the higher frequency distribution observed in distal muscle MEPs.</p>
          <p>Thirdly, the cortical representation of distal muscles is significantly larger than that of proximal muscles, reflecting the dense corticospinal innervation of these areas. Hand muscles receive among the strongest corticospinal inputs, highlighting their critical role in precise motor control [<xref ref-type="bibr" rid="ref36">36</xref>-<xref ref-type="bibr" rid="ref38">38</xref>].</p>
          <p>In addition, various motor control pathways interact differently with distal and proximal muscle groups, further influencing the MEP frequency characteristics. These interactions likely involve contributions from both corticospinal and other descending motor pathways, though their exact contributions require further investigation [<xref ref-type="bibr" rid="ref39">39</xref>].</p>
          <p>The functional relevance of high and low-frequency bands within MEPs remains uncertain. While our findings suggest that MEP characteristics are largely determined by muscle-specific neurophysiology, it is essential to consider the potential role of top-down modulation from cortical and subcortical regions. These central mechanisms could influence observed frequency differences and may contribute to the observed MEP variations between distal and proximal muscles.</p>
          <p>Given that intraoperative changes in MEPs are considered critical warning signs of upper and lower motor neuron impairment, further investigation is necessary to clarify the relationship between MEP frequency components and both muscle neurophysiology and neuronal modulation mechanisms.</p>
        </sec>
        <sec>
          <title>Explaining Decisions: How SHAP and Grad-CAM Uncover MEP Feature Importance</title>
          <p>ML models, particularly those designed to handle complex data, consistently achieve high performance, but their lack of transparency can hinder interpretability and therefore acceptance in clinical processes. Specifically, we attained 80% accuracy with our five features per signal, compared with 87% accuracy with 1600 data points per signal. To address interpretability, we applied two complementary explainability techniques: SHAP and Grad-CAM, each offering unique insights into model behavior.</p>
          <p>SHAP provides a feature attribution approach, assigning precise numerical contributions to each input feature—such as latency or main frequency—to quantify its role in the prediction process. This method is independent of the choice of ML model and excels at identifying the relative importance of features and offers consistent, interpretable insights, albeit being computationally expensive. In contrast, Grad-CAM generates attention maps that visually highlight which regions of the input signal influenced the model’s decisions. They are model-specific and generally limited to CNNs. These visualizations are particularly useful for validating whether the model focuses on relevant, clinically meaningful areas of the MEP signal.</p>
          <p>The combination of SHAP and Grad-CAM allowed us to cross-validate findings, ensuring that the observed importance of main frequency was both quantitatively consistent and visually evident. Compared with other interpretability techniques, such as LIME [<xref ref-type="bibr" rid="ref40">40</xref>]. SHAP provides more robust and consistent explanations by attributing specific contributions of each feature to individual predictions (local interpretability) while also summarizing feature importance across the entire dataset to reveal overall model behavior (global interpretability).</p>
          <p>Our complementary approach highlights the importance of main frequency as a decisive MEP feature and demonstrates how XAI methods can uncover meaningful insights that warrant further testing in basic research and clinical trials. Moreover, the trade-off between explainability and complexity must be carefully considered. In intraoperative settings, where clinical trust is crucial, Grad-CAM’s intuitive attention maps may be favored for transparency. Conversely, SHAP’s precise attributions offer deeper insights for research applications requiring feature-level understanding.</p>
          <p>Ultimately, the choice of method depends on the context. Highly accurate yet less interpretable models should not be dismissed if extensively validated on diverse populations. In practice, balancing explainability and accuracy through complementary methods ensures optimal utility, whether for guiding clinical decisions or advancing research.</p>
        </sec>
        <sec>
          <title>Confidence in Intraoperative Decision-Making and Implications for Clinical Practice</title>
          <p>Accurately identifying muscles and avoiding labeling mistakes is critical in IONM, with previous studies highlighting the consequences of such errors that harm the patients we seek to protect [<xref ref-type="bibr" rid="ref41">41</xref>,<xref ref-type="bibr" rid="ref42">42</xref>]. During the IONM setup, mislabeling of muscles has caused false negative alarms, in missing MEP alterations of a presumed unaffected muscle. These incidences have caused potentially avoidable motor deficits during surgery and consequently resulted in legal actions. Nevertheless, we have to acknowledge that the IONM setup in the operating room environment is prone to errors as it is a high-pressure environment [<xref ref-type="bibr" rid="ref43">43</xref>]. Safety checklists have been implemented; however, an automated ML safety check would increase the avoidance of mislabeling. Those algorithms may be implemented in an existing IONM software.</p>
          <p>Further, our results suggest that expanding the search for warning criteria to the frequency domain is essential, as different muscles may require tailored approaches. Once these muscle classification models have been validated on more data and more centers, they could be implemented as a safety mechanism at baseline recordings in surgeries.</p>
          <p>When analyzing the confidence of our algorithms (see <xref rid="figure2" ref-type="fig">Figure 2</xref>B), it became apparent that signal quality and recording modes might limit high-confidence decisions, even with optimal algorithms. This trade-off between data volume and accuracy necessitates either better-trained models or higher-quality recordings. Investing in improved surveillance methods or stable recording techniques, such as averaging or selecting the best MEPs from multiple recordings, could be an essential step. This might affect how MEP monitoring will be done in the future.</p>
          <p>Ensuring the trustworthiness of AI involves addressing ethical and legal implications and incorporating decision confidence metrics could bolster acceptance of AI. The question of responsibility is important in a clinical setting and a transparent decision process for any potential implementation of AI is crucial in this regard. This becomes even more evident when discussing legal aspects and accountability. Integrating ML models with robust explainability attributes has the potential to enhance decision-making accuracy. Disclosing the basis of the algorithmic decisions to the neurophysiologists is key, as it allows them to reason how their understanding differs from the algorithm and oversee the intraoperative decision. In our particular MEP muscle identity scenario, it can provide a safety mechanism against muscle mislabeling and facilitate reliable clinical decisions. By elucidating the prediction bases, XAI supports understanding and trust in AI decisions, which is crucial for the seamless implementation of ML tools in real-time surgical environments. This could significantly increase acceptance of AI and its utility in clinical contexts.</p>
        </sec>
      </sec>
      <sec>
        <title>Future Directions and Limitations</title>
        <p>Despite the promising results, our study is limited by the small number of centers from which the data originated, potentially introducing center-specific biases. Future research should focus on expanding the dataset to involve more diverse clinical settings and patient populations, thereby improving model robustness and generalizability. This should include different IONM devices, stimulation paradigms, and surgical practices. In addition, further exploration of model interpretability techniques could enhance our understanding of ML decision-making, driving advancements in IONM practices. The next steps would be optimizing feature engineering and investigating changes in MEP features, especially the frequency domain during the surgery to predict motor deficits. As we know from previous studies, these frequency changes occur permanently in patients with deficits [<xref ref-type="bibr" rid="ref44">44</xref>].</p>
        <p>Future research should adopt a structured, multitiered approach to address remaining challenges and to advance the integration of ML-based IONM solutions. Immediate next steps involve expanding datasets, improving feature engineering, and validating models across diverse populations and various centers to enhance robustness and generalizability. Intermediate goals include developing standardized platforms for real-time integration, improving signal quality, and refining XAI frameworks. The long-term vision aims for real-time AI-assisted IONM systems to enhance decision-making, address legal and ethical considerations, and improve surgical safety through large-scale clinical trials and dynamic feedback mechanisms.</p>
      </sec>
      <sec>
        <title>Conclusion</title>
        <p>Our study highlights the potential of ML models, including RFs and CNNs, for accurately classifying motor evoked potentials across muscle groups during intraoperative neurophysiological monitoring. By demonstrating robust performance across independent datasets, we underline the reliability and generalizability of these models when applied to complex surgical environments. Importantly, our results identify frequency as a decisive feature, particularly in distinguishing between distal and proximal muscles. While this provides already an intraoperative safety mechanism against mislabeling, our findings have wider implications. This overlooked parameter offers a promising avenue for improving warning criteria during surgeries and providing the opportunity for timely intervention.</p>
        <p>Integrating XAI techniques, specifically SHAP and Grad-CAM, provided critical transparency into model decisions. XAI elucidates the underlying prediction bases, enhancing interpretability and fostering clinical trust—key prerequisites for successful deployment in real-time surgical settings. In the context of IONM, this transparency serves as a safety mechanism against muscle mislabeling, a persistent issue that can lead to avoidable motor deficits and legal consequences.</p>
        <p>By bridging the gap between model performance, clinical interpretability, and real-world implementation, this research paves the way for broader and more reliable AI applications in IONM-guided surgery. Real-time AI-assisted MEP monitoring holds the potential to transform intraoperative practices by improving decision accuracy, mitigating human error, and safeguarding patient outcomes.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Model training.</p>
        <media xlink:href="jmir_v27i1e63937_app1.docx" xlink:title="DOCX File , 14 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>Additional figures.</p>
        <media xlink:href="jmir_v27i1e63937_app2.docx" xlink:title="DOCX File , 299 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>TRIPOD-AI (Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis–Artificial Intelligence) checklist.</p>
        <media xlink:href="jmir_v27i1e63937_app3.pdf" xlink:title="PDF File  (Adobe PDF File), 1594 KB"/>
      </supplementary-material>
      <supplementary-material id="app4">
        <label>Multimedia Appendix 4</label>
        <p>Code for model evaluation.</p>
        <media xlink:href="jmir_v27i1e63937_app4.zip" xlink:title="ZIP File  (Zip Archive), 143438 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AH</term>
          <def>
            <p>abductor hallucis</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">AI</term>
          <def>
            <p>artificial intelligence</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">APB</term>
          <def>
            <p>abductor pollicis brevis</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">CNN</term>
          <def>
            <p>convolutional neural network</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">DCS</term>
          <def>
            <p>direct cortical stimulation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">EXT</term>
          <def>
            <p>extensor digitorum</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">Grad-CAM</term>
          <def>
            <p>gradient class activation map</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">IONM</term>
          <def>
            <p>intraoperative neurophysiological monitoring</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">MEP</term>
          <def>
            <p>motor-evoked potential</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">ML</term>
          <def>
            <p>machine learning</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">RF</term>
          <def>
            <p>random forest</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb12">SHAP</term>
          <def>
            <p>Shapley Additive Explanation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb13">TA</term>
          <def>
            <p>tibialis anterior</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb14">TES</term>
          <def>
            <p>transcranial electrical stimulation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb15">TRIPOD-AI</term>
          <def>
            <p>Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis–Artificial Intelligence</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb16">XAI</term>
          <def>
            <p>explainable artificial intelligence</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>We would like to thank Anja Giger for supplying the illustrations and Susan Kaplan for language editing. Furthermore, we would like to thank Prof Roger Lemon and Dr Maria J Téllez for their valuable input on the physiological basis of MEPs. This study did not receive any specific funding. The authors confirm that the reporting of this study complies with the TRIPOD-AI (Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis–Artificial Intelligence) guidelines (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p>
    </ack>
    <notes>
      <title>Data Availability</title>
      <p>The datasets analyzed during this study are not publicly available due to anonymity concerns. The models and preprocessing steps used during this study are included in this published article in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>. An intermediate level of expertise is necessary to use the custom-written Python scripts effectively.</p>
    </notes>
    <fn-group>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Deletis</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Shils</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Sala</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Seidel</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <source>Neurophysiology in neurosurgery: a modern approach</source>
          <year>2020</year>
          <publisher-loc>London, United Kingdom</publisher-loc>
          <publisher-name>Academic Press</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kothbauer</surname>
              <given-names>KF</given-names>
            </name>
            <name name-style="western">
              <surname>Deletis</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Epstein</surname>
              <given-names>FJ</given-names>
            </name>
          </person-group>
          <article-title>Motor-evoked potential monitoring for intramedullary spinal cord tumor surgery: correlation of clinical and neurophysiological data in a series of 100 consecutive procedures</article-title>
          <source>Neurosurg Focus</source>
          <year>1998</year>
          <volume>4</volume>
          <issue>5</issue>
          <fpage>e1</fpage>
          <pub-id pub-id-type="doi">10.3171/foc.1998.4.5.4</pub-id>
          <pub-id pub-id-type="medline">17154450</pub-id>
          <pub-id pub-id-type="pii">040501</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Deletis</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Isgum</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Amassian</surname>
              <given-names>VE</given-names>
            </name>
          </person-group>
          <article-title>Neurophysiological mechanisms underlying motor evoked potentials in anesthetized humans. Part 1. recovery time of corticospinal tract direct waves elicited by pairs of transcranial electrical stimuli</article-title>
          <source>Clin Neurophysiol</source>
          <year>2001</year>
          <volume>112</volume>
          <issue>3</issue>
          <fpage>438</fpage>
          <lpage>444</lpage>
          <pub-id pub-id-type="doi">10.1016/s1388-2457(01)00461-8</pub-id>
          <pub-id pub-id-type="medline">11222964</pub-id>
          <pub-id pub-id-type="pii">S1388-2457(01)00461-8</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Deletis</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Rodi</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Amassian</surname>
              <given-names>VE</given-names>
            </name>
          </person-group>
          <article-title>Neurophysiological mechanisms underlying motor evoked potentials in anesthetized humans. Part 2. Relationship between epidurally and muscle recorded MEPs in man</article-title>
          <source>Clin Neurophysiol</source>
          <year>2001</year>
          <volume>112</volume>
          <issue>3</issue>
          <fpage>445</fpage>
          <lpage>452</lpage>
          <pub-id pub-id-type="doi">10.1016/s1388-2457(00)00557-5</pub-id>
          <pub-id pub-id-type="medline">11222965</pub-id>
          <pub-id pub-id-type="pii">S1388-2457(00)00557-5</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sala</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Krzan</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Deletis</surname>
              <given-names>V</given-names>
            </name>
          </person-group>
          <article-title>Intraoperative neurophysiological monitoring in pediatric neurosurgery: why, when, how?</article-title>
          <source>Childs Nerv Syst</source>
          <year>2002</year>
          <volume>18</volume>
          <issue>6-7</issue>
          <fpage>264</fpage>
          <lpage>287</lpage>
          <pub-id pub-id-type="doi">10.1007/s00381-002-0582-3</pub-id>
          <pub-id pub-id-type="medline">12172930</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Macdonald</surname>
              <given-names>DB</given-names>
            </name>
          </person-group>
          <article-title>Intraoperative motor evoked potential monitoring: overview and update</article-title>
          <source>J Clin Monit Comput</source>
          <year>2006</year>
          <volume>20</volume>
          <issue>5</issue>
          <fpage>347</fpage>
          <lpage>377</lpage>
          <pub-id pub-id-type="doi">10.1007/s10877-006-9033-0</pub-id>
          <pub-id pub-id-type="medline">16832580</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Neuloh</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Pechstein</surname>
              <given-names>U</given-names>
            </name>
            <name name-style="western">
              <surname>Schramm</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Motor tract monitoring during insular glioma surgery</article-title>
          <source>J Neurosurg</source>
          <year>2007</year>
          <volume>106</volume>
          <issue>4</issue>
          <fpage>582</fpage>
          <lpage>592</lpage>
          <pub-id pub-id-type="doi">10.3171/jns.2007.106.4.582</pub-id>
          <pub-id pub-id-type="medline">17432707</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Seidel</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Beck</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Stieglitz</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Schucht</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Raabe</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>The warning-sign hierarchy between quantitative subcortical motor mapping and continuous motor evoked potential monitoring during resection of supratentorial brain tumors</article-title>
          <source>J Neurosurg</source>
          <year>2013</year>
          <volume>118</volume>
          <issue>2</issue>
          <fpage>287</fpage>
          <lpage>296</lpage>
          <pub-id pub-id-type="doi">10.3171/2012.10.JNS12895</pub-id>
          <pub-id pub-id-type="medline">23198802</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Macdonald</surname>
              <given-names>DB</given-names>
            </name>
            <name name-style="western">
              <surname>Skinner</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Shils</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Yingling</surname>
              <given-names>C</given-names>
            </name>
            <collab>American Society of Neurophysiological Monitoring</collab>
          </person-group>
          <article-title>Intraoperative motor evoked potential monitoring - a position statement by the American Society of Neurophysiological Monitoring</article-title>
          <source>Clin Neurophysiol</source>
          <year>2013</year>
          <volume>124</volume>
          <issue>12</issue>
          <fpage>2291</fpage>
          <lpage>316</lpage>
          <pub-id pub-id-type="doi">10.1016/j.clinph.2013.07.025</pub-id>
          <pub-id pub-id-type="medline">24055297</pub-id>
          <pub-id pub-id-type="pii">S1388-2457(13)01000-6</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Asimakidou</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Abut</surname>
              <given-names>PA</given-names>
            </name>
            <name name-style="western">
              <surname>Raabe</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Seidel</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Motor evoked potential warning criteria in supratentorial surgery: a scoping review</article-title>
          <source>Cancers (Basel)</source>
          <year>2021</year>
          <volume>13</volume>
          <issue>11</issue>
          <fpage>2803</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://boris.unibe.ch/id/eprint/157493"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/cancers13112803</pub-id>
          <pub-id pub-id-type="medline">34199853</pub-id>
          <pub-id pub-id-type="pii">cancers13112803</pub-id>
          <pub-id pub-id-type="pmcid">PMC8200078</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Park</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>I</given-names>
            </name>
          </person-group>
          <article-title>Application of machine learning in the field of intraoperative neurophysiological monitoring: a narrative review</article-title>
          <source>Applied Sciences</source>
          <year>2022</year>
          <volume>12</volume>
          <issue>15</issue>
          <fpage>7943</fpage>
          <pub-id pub-id-type="doi">10.3390/app12157943</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wermelinger</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Parduzi</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Sariyar</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Raabe</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Schneider</surname>
              <given-names>UC</given-names>
            </name>
            <name name-style="western">
              <surname>Seidel</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Opportunities and challenges of supervised machine learning for the classification of motor evoked potentials according to muscles</article-title>
          <source>BMC Med Inform Decis Mak</source>
          <year>2023</year>
          <volume>23</volume>
          <issue>1</issue>
          <fpage>198</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcmedinformdecismak.biomedcentral.com/articles/10.1186/s12911-023-02276-3"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s12911-023-02276-3</pub-id>
          <pub-id pub-id-type="medline">37784044</pub-id>
          <pub-id pub-id-type="pii">10.1186/s12911-023-02276-3</pub-id>
          <pub-id pub-id-type="pmcid">PMC10544622</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Boaro</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Azzari</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Basaldella</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Nunes</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Feletti</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Bicego</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Sala</surname>
              <given-names>F</given-names>
            </name>
          </person-group>
          <article-title>Machine learning allows expert level classification of intraoperative motor evoked potentials during neurosurgical procedures</article-title>
          <source>Comput Biol Med</source>
          <year>2024</year>
          <volume>180</volume>
          <fpage>109032</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S0010-4825(24)01117-X"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.compbiomed.2024.109032</pub-id>
          <pub-id pub-id-type="medline">39163827</pub-id>
          <pub-id pub-id-type="pii">S0010-4825(24)01117-X</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Machetanz</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Gallotti</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Leao Tatagiba</surname>
              <given-names>MT</given-names>
            </name>
            <name name-style="western">
              <surname>Liebsch</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Trakolis</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Tatagiba</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gharabaghi</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Naros</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Time-frequency representation of motor evoked potentials in brain tumor patients</article-title>
          <source>Front Neurol</source>
          <year>2020</year>
          <volume>11</volume>
          <fpage>633224</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/33613426"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fneur.2020.633224</pub-id>
          <pub-id pub-id-type="medline">33613426</pub-id>
          <pub-id pub-id-type="pmcid">PMC7894199</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Knox</surname>
              <given-names>AT</given-names>
            </name>
            <name name-style="western">
              <surname>Khakoo</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Gombolay</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Explainable artificial intelligence: point and counterpoint</article-title>
          <source>Pediatr Neurol</source>
          <year>2023</year>
          <volume>148</volume>
          <fpage>54</fpage>
          <lpage>55</lpage>
          <pub-id pub-id-type="doi">10.1016/j.pediatrneurol.2023.08.010</pub-id>
          <pub-id pub-id-type="medline">37659138</pub-id>
          <pub-id pub-id-type="pii">S0887-8994(23)00268-0</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Novakovsky</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Dexter</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Libbrecht</surname>
              <given-names>MW</given-names>
            </name>
            <name name-style="western">
              <surname>Wasserman</surname>
              <given-names>WW</given-names>
            </name>
            <name name-style="western">
              <surname>Mostafavi</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Obtaining genetics insights from deep learning via explainable artificial intelligence</article-title>
          <source>Nat Rev Genet</source>
          <year>2023</year>
          <volume>24</volume>
          <issue>2</issue>
          <fpage>125</fpage>
          <lpage>137</lpage>
          <pub-id pub-id-type="doi">10.1038/s41576-022-00532-2</pub-id>
          <pub-id pub-id-type="medline">36192604</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41576-022-00532-2</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Halimeh</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Jackson</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Vieluf</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Loddenkemper</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Meisel</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Explainable AI for wearable seizure logging: Impact of data quality, patient age, and antiseizure medication on performance</article-title>
          <source>Seizure</source>
          <year>2023</year>
          <volume>110</volume>
          <fpage>99</fpage>
          <lpage>108</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1059-1311(23)00155-3"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.seizure.2023.06.002</pub-id>
          <pub-id pub-id-type="medline">37336056</pub-id>
          <pub-id pub-id-type="pii">S1059-1311(23)00155-3</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Linardatos</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Papastefanopoulos</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Kotsiantis</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Explainable AI: a review of machine learning interpretability methods</article-title>
          <source>Entropy (Basel)</source>
          <year>2020</year>
          <volume>23</volume>
          <issue>1</issue>
          <fpage>18</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=e23010018"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/e23010018</pub-id>
          <pub-id pub-id-type="medline">33375658</pub-id>
          <pub-id pub-id-type="pii">e23010018</pub-id>
          <pub-id pub-id-type="pmcid">PMC7824368</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Roscher</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Bohn</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Duarte</surname>
              <given-names>MF</given-names>
            </name>
            <name name-style="western">
              <surname>Garcke</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Explainable machine learning for scientific insights and discoveries</article-title>
          <source>IEEE Access</source>
          <year>2020</year>
          <volume>8</volume>
          <fpage>42200</fpage>
          <lpage>42216</lpage>
          <pub-id pub-id-type="doi">10.1109/access.2020.2976199</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jesse</surname>
              <given-names>CM</given-names>
            </name>
            <name name-style="western">
              <surname>Alvarez Abut</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Wermelinger</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Raabe</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Schär</surname>
              <given-names>RT</given-names>
            </name>
            <name name-style="western">
              <surname>Seidel</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Functional outcome in spinal meningioma surgery and use of intraoperative neurophysiological monitoring</article-title>
          <source>Cancers (Basel)</source>
          <year>2022</year>
          <volume>14</volume>
          <issue>16</issue>
          <fpage>3989</fpage>
          <pub-id pub-id-type="doi">10.3390/cancers14163989</pub-id>
          <pub-id pub-id-type="medline">36010979</pub-id>
          <pub-id pub-id-type="pii">cancers14163989</pub-id>
          <pub-id pub-id-type="pmcid">PMC9406403</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pedregosa</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Varoquaux</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Gramfort</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Michel</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Thirion</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Grisel</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Blondel</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Prettenhofer</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Weiss</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Dubourg</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Vanderplas</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Passos</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Cournapeau</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Scikit-learn: Machine learning in Python</article-title>
          <source>J Mach Learn Res</source>
          <year>2011</year>
          <volume>12</volume>
          <fpage>2825</fpage>
          <lpage>2830</lpage>
          <pub-id pub-id-type="doi">10.5555/1953048.2078195</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Abadi</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Barham</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Davis</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Dean</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Devin</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Ghemawat</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Irving</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Isard</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Kudlur</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Levenberg</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Monga</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Moore</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Murray</surname>
              <given-names>DG</given-names>
            </name>
            <name name-style="western">
              <surname>Steiner</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>TensorFlow: a system for large-scale machine learning</article-title>
          <source>12th USENIX Symposium on Operating Systems Design and Implementation</source>
          <year>2016</year>
          <publisher-loc>Savannah, GA</publisher-loc>
          <publisher-name>USENIX Association</publisher-name>
          <fpage>265</fpage>
          <lpage>283</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="web">
          <article-title>Keras</article-title>
          <source>GitHub</source>
          <access-date>2025-02-28</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://github.com/fchollet/keras">https://github.com/fchollet/keras</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ahmed</surname>
              <given-names>AA</given-names>
            </name>
            <name name-style="western">
              <surname>Ali</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Abdullah</surname>
              <given-names>TAA</given-names>
            </name>
            <name name-style="western">
              <surname>Malebary</surname>
              <given-names>SJ</given-names>
            </name>
          </person-group>
          <article-title>Classifying cardiac arrhythmia from ECG signal using 1D CNN deep learning model</article-title>
          <source>Mathematics</source>
          <year>2023</year>
          <volume>11</volume>
          <issue>3</issue>
          <fpage>562</fpage>
          <pub-id pub-id-type="doi">10.3390/math11030562</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Lu</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Sun</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Ou</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Automatic ECG classification using continuous wavelet transform and convolutional neural network</article-title>
          <source>Entropy (Basel)</source>
          <year>2021</year>
          <volume>23</volume>
          <issue>1</issue>
          <fpage>119</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=e23010119"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/e23010119</pub-id>
          <pub-id pub-id-type="medline">33477566</pub-id>
          <pub-id pub-id-type="pii">e23010119</pub-id>
          <pub-id pub-id-type="pmcid">PMC7831114</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Géron</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <source>Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow</source>
          <year>2022</year>
          <publisher-loc>Sebastopol, CA</publisher-loc>
          <publisher-name>O'Reilly Media, Inc</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lundberg</surname>
              <given-names>SM</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>SI</given-names>
            </name>
          </person-group>
          <article-title>A unified approach to interpreting model predictions,? Advances in neural information processing systems, vol</article-title>
          <year>2017</year>
          <conf-name>NIPS'17: Proceedings of the 31st International Conference on Neural Information Processing Systems</conf-name>
          <conf-date>December 04, 2017</conf-date>
          <conf-loc>Long Beach, CA</conf-loc>
          <fpage>4768</fpage>
          <lpage>4777</lpage>
          <pub-id pub-id-type="doi">10.48550/arXiv.1705.07874</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Selvaraju</surname>
              <given-names>RR</given-names>
            </name>
            <name name-style="western">
              <surname>Michael Cogswell</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Abhishek Das</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Vedantam</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Parikh</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Batra</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>RGrad-CAM: visual explanations from deep networks via gradient-based localization</article-title>
          <year>2017</year>
          <conf-name>2017 IEEE International Conference on Computer Vision (ICCV)</conf-name>
          <conf-date>October 29, 2017</conf-date>
          <conf-loc>Venice, Italy</conf-loc>
          <fpage>618</fpage>
          <lpage>626</lpage>
          <pub-id pub-id-type="doi">10.1109/iccv.2017.74</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="web">
          <article-title>1D CNN Grad-CAM implementation</article-title>
          <source>Kaggle</source>
          <access-date>2024-07-01</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.kaggle.com/discussions/general/286454">https://www.kaggle.com/discussions/general/286454</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="web">
          <article-title>Grad-CAM class activation visualization</article-title>
          <source>Keras</source>
          <access-date>2024-07-01</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://keras.io/examples/vision/grad_cam/">https://keras.io/examples/vision/grad_cam/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zong</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Lu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Xu</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Deng</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Xie</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Zhou</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>MScanFit motor unit number estimation of abductor pollicis brevis: findings from different experimental parameters</article-title>
          <source>Front Aging Neurosci</source>
          <year>2022</year>
          <volume>14</volume>
          <fpage>953173</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/36325193"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fnagi.2022.953173</pub-id>
          <pub-id pub-id-type="medline">36325193</pub-id>
          <pub-id pub-id-type="pmcid">PMC9621390</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hu</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Suresh</surname>
              <given-names>NL</given-names>
            </name>
            <name name-style="western">
              <surname>Xue</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Rymer</surname>
              <given-names>WZ</given-names>
            </name>
          </person-group>
          <article-title>Extracting extensor digitorum communis activation patterns using high-density surface electromyography</article-title>
          <source>Front Physiol</source>
          <year>2015</year>
          <volume>6</volume>
          <fpage>279</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/26500558"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fphys.2015.00279</pub-id>
          <pub-id pub-id-type="medline">26500558</pub-id>
          <pub-id pub-id-type="pmcid">PMC4593961</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kandel</surname>
              <given-names>ER</given-names>
            </name>
            <name name-style="western">
              <surname>Koester</surname>
              <given-names>JD</given-names>
            </name>
            <name name-style="western">
              <surname>Mack</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Siegelbaum</surname>
              <given-names>SA</given-names>
            </name>
          </person-group>
          <source>Siegelbaum, in Principles of Neural Science, 6e</source>
          <year>2021</year>
          <publisher-loc>New York, NY</publisher-loc>
          <publisher-name>McGraw Hill</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fuglevand</surname>
              <given-names>AJ</given-names>
            </name>
          </person-group>
          <article-title>Mechanical properties and neural control of human hand motor units</article-title>
          <source>J Physiol</source>
          <year>2011</year>
          <volume>589</volume>
          <issue>Pt 23</issue>
          <fpage>5595</fpage>
          <lpage>5602</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1113/jphysiol.2011.215236"/>
          </comment>
          <pub-id pub-id-type="doi">10.1113/jphysiol.2011.215236</pub-id>
          <pub-id pub-id-type="medline">22005677</pub-id>
          <pub-id pub-id-type="pii">jphysiol.2011.215236</pub-id>
          <pub-id pub-id-type="pmcid">PMC3249035</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Feinstein</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Lindegård</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Nyman</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Wohlfart</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Morphologic studies of motor units in normal human muscles</article-title>
          <source>Acta Anat</source>
          <year>2008</year>
          <volume>23</volume>
          <issue>2</issue>
          <fpage>127</fpage>
          <lpage>142</lpage>
          <pub-id pub-id-type="doi">10.1159/000140989</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gordon</surname>
              <given-names>EM</given-names>
            </name>
            <name name-style="western">
              <surname>Chauvin</surname>
              <given-names>RJ</given-names>
            </name>
            <name name-style="western">
              <surname>Van</surname>
              <given-names>AN</given-names>
            </name>
            <name name-style="western">
              <surname>Rajesh</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Nielsen</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Newbold</surname>
              <given-names>DJ</given-names>
            </name>
            <name name-style="western">
              <surname>Lynch</surname>
              <given-names>CJ</given-names>
            </name>
            <name name-style="western">
              <surname>Seider</surname>
              <given-names>NA</given-names>
            </name>
            <name name-style="western">
              <surname>Krimmel</surname>
              <given-names>SR</given-names>
            </name>
            <name name-style="western">
              <surname>Scheidter</surname>
              <given-names>KM</given-names>
            </name>
            <name name-style="western">
              <surname>Monk</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Miller</surname>
              <given-names>RL</given-names>
            </name>
            <name name-style="western">
              <surname>Metoki</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Montez</surname>
              <given-names>DF</given-names>
            </name>
            <name name-style="western">
              <surname>Zheng</surname>
              <given-names>A</given-names>
            </name>
            <collab>et al</collab>
          </person-group>
          <article-title>A somato-cognitive action network alternates with effector regions in motor cortex</article-title>
          <source>Nature</source>
          <year>2023</year>
          <volume>617</volume>
          <issue>7960</issue>
          <fpage>351</fpage>
          <lpage>359</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/37076628"/>
          </comment>
          <pub-id pub-id-type="doi">10.1038/s41586-023-05964-2</pub-id>
          <pub-id pub-id-type="medline">37076628</pub-id>
          <pub-id pub-id-type="pii">10.1038/s41586-023-05964-2</pub-id>
          <pub-id pub-id-type="pmcid">PMC10172144</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Graziano</surname>
              <given-names>MS</given-names>
            </name>
            <name name-style="western">
              <surname>Taylor</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Moore</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Complex movements evoked by microstimulation of precentral cortex</article-title>
          <source>Neuron</source>
          <year>2002</year>
          <volume>34</volume>
          <issue>5</issue>
          <fpage>841</fpage>
          <lpage>851</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S0896627302006980"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/s0896-6273(02)00698-0</pub-id>
          <pub-id pub-id-type="medline">12062029</pub-id>
          <pub-id pub-id-type="pii">S0896627302006980</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Palmer</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Ashby</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Corticospinal projections to upper limb motoneurones in humans</article-title>
          <source>J Physiol</source>
          <year>1992</year>
          <volume>448</volume>
          <issue>1</issue>
          <fpage>397</fpage>
          <lpage>412</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://onlinelibrary.wiley.com/resolve/openurl?genre=article&#38;sid=nlm:pubmed&#38;issn=0022-3751&#38;date=1992&#38;volume=448&#38;spage=397"/>
          </comment>
          <pub-id pub-id-type="doi">10.1113/jphysiol.1992.sp019048</pub-id>
          <pub-id pub-id-type="medline">1593472</pub-id>
          <pub-id pub-id-type="pmcid">PMC1176206</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lemon</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Recent advances in our understanding of the primate corticospinal system</article-title>
          <source>F1000Res</source>
          <year>2019</year>
          <volume>8</volume>
          <fpage>274</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/30906528"/>
          </comment>
          <pub-id pub-id-type="doi">10.12688/f1000research.17445.1</pub-id>
          <pub-id pub-id-type="medline">30906528</pub-id>
          <pub-id pub-id-type="pii">F1000 Faculty Rev-274</pub-id>
          <pub-id pub-id-type="pmcid">PMC6415323</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ribeiro</surname>
              <given-names>MT</given-names>
            </name>
            <name name-style="western">
              <surname>Sameer Singh</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Guestrin,</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>"Why should i trust you?": explaining the predictions of any classifier</article-title>
          <year>2016</year>
          <conf-name>Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</conf-name>
          <conf-date>August 13, 2016</conf-date>
          <conf-loc>San Francisco, CA</conf-loc>
          <fpage>1135</fpage>
          <lpage>1144</lpage>
          <pub-id pub-id-type="doi">10.1145/2939672.2939778</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref41">
        <label>41</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Modi</surname>
              <given-names>HN</given-names>
            </name>
            <name name-style="western">
              <surname>Suh</surname>
              <given-names>SW</given-names>
            </name>
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Yoon</surname>
              <given-names>JY</given-names>
            </name>
          </person-group>
          <article-title>False-negative transcranial motor-evoked potentials during scoliosis surgery causing paralysis</article-title>
          <source>Spine</source>
          <year>2009</year>
          <volume>34</volume>
          <issue>24</issue>
          <fpage>E896</fpage>
          <lpage>E900</lpage>
          <pub-id pub-id-type="doi">10.1097/brs.0b013e3181b40d4f</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref42">
        <label>42</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yingling</surname>
              <given-names>CD</given-names>
            </name>
          </person-group>
          <article-title>Are there false-negative and false-positive motor-evoked potentials?</article-title>
          <source>J Clin Neurophysiol</source>
          <year>2011</year>
          <volume>28</volume>
          <issue>6</issue>
          <fpage>607</fpage>
          <lpage>610</lpage>
          <pub-id pub-id-type="doi">10.1097/WNP.0b013e31823db022</pub-id>
          <pub-id pub-id-type="medline">22146357</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref43">
        <label>43</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Halverson</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Casey</surname>
              <given-names>JT</given-names>
            </name>
            <name name-style="western">
              <surname>Andersson</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Anderson</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Rademaker</surname>
              <given-names>AW</given-names>
            </name>
            <name name-style="western">
              <surname>Moorman</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Communication failure in the operating room</article-title>
          <source>Surgery</source>
          <year>2011</year>
          <volume>149</volume>
          <issue>3</issue>
          <fpage>305</fpage>
          <lpage>310</lpage>
          <pub-id pub-id-type="doi">10.1016/j.surg.2010.07.051</pub-id>
          <pub-id pub-id-type="medline">20951399</pub-id>
          <pub-id pub-id-type="pii">S0039-6060(10)00439-3</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref44">
        <label>44</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Naros</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Machetanz</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Leao</surname>
              <given-names>MT</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Tatagiba</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gharabaghi</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Impaired phase synchronization of motor-evoked potentials reflects the degree of motor dysfunction in the lesioned human brain</article-title>
          <source>Hum Brain Mapp</source>
          <year>2022</year>
          <volume>43</volume>
          <issue>8</issue>
          <fpage>2668</fpage>
          <lpage>2682</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/35199903"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/hbm.25812</pub-id>
          <pub-id pub-id-type="medline">35199903</pub-id>
          <pub-id pub-id-type="pmcid">PMC9057086</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
