<?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">JMU</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Mhealth Uhealth</journal-id>
      <journal-title>JMIR mHealth and uHealth</journal-title>
      <issn pub-type="epub">2291-5222</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">v8i7e13737</article-id>
      <article-id pub-id-type="pmid">32735229</article-id>
      <article-id pub-id-type="doi">10.2196/13737</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>Derivation of Breathing Metrics From a Photoplethysmogram at Rest: Machine Learning Methodology</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Eysenbach</surname>
            <given-names>Gunther</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Charlton</surname>
            <given-names>Peter</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Askarian</surname>
            <given-names>Behnam</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Tabei</surname>
            <given-names>Fatemehsadat</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Prinable</surname>
            <given-names>Joseph</given-names>
          </name>
          <degrees>BEng</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>School of Electrical and Information Engineering</institution>
            <institution>The University of Sydney</institution>
            <addr-line>Room 402, Building J03</addr-line>
            <addr-line>Maze Crescent</addr-line>
            <addr-line>Darlington, 2006</addr-line>
            <country>Australia</country>
            <phone>61 404035701</phone>
            <email>joseph.prinable@sydney.edu.au</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3264-6458</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Jones</surname>
            <given-names>Peter</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-0229-3527</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Boland</surname>
            <given-names>David</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5370-4464</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Thamrin</surname>
            <given-names>Cindy</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-3284-3558</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>McEwan</surname>
            <given-names>Alistair</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6660-3192</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>School of Electrical and Information Engineering</institution>
        <institution>The University of Sydney</institution>
        <addr-line>Darlington</addr-line>
        <country>Australia</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>The Woolcock Institute of Medical Research</institution>
        <institution>The University of Sydney</institution>
        <addr-line>Glebe</addr-line>
        <country>Australia</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Joseph Prinable <email>joseph.prinable@sydney.edu.au</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <month>7</month>
        <year>2020</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>31</day>
        <month>7</month>
        <year>2020</year>
      </pub-date>
      <volume>8</volume>
      <issue>7</issue>
      <elocation-id>e13737</elocation-id>
      <history>
        <date date-type="received">
          <day>18</day>
          <month>2</month>
          <year>2019</year>
        </date>
        <date date-type="rev-request">
          <day>18</day>
          <month>5</month>
          <year>2019</year>
        </date>
        <date date-type="rev-recd">
          <day>26</day>
          <month>12</month>
          <year>2019</year>
        </date>
        <date date-type="accepted">
          <day>22</day>
          <month>2</month>
          <year>2020</year>
        </date>
      </history>
      <copyright-statement>©Joseph Prinable, Peter Jones, David Boland, Cindy Thamrin, Alistair McEwan. Originally published in JMIR mHealth and uHealth (http://mhealth.jmir.org), 31.07.2020.</copyright-statement>
      <copyright-year>2020</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 JMIR mHealth and uHealth, is properly cited. The complete bibliographic information, a link to the original publication on http://mhealth.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="http://mhealth.jmir.org/2020/7/e13737/" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>There has been a recent increased interest in monitoring health using wearable sensor technologies; however, few have focused on breathing. The ability to monitor breathing metrics may have indications both for general health as well as respiratory conditions such as asthma, where long-term monitoring of lung function has shown promising utility.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>In this paper, we explore a long short-term memory (LSTM) architecture and predict measures of interbreath intervals, respiratory rate, and the inspiration-expiration ratio from a photoplethysmogram signal. This serves as a proof-of-concept study of the applicability of a machine learning architecture to the derivation of respiratory metrics.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>A pulse oximeter was mounted to the left index finger of 9 healthy subjects who breathed at controlled respiratory rates. A respiratory band was used to collect a reference signal as a comparison.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Over a 40-second window, the LSTM model predicted a respiratory waveform through which breathing metrics could be derived with a bias value and 95% CI. Metrics included inspiration time (–0.16 seconds, –1.64 to 1.31 seconds), expiration time (0.09 seconds, –1.35 to 1.53 seconds), respiratory rate (0.12 breaths per minute, –2.13 to 2.37 breaths per minute), interbreath intervals (–0.07 seconds, –1.75 to 1.61 seconds), and the inspiration-expiration ratio (0.09, –0.66 to 0.84).</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>A trained LSTM model shows acceptable accuracy for deriving breathing metrics and could be useful for long-term breathing monitoring in health. Its utility in respiratory disease (eg, asthma) warrants further investigation.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>photoplethysmogram</kwd>
        <kwd>respiration</kwd>
        <kwd>asthma monitoring</kwd>
        <kwd>LSTM</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p>There has been increasing interest in monitoring health using wearable sensors. However, very few technologies have focused on the breathing signal. The ability to monitor breathing may be beneficial for general health and particularly for asthma, which is a health condition that affects over 300 million people globally [<xref ref-type="bibr" rid="ref1">1</xref>]. Monitoring of lung function using specialized metrics such as peak expiratory flow has been shown to be useful for predicting risk of an asthma episode [<xref ref-type="bibr" rid="ref2">2</xref>]; however, this can be difficult to perform for patients as it involves forced maneuvers. It remains to be seen whether continuous monitoring of simple breathing metrics such as the interbreath interval (IBI) and the inspiration-expiration (I:E) ratio could provide further information on asthma control [<xref ref-type="bibr" rid="ref3">3</xref>] and disease status [<xref ref-type="bibr" rid="ref4">4</xref>].</p>
      <p>The availability of a noninvasive sensor that measures breathing continuously and in an ambulatory manner would facilitate studies to establish clinical utility. One sensor of interest is the pulse oximeter that is commonly used in a clinical setting to measure both arterial blood oxygen saturation (SPO<sub>2</sub>) and heart rate. A tidal breathing method exists that also shows promise for clinical prediction [<xref ref-type="bibr" rid="ref5">5</xref>]; however, these methods are unsuitable for continuous monitoring (eg, during walking or exercise). It was recently shown that a pulse oximeter can also be used to continuously monitor respiratory rate in a clinical setting [<xref ref-type="bibr" rid="ref6">6</xref>]. This is possible because breathing periodicity [<xref ref-type="bibr" rid="ref6">6</xref>,<xref ref-type="bibr" rid="ref7">7</xref>] and effort [<xref ref-type="bibr" rid="ref8">8</xref>] modulate photoplethysmogram (PPG) amplitude, frequency, and baseline wander [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. Filtering and feature-based signal processing approaches can be applied to the PPG signal to extract a surrogate respiratory signal. This in turn can be processed to derive breathing rate (BR) with varying degrees of accuracy [<xref ref-type="bibr" rid="ref7">7</xref>].</p>
      <p>Unfortunately, there is poor amplitude correlation between the surrogate respiratory waveform and a gold standard respiratory trace. This poor correlation may make the I:E ratio difficult or impossible to derive using existing methods. In this work, we sought to address this using machine learning. In a previous pilot study [<xref ref-type="bibr" rid="ref11">11</xref>], we demonstrated how a long short-term memory (LSTM) approach could predict a respiratory waveform from which BR could be derived. LSTM is a type of a recurrent neural network that can capture long-term, time-based dependencies in data [<xref ref-type="bibr" rid="ref12">12</xref>]. Through the LSTM, we showed that the Pearson correlation coefficient between the derived respiratory waveform and a pneumotachograph trace had similarly high <italic>r</italic> values (<italic>r</italic>&#62;0.8) to existing methods. In this paper, we built on this study by investigating the accuracy to which IBI, I:E ratio, and BR respiratory metrics can be attained from a PPG-derived surrogate respiratory waveform using an LSTM. We show that, in comparison to existing approaches, we can derive breathing metrics to a higher degree of accuracy from a pulse oximeter.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Datasets</title>
        <sec>
          <title>Data Collection</title>
          <p>Measurements were recorded from a group of 10 healthy participants who provided informed consent. The protocol for this study was approved by Northern Sydney Local Health District Human Research Ethics Committee (LNR/16/HAWKE/99 ethics approval). Participants conducted 5 randomized breathing serials at a rate of 6, 8, 10, 12, or 14 breaths per minute (BPM). Each serial was conducted for 5 minutes. Each participant was coached to breath one full inhalation and exhalation in time with a visual prompt.</p>
          <p>An Alice PDx (Philips Respironics, Murrysville, PA) portable sleep diagnostic system was used to measure physiological signals during this study. The supplied pulse oximeter was attached to the index finger of the nonmaster hand, allowing the capture of a raw PPG trace, SPO<sub>2</sub>, and pulse rate data. The Alice PDx reported calculated values for SPO<sub>2</sub> and pulse rate 3 times per second. PPG signals were sampled at 75 Hz.</p>
          <p>Respiratory inductance plethysmography is a method to measure relative tidal volume (RTV) as a function of the chest and abdominal wall movement [<xref ref-type="bibr" rid="ref13">13</xref>]. In this study, inductance bands were placed around the abdomen and ribcage according to the manufacturer’s guidelines, allowing RTV to be estimated as the weighted sum of the chest and abdominal wall inductance signals. The Alice PDx system reported an RTV signal based on the contribution of both respiratory bands and was captured at 100 Hz.</p>
        </sec>
        <sec>
          <title>Description of Available Features</title>
          <p>The Alice PDx system outputs three independent time series: PPG, SPO<sub>2</sub>, and pulse rate. The SPO<sub>2</sub>, processed PPG, and pulse rate signals were up-sampled to 25 Hz while the RTV was down-sampled to 25 Hz before normalizing between ±1. The sampling rate of 25 Hz was selected to ensure respiratory rate accuracy [<xref ref-type="bibr" rid="ref7">7</xref>,<xref ref-type="bibr" rid="ref14">14</xref>] and so that all time series data had the same time scale.</p>
          <p>In addition to the three time series given by the Alice PDx system, a bandpassed PPG time series was generated by passing the original PPG signal through a sixth order Butterworth bandpass filter with a center frequency corresponding to the respiratory rate of the signal with a bandwidth of 0.002 Hz. This additional time series was included because our previous findings suggested that this feature could improve model prediction [<xref ref-type="bibr" rid="ref11">11</xref>].</p>
          <p>Altogether, the available features used within our model are as follows:</p>
          <list list-type="bullet">
            <list-item>
              <p>Feature 1: PPG</p>
            </list-item>
            <list-item>
              <p>Feature 2: bandpassed PPG</p>
            </list-item>
            <list-item>
              <p>Feature 3: SPO<sub>2</sub></p>
            </list-item>
            <list-item>
              <p>Feature 4: pulse rate</p>
            </list-item>
          </list>
          <p>We previously determined experimentally that the inclusion of SPO<sub>2</sub> and pulse rate values helped inform the network when decoupling between the pulse signal and respiratory signal occurs [<xref ref-type="bibr" rid="ref11">11</xref>]. The exact underlying physiological mechanisms are unclear.</p>
        </sec>
      </sec>
      <sec>
        <title>Derivation of a Respiratory Waveform Time Series</title>
        <p>For comparison purposes, RRest toolbox [<xref ref-type="bibr" rid="ref15">15</xref>] was used to extract respiratory waveforms from a PPG using 10 feature-based and filter-based algorithms as shown in <xref rid="figure1" ref-type="fig">Figure 1</xref>. The resulting respiratory waveforms were temporally aligned to correspond with the reference respiratory waveform in the test set for comparison purposes. The techniques used to derive the respiratory waveforms, as well as our LSTM method, are described in <xref ref-type="table" rid="table1">Table 1</xref>.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Using existing filter-based and feature-based methods, 10 relative respiratory waveforms were derived from a photoplethysmogram (PPG) signal, and another relative respiratory waveform was derived using a long short-term memory (LSTM) that accepts PPG, arterial blood oxygen saturation (SPO2), band-passed (BP) PPG, and pulse rate inputs. BR: breathing rate; I:E: inspiration-expiration ratio; IBI: interbreath interval.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i7e13737_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Techniques for the extraction of respiratory signals from a photoplethysmogram (adapted from Charlton et al [<xref ref-type="bibr" rid="ref15">15</xref>]).</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="470"/>
            <col width="500"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Respiratory signal</td>
                <td>Description</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">
                  <bold>Filter-based</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>Bandpass filter between plausible respiratory frequencies</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>Maximum amplitude of the CWT<sup>a</sup> within plausible cardiac frequencies (30-220 beats per minute) [<xref ref-type="bibr" rid="ref16">16</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A3</sub></td>
                <td>The frequency corresponding to the maximum amplitude of the CWT within plausible cardiac frequencies [<xref ref-type="bibr" rid="ref16">16</xref>]</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Feature-based</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B1</sub></td>
                <td>Mean amplitude of troughs and proceeding peaks [<xref ref-type="bibr" rid="ref7">7</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B2</sub></td>
                <td>Difference between the amplitudes of troughs and proceeding peaks [<xref ref-type="bibr" rid="ref17">17</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B3</sub></td>
                <td>Time interval between consecutive troughs [<xref ref-type="bibr" rid="ref17">17</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B4</sub></td>
                <td>Mean signal value between consecutive troughs [<xref ref-type="bibr" rid="ref18">18</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B5</sub></td>
                <td>Peak amplitude [<xref ref-type="bibr" rid="ref17">17</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B6</sub></td>
                <td>Trough amplitude [<xref ref-type="bibr" rid="ref18">18</xref>]</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>B10</sub></td>
                <td>PPG<sup>b</sup> pulse width estimation using a wave boundary detection algorithm [<xref ref-type="bibr" rid="ref19">19</xref>]</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Machine learning–based</bold>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub><sup>c</sup></td>
                <td>Proposed LSTM method</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table1fn1">
              <p><sup>a</sup>CWT: continuous wavelet transform.</p>
            </fn>
            <fn id="table1fn2">
              <p><sup>b</sup>PPG: photoplethysmogram.</p>
            </fn>
            <fn id="table1fn3">
              <p><sup>c</sup>LSTM: long short-term memory.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>LSTM Architecture and Parameters</title>
        <p>We propose the use of an LSTM model as an alternative to the signal processing methods described in <xref ref-type="table" rid="table1">Table 1</xref>. In this section, we discuss our training and validation procedures to determine an appropriate LSTM architecture to predict a respiratory waveform.</p>
        <p>The core component of an LSTM architecture is a memory cell whose characteristics allow long-term data dependencies to be captured. A single LSTM cell uses gate mechanisms to forget irrelevant parts of a previous state, selectively update the current cell state, and to output the cell state [<xref ref-type="bibr" rid="ref12">12</xref>]. Each cell contains a number of hidden units that define the dimensionality of both the current and output states. Increasing hidden units within a model may lead to overfitting. Conversely, reducing hidden units below a certain threshold will not allow a model to be trained.</p>
        <sec>
          <title>Hyperparameter Search</title>
          <p>We first conducted a structured, though nonexhaustive, hyperparameter search to determine suitable values for our final LSTM architecture. We then performed more extensive training to maximize the performance of our final architecture.</p>
        </sec>
        <sec>
          <title>Hyperparameter Exploration</title>
          <p>An open-source Python 3.5 library called TensorFlow r1.3 was used to train the LSTM model on a Dell Optiplex D810 (i7, 32 GB RAM; Dell Inc, Round Rock, TX) and two Titan Xp (Nvidia Corp, Santa Clara, CA) graphics processing units (GPUs).</p>
          <p>The AdamOptimizer class of Tensorflow was used to train the LSTM using a learning rate of 0.0005 for 100 epochs with a batch size of 128. We explored the effect of changing the amount of cells (100, 300, 500), hidden units within a cell (500, 1500, 2500), and layers (1, 2, 3) and compared the results against a default model containing 100 cells, 500 hidden units, and a single layer. For this study, cells were layered sequentially two times to improve model accuracy and robustness [<xref ref-type="bibr" rid="ref20">20</xref>]. The dropout layer was placed between each layer with a dropout rate of 0.5 to reduce overfitting [<xref ref-type="bibr" rid="ref21">21</xref>]. There was a single dense, fully connected layer at the end.</p>
          <p>To minimize training time for hyperparameter exploration, 4 smaller training datasets were created from the original 45 unique datasets (9 participants, each with 5 breathing serials). These datasets contained data from 1 participant (7), 3 participants (3, 5, 7), 5 participants (1, 3, 5, 7, 9), or 9 (1, 2, 3, 4, 5, 6, 7, 8, 9) participants. This allowed us to compare model performance as the number of participants increased for the various configurations. To further reduce training time, each dataset was reduced to 1 minute of data, splitting 70%, 15%, and 15% into training, validation, and test sets, respectively. To assess the performance of the model, we conducted 5-fold cross validation. To reduce computational time that typically results in higher error bias but lower variability, we chose 5 folds over 10 folds [<xref ref-type="bibr" rid="ref22">22</xref>]. We investigated permutations of the available features and found that accuracy increased with the number of features with a minimal cost in terms of execution time.</p>
          <p><xref ref-type="table" rid="table2">Table 2</xref> shows the training time in minutes as a function of participants and the hyperparameter. The Pearson correlation coefficients between the derived and reference respiratory waveforms are plotted as a function of increasing number of participants for the chosen cell values (<xref ref-type="table" rid="table2">Table 2</xref>) in <xref rid="figure2" ref-type="fig">Figure 2</xref>A, hidden unit values in <xref rid="figure2" ref-type="fig">Figure 2</xref>B, and layer values in <xref rid="figure2" ref-type="fig">Figure 2</xref>C. The highest correlation was achieved with 300 cells and 2 layers for 9 participants. For hidden units, the correlation was similar between the quantities, with 2500 hidden units only slightly better than 500 (0.786 vs 0.788). Due to the minimal difference, the latter was selected as it required significantly less training time (211 minutes vs 1213 minutes) for comparable performance.</p>
          <table-wrap position="float" id="table2">
            <label>Table 2</label>
            <caption>
              <p>Training time (minutes) for the hyperparameter search.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="30"/>
              <col width="150"/>
              <col width="0"/>
              <col width="180"/>
              <col width="0"/>
              <col width="180"/>
              <col width="0"/>
              <col width="190"/>
              <col width="0"/>
              <col width="270"/>
              <thead>
                <tr valign="top">
                  <td colspan="2">Hyperparameters</td>
                  <td colspan="2">1 participant</td>
                  <td colspan="2">3 participants</td>
                  <td colspan="2">5 participants</td>
                  <td colspan="2">9 participants</td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td colspan="2">
                    <bold>Cells</bold>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">100</td>
                  <td colspan="2">24</td>
                  <td colspan="2">75</td>
                  <td colspan="2">110</td>
                  <td>208</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">300</td>
                  <td colspan="2">54</td>
                  <td colspan="2">200</td>
                  <td colspan="2">272</td>
                  <td>505</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">500</td>
                  <td colspan="2">84</td>
                  <td colspan="2">313</td>
                  <td colspan="2">542</td>
                  <td>932</td>
                </tr>
                <tr valign="top">
                  <td colspan="2">
                    <bold>Hidden units</bold>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">500</td>
                  <td colspan="2">24</td>
                  <td colspan="2">69</td>
                  <td colspan="2">150</td>
                  <td>211</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">1500</td>
                  <td colspan="2">52</td>
                  <td colspan="2">161</td>
                  <td colspan="2">264</td>
                  <td>482</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">2500</td>
                  <td colspan="2">131</td>
                  <td colspan="2">402</td>
                  <td colspan="2">665</td>
                  <td>1213</td>
                </tr>
                <tr valign="top">
                  <td colspan="2">
                    <bold>Layers</bold>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                  <td colspan="2">
                    <break/>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">1</td>
                  <td colspan="2">24</td>
                  <td colspan="2">65</td>
                  <td colspan="2">116</td>
                  <td>220</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">2</td>
                  <td colspan="2">35</td>
                  <td colspan="2">125</td>
                  <td colspan="2">190</td>
                  <td>366</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td colspan="2">3</td>
                  <td colspan="2">48</td>
                  <td colspan="2">158</td>
                  <td colspan="2">271</td>
                  <td>470</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>
          <fig id="figure2" position="float">
            <label>Figure 2</label>
            <caption>
              <p>Pearson correlation values between derived and reference respiratory waveforms, given a dataset containing n participants, for a long short-term memory (LSTM) with (A) cells of size 100, 300, and 500; (B) hidden units of size 500, 1500, and 2500; (C) layers of size 1, 2, and 3.</p>
            </caption>
            <graphic xlink:href="mhealth_v8i7e13737_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
        </sec>
      </sec>
      <sec>
        <title>Final Model Training</title>
        <p>The final model had around 8257 trainable parameters consisting of 300 cells, 2 layers, and 16 hidden layers. To train our final model, we used AdamOptimizer with an initial learning rate of 0.02 and batch size of 256. We conducted 5-fold cross validation with approximately 223,786 training examples per fold with early stopping.</p>
      </sec>
      <sec>
        <title>Extraction of Breathing Metrics</title>
        <p>We defined a valid window when the Pearson correlation coefficient was &#62;0.6 between the gold standard respiratory waveform and derived tidal volume waveform (TVW) in the window. For test sets that contained valid windows, we extracted peaks and troughs in MATLAB R2016b (MathWorks Inc, Natick, MA). To find the maximum points, ‘findpeaks’ was used, and we used a linear search algorithm to find the global minimum between 2 consecutive peaks. Using the peak and trough data, we extracted the following: IBI (the period in seconds between 2 consecutive peaks within the TVW signal), inspiration time (period in seconds between a trough and peak within the TVW signal), expiration period (period in seconds between a peak and trough within the TVW signal), and I:E (ratio between consecutive inspiration time and expiration period).</p>
        <p>We then evaluated the Bland-Altman agreement [<xref ref-type="bibr" rid="ref13">13</xref>] between the derived respiratory metrics to reference metrics.</p>
        <p>Additionally, the root mean square error between hypothesized RTV signal y(t) and the true RTV Y(t) was calculated for each person and respiratory rate and subsequently averaged across the 5 folds.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Data Collection</title>
        <p>Data were acquired from 10 healthy subjects. One subject was excluded because of incomplete recordings due to an SD card save error on the Alice PDx. Therefore, data for 9 subjects were analyzed. The median (lower, upper quartiles) age of the analyzed subjects was 28 years (24.5 to 33.0 years). Median BMI was 23.59 kg/m<sup>2</sup> (21.28 to 30.04 kg/m<sup>2</sup>), and 3 subjects (3/9, 33%) were female. In total, we recorded 3.75 hours of data, consisting of 5 minutes * 5 breathing rates * 9 participants.</p>
      </sec>
      <sec>
        <title>Model Validation</title>
        <p>The weights and biases were saved for each epoch during training. Training was stopped when the validation error diverged to avoid overfitting. Early stopping occurred when the validation cost did not improve for 5 epochs.</p>
      </sec>
      <sec>
        <title>Derivation of Breathing Metrics</title>
        <p>In total, 225 unique test sets were created from 9 participants, at 5 respiratory rates, over 5 folds. Each test set was a window of 1000 samples (40 seconds) in length. We plotted the number of valid windows as a function of increasing Pearson correlation coefficients between derived and reference respiratory waveforms in 0.2 increments in <xref rid="figure3" ref-type="fig">Figure 3</xref>. For a Pearson correlation coefficient ≥0.6, our approach, X<sub>LSTM</sub>, was valid for 191/225 (85%) windows, while the next highest performing algorithm, X<sub>A1</sub>, was valid for 128/225 (57%) windows, followed by X<sub>A2</sub>, which was valid for 119/225 (53%) windows. Other algorithms were excluded from further analysis due to a small percentage of valid windows: 21/225 (9%) for X<sub>A3</sub>, 56/225 (25%) for X<sub>B1</sub>, 38/225 (17%) for X<sub>B2</sub>, 36/225 (16%) for X<sub>B3</sub>, 23/225 (10%) for X<sub>B4</sub>, 65/225 (29%) for X<sub>B5</sub>, 52/225 (23%) for X<sub>B6</sub>, and 11/225 (5%) for X<sub>B10</sub>.</p>
        <p>Breathing metrics were averaged over each 40-second test set. The mean (SD) between derived and gold standard metrics and their associated <italic>t</italic> test results are shown in <xref ref-type="table" rid="table3">Table 3</xref>. The Bland-Altman agreement between derived and gold standard metrics for all subjects and respiratory rates are reported in <xref ref-type="table" rid="table4">Table 4</xref>. In the case of X<sub>LSTM</sub>, a Savitzky-Golay filter was used to smooth the derived respiratory waveform prior to extracting the breathing metrics.</p>
        <p>The Bland-Altman plot for the derived breathing metrics of inspiration time, expiration period, IBI, BR, and I:E across all participants (1-9) and all respiratory rates (6, 8, 10, 12, 14) using X<sub>LSTM</sub> is shown in <xref rid="figure4" ref-type="fig">Figure 4</xref>. For comparison purposes, we report the Bland-Altman plot for derived respiratory rate across all participants and all respiratory rates using the highest performing algorithm found by Charlton et al [<xref ref-type="bibr" rid="ref7">7</xref>] in <xref rid="figure5" ref-type="fig">Figure 5</xref>.</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Number of valid windows as a function of increasing Pearson correlation coefficients between derived and reference respiratory waveforms in 0.2 increments. For an explanation of the variables please refer to <xref ref-type="table" rid="table1">Table 1</xref>.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i7e13737_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Breathing metrics for the reference respiratory band, X<sub>LSTM,</sub> X<sub>A1</sub>, and X<sub>A2</sub> methods, with their associated paired t test results.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="110"/>
            <col width="130"/>
            <col width="70"/>
            <col width="70"/>
            <col width="80"/>
            <col width="90"/>
            <col width="90"/>
            <col width="90"/>
            <col width="0"/>
            <col width="130"/>
            <col width="70"/>
            <col width="70"/>
            <thead>
              <tr valign="top">
                <td rowspan="2">Breathing metrics</td>
                <td rowspan="2">Respiratory band, mean (SD)</td>
                <td colspan="3">X<sub>LSTM</sub><sup>a</sup></td>
                <td colspan="4">X<sub>A1</sub></td>
                <td colspan="3">X<sub>A2</sub></td>
              </tr>
              <tr valign="top">
                <td>Mean (SD)</td>
                <td>t<sub>180</sub> test</td>
                <td>
                  <italic>P</italic>
                </td>
                <td>Mean (SD)</td>
                <td>t<sub>126</sub> test</td>
                <td>
                  <italic>P</italic>
                </td>
                <td colspan="2">Mean (SD)</td>
                <td>t<sub>118</sub> test</td>
                <td>
                  <italic>P</italic>
                </td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Tinsp<sup>b</sup> (seconds)</td>
                <td>3.28 (1.29)</td>
                <td>3.14 (1.15)</td>
                <td>2.92</td>
                <td>0.004</td>
                <td>3.46 (1.31)</td>
                <td>1.65</td>
                <td>0.103</td>
                <td colspan="2">3.40 (1.42)</td>
                <td>0.02</td>
                <td>0.99</td>
              </tr>
              <tr valign="top">
                <td>Texp<sup>c</sup> (seconds)</td>
                <td>3.13 (1.01)</td>
                <td>3.19 (1.05)</td>
                <td>–1.68</td>
                <td>0.095</td>
                <td>3.38 (1.09)</td>
                <td>–3.24</td>
                <td>0.002</td>
                <td colspan="2">3.10 (0.95)</td>
                <td>–1.44</td>
                <td>0.152</td>
              </tr>
              <tr valign="top">
                <td>BR<sup>d</sup> (BPM<sup>e</sup>)</td>
                <td>10.28 (2.72)</td>
                <td>10.41 (2.74)</td>
                <td>–1.39</td>
                <td>0.167</td>
                <td>9.69 (2.73)</td>
                <td>1.93</td>
                <td>0.056</td>
                <td colspan="2">10.35 (2.95)</td>
                <td>–0.46</td>
                <td>0.649</td>
              </tr>
              <tr valign="top">
                <td>IBI<sup>f</sup> (seconds)</td>
                <td>6.40 (1.98)</td>
                <td>6.33 (1.96)</td>
                <td>1.12</td>
                <td>0.262</td>
                <td>6.84 (2.09)</td>
                <td>–2.18</td>
                <td>0.031</td>
                <td colspan="2">6.50 (2.09)</td>
                <td>–1.73</td>
                <td>0.086</td>
              </tr>
              <tr valign="top">
                <td>I:E<sup>g</sup></td>
                <td>1.01 (0.36)</td>
                <td>1.09 (0.43)</td>
                <td>–3.09</td>
                <td>0.002</td>
                <td>1.03 (0.40)</td>
                <td>–2.68</td>
                <td>0.008</td>
                <td colspan="2">1.00 (0.29)</td>
                <td>–1.50</td>
                <td>0.135</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>LSTM: long short-term memory.</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>Tinsp: inspiration time.</p>
            </fn>
            <fn id="table3fn3">
              <p><sup>c</sup>Texp: expiration period.</p>
            </fn>
            <fn id="table3fn4">
              <p><sup>d</sup>BR: breathing rate.</p>
            </fn>
            <fn id="table3fn5">
              <p><sup>e</sup>BPM: breaths per minute.</p>
            </fn>
            <fn id="table3fn6">
              <p><sup>f</sup>IBI: interbreath interval.</p>
            </fn>
            <fn id="table3fn7">
              <p><sup>g</sup>I:E: inspiration:expiration ratio.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Derived breathing metrics using the X<sub>LSTM</sub>, X<sub>A1</sub>, and X<sub>A2</sub> methods and associated statistical analyses.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="100"/>
            <col width="160"/>
            <col width="190"/>
            <col width="140"/>
            <col width="140"/>
            <col width="0"/>
            <col width="120"/>
            <col width="120"/>
            <thead>
              <tr valign="top">
                <td rowspan="2" colspan="2">Method</td>
                <td rowspan="2">Bland-Altman r<sup>2</sup></td>
                <td rowspan="2">
                  <italic>P</italic>
                </td>
                <td colspan="2">Absolute</td>
                <td colspan="3">Relative</td>
              </tr>
              <tr valign="top">
                <td>Bias</td>
                <td colspan="2">95% LoA<sup>a</sup></td>
                <td>Bias (%)</td>
                <td>95% LoA</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="3">
                  <bold>Tinsp (seconds)  <sup>b</sup></bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub><sup>c</sup></td>
                <td>0.70</td>
                <td>&#60;.001</td>
                <td>–0.16</td>
                <td colspan="2">–1.64 to 1.31</td>
                <td>–3.70</td>
                <td>–38.44 to 31.05</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>0.74</td>
                <td>&#60;.001</td>
                <td>–0.11</td>
                <td colspan="2">–1.51 to 1.30</td>
                <td>–2.35</td>
                <td>–35.65 to 30.95</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>0.74</td>
                <td>&#60;.001</td>
                <td>-0.01</td>
                <td colspan="2">–1.46 to 1.46</td>
                <td>–0.22</td>
                <td>–33.34 to 32.90</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Texp (seconds)<sup>d</sup></bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub></td>
                <td>0.54</td>
                <td>&#60;.001</td>
                <td>0.09</td>
                <td colspan="2">–1.35 to 1.53</td>
                <td>2.35</td>
                <td>–31.84 to 36.55</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>0.41</td>
                <td>&#60;.001</td>
                <td>0.25</td>
                <td colspan="2">–1.45 to 1.95</td>
                <td>6.41</td>
                <td>–32.82 to 45.63</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>0.43</td>
                <td>&#60;.001</td>
                <td>0.10</td>
                <td colspan="2">–1.39 to 1.59</td>
                <td>2.70</td>
                <td>–36.34 to 41.73</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>BR<sup>e</sup></bold>
                  <bold>(BPM<sup>f</sup>)</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub></td>
                <td>0.83</td>
                <td>&#60;.001</td>
                <td>0.12</td>
                <td colspan="2">–2.13 to 2.37</td>
                <td>1.22</td>
                <td>–23.63 to 26.07</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>0.92</td>
                <td>&#60;.001</td>
                <td>–0.13</td>
                <td colspan="2">–1.68 to 1.41</td>
                <td>–1.38</td>
                <td>–18.42 to 15.65</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>0.88</td>
                <td>&#60;.001</td>
                <td>0.04</td>
                <td colspan="2">–1.94 to 2.02</td>
                <td>0.14</td>
                <td>–19.35 to 19.62</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>IBI<sup>g</sup></bold>
                  <bold>(seconds)</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub></td>
                <td>0.82</td>
                <td>&#60;.001</td>
                <td>–0.07</td>
                <td colspan="2">–1.75 to 1.61</td>
                <td>–0.98</td>
                <td>–22.62 to 20.66</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>0.88</td>
                <td>&#60;.001</td>
                <td>0.14</td>
                <td colspan="2">–1.31 to 1.60</td>
                <td>2.08</td>
                <td>–16.55 to 20.70</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>0.91</td>
                <td>&#60;.001</td>
                <td>0.10</td>
                <td colspan="2">–1.13 to 1.33</td>
                <td>1.37</td>
                <td>–16.20 to 18.94</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>I:E<sup>h</sup></bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>LSTM</sub></td>
                <td>0.30</td>
                <td>&#60;.001</td>
                <td>0.09</td>
                <td colspan="2">–0.66 to 0.84</td>
                <td>9.91</td>
                <td>–63.89 to 83.70</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A1</sub></td>
                <td>0.11</td>
                <td>&#60;.001</td>
                <td>0.09</td>
                <td colspan="2">–0.68 to 0.87</td>
                <td>6.65</td>
                <td>–61.43 to 74.73</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>X<sub>A2</sub></td>
                <td>0.04</td>
                <td>&#60;.001</td>
                <td>0.05</td>
                <td colspan="2">–0.62 to 0.71</td>
                <td>3.41</td>
                <td>63.89 to 70.72</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>LoA: limits of agreement.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>Tinsp: inspiration time.</p>
            </fn>
            <fn id="table4fn3">
              <p><sup>c</sup>LSTM: long short-term memory.</p>
            </fn>
            <fn id="table4fn4">
              <p><sup>d</sup>Texp: expiration period.</p>
            </fn>
            <fn id="table4fn5">
              <p><sup>e</sup>BR: breathing rate.</p>
            </fn>
            <fn id="table4fn6">
              <p><sup>f</sup>BPM: breaths per minute.</p>
            </fn>
            <fn id="table4fn7">
              <p><sup>g</sup>IBI: interbreath interval.</p>
            </fn>
            <fn id="table4fn8">
              <p><sup>h</sup>I:E: inspiration:expiration ratio.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Bland-Altman plots for (A) inspiration time (seconds), (B) expiration time (seconds), (C) interbreath interval (seconds), (D) breathing rate (breaths per minute), and (E) inspiration:expiration ratio using the LSTM method.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i7e13737_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Bland-Altman plot for the highest performing algorithm (X<sub>B1</sub>,<sub>2</sub>,<sub>3</sub>E<sub>T4</sub>F<sub>M1</sub>) found by Charlton et al [<xref ref-type="bibr" rid="ref7">7</xref>].</p>
          </caption>
          <graphic xlink:href="mhealth_v8i7e13737_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>Our model consistently performed comparably to the other methods, showing similar agreement (lower bias) and variability (narrower limits of agreement). The relative bias for our model was &#60;4% for all breathing metrics examined except for I:E ratio (at 9.9%), which is within the limits of accuracy of existing standards on the estimation of breathing metrics using conventional methods [<xref ref-type="bibr" rid="ref5">5</xref>], although the limits of variability are wide.</p>
        <p>The differences for inspiration time are bound within the 95% CIs for average inspiration periods &#60;4 seconds. Distinct clustering can be seen around an inspiration period of 2 seconds (<xref rid="figure4" ref-type="fig">Figure 4</xref>A). The differences for expiration period are bound within the 95% CIs for average expiration periods of 2-3 seconds (<xref rid="figure4" ref-type="fig">Figure 4</xref>B). For IBI, 4 distinct clusters occur corresponding to intervals of 4, 5, 6, and 7 seconds; however, the clustering weakens above 9 seconds (<xref rid="figure4" ref-type="fig">Figure 4</xref>C). For BR, 5 distinct clusters are formed corresponding to expected BRs of 6, 8, 10, 12, and 14 BPM (<xref rid="figure4" ref-type="fig">Figure 4</xref>D). There is noticeable clustering for I:Es of 0.8-1 (<xref rid="figure4" ref-type="fig">Figure 4</xref>E).</p>
        <p>To quantify the accuracy of our model and provide a metric for future comparisons, we report the root mean square error over all participants and respiratory rates for X<sub>LSTM</sub> for inspiration time (0.77 seconds), expiration period (0.74 seconds), IBI (0.8377 seconds), BR (0.86 BPM), and I:E (1.15).</p>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>In this work, we were interested in determining the feasibility of finding continuous measures of inspiration time, expiration period, IBI, BR, and I:E metrics from a PPG. We showed how an LSTM architecture could be used to predict these metrics for 191/225 (85%) test sets comprised of 9 participants at a respiratory rate of 6, 8, 10, 12, or 14 BPM. We conducted Bland-Altman analyses and found the LSTM was able to predict the average inspiration time of –0.16 seconds (–1.64 to 1.31 seconds) and expiration period of 0.09 seconds (–1.35 to 1.53 seconds) over a 40-second window. The LSTM was able to predict an I:E ratio of 0.09 (–0.66 to 0.84), although this was poorly correlated with reference values. However, this is the first time this metric is being reported in the literature as measured from a pulse signal.</p>
        <p>The LSTM model was trained to minimize the error between derived and reference respiratory waveforms and was then able to generalize the breathing characteristics of 9 subjects and predict future respiratory waveforms based on PPG data. The ability to “see and learn” a reference signal presents a distinct advantage over existing methods. Through this approach, it was possible to determine the continuous average breathing metrics of inspiration time, expiration period, IBI, and BR for the majority of time (85%), exceeding a Pearson correlation threshold of 0.6. In contrast, these breathing metrics could only be derived, at best, around half the time (56% in the case of X<sub>A1</sub>) using existing feature-based and filter-based algorithms that did not rely on any previous reference data. While we directly compared the performance of X<sub>A1</sub> and X<sub>A2</sub> to the LSTM method, other methods were excluded from this analysis due to the fact that the correlation between the derived respiratory waveform and the gold standard was &#60;0.6 more than 80% of the time. Feature-based techniques (X<sub>B1</sub>-X<sub>B6</sub>, X<sub>B10</sub>) have performed well in previous respiratory rate algorithm assessments by Charlton et al [<xref ref-type="bibr" rid="ref7">7</xref>] and would likely have similar performance on this dataset. In the cases where breathing metrics could be extracted for X<sub>A1</sub>and X<sub>A2</sub>, we found that the metrics of inspiration time, expiration period, and I:E were poorly correlated with the reference metrics, as shown in <xref ref-type="table" rid="table4">Table 4</xref>.</p>
        <p>We conducted Bland-Altman analysis on the highest performing algorithm X<sub>B1,2,3</sub>E<sub>T4</sub>F<sub>M1</sub> found by Charlton et al [<xref ref-type="bibr" rid="ref7">7</xref>] in his comparison of classical signal processing algorithms for PPG. The bias in our dataset compared to those in the dataset used by Charlton et al [<xref ref-type="bibr" rid="ref7">7</xref>] was higher (–1.12 vs 1). However, the 95% limits of agreement (BPM) was lower (–2.4 to 2.1 vs –5.1 to 7.2). X<sub>LSTM</sub> compares favorably to X<sub>B1,2,3</sub>E<sub>T4</sub>F<sub>M1</sub> with similar bias (0.12 vs –1.10) and a smaller 95% limits of agreement (BPM; –2.13 to 2.37 vs –2.63 to 2.44). The bias in our model compares well against existing standards on breathing metric estimation using conventional methods, which stipulate an accuracy of at least 2% for respiratory rate. It is worth noting that the standards are formulated for infant populations who breath faster. The wide variability seen in our model could be improved, although it is lower than that obtained from other methods examined. The high degree of variability could arise from differences in accuracy with different respiratory rates. While there is insufficient data from this study to ascertain this, it justifies use of longer-term data collection for further investigation.</p>
        <p>The hyperparameters for the LSTM model were chosen in a structured, although non-exhaustive, manner by comparing a change in the number of cells, hidden units, or layers to a fixed model. <xref rid="figure2" ref-type="fig">Figures 2</xref>-<xref rid="figure4" ref-type="fig">4</xref> show a decreasing trend in the correlation between the LSTM-derived respiratory waveform and the reference waveform as the number of participants increased. This trend occurred irrespective of the number of cells, hidden units, or layers. This may be accounted for, in part, by the complexity for which the LSTM model must account as the participant population increases. In the specific case of 300 cells, the correlation curve decreased quasi-exponentially. However, in the case of hidden units and layers, the correlation curve decreased quasi-linearly. It remains to be seen if the minimum correlation is bound between derived and reference respiratory waveforms for a given population. The findings of this paper show that our previous network parameter was much larger than required [<xref ref-type="bibr" rid="ref11">11</xref>].</p>
        <p>In this work, we used the following 4 features: PPG, filtered PPG, SPO<sub>2</sub>, and pulse rate. We did not conduct feature selection, which may have helped to improve the overall model performance. It would be useful to see the effect of removing the filtered PPG signal feature to reduce additional preprocessing time and computational power.</p>
        <p>Due to a limited participant population, we did not conduct leave-one-out participant cross validation. The shape of each respiratory waveform varied from person to person, and it is unlikely that the LSTM model derived in this work would be able to predict respiratory metrics from an unseen participant. However, with a larger training population, the LSTM model may be exposed to enough data to enable the accurate prediction of respiratory metrics in an unseen participant. Previously, we found that participants would prefer that a wearable sensor device have a watch form factor [<xref ref-type="bibr" rid="ref23">23</xref>]. In this paper, we did not look at the feasibility of implementing an LSTM in this type of form factor. Currently, LSTM training requires GPU-grade computational power. With current low-power Bluetooth low energy devices [<xref ref-type="bibr" rid="ref11">11</xref>,<xref ref-type="bibr" rid="ref24">24</xref>,<xref ref-type="bibr" rid="ref25">25</xref>], it may be possible to acquire PPG data and stream real-time data to a cloud-based GPU server to run online training. Once the weights and biases of the LSTM architecture are found, it may also be possible for an embedded platform to perform the required processing to obtain real-time breathing metric predictions. At present, field-programmable gate arrays can be used for real-time predictions and benefit from low latency and low power consumption [<xref ref-type="bibr" rid="ref26">26</xref>]. Additionally, the field-programmable gate array architecture is reconfigurable. This would allow any potential device to be individually tailored to a specific model.</p>
      </sec>
      <sec>
        <title>Conclusion</title>
        <p>This paper presents the feasibility of monitoring simple breathing metrics such as the IBI, BR, inspiration time, expiration period, and I:E for a person at rest. We hope this proof-of-concept paper will inspire future research to collect further data and develop more powerful machine learning algorithms. In the future, it may also be possible to derive these metrics from a wristworn device that contains a pulse oximeter and accelerometer for a person at rest and support potential longitudinal studies to determine if these metrics can provide further information on asthma type [<xref ref-type="bibr" rid="ref3">3</xref>] and provide any clinical utility [<xref ref-type="bibr" rid="ref4">4</xref>].</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group/>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">BPM</term>
          <def>
            <p>breaths per minute.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">BR</term>
          <def>
            <p>breathing rate.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">I:E</term>
          <def>
            <p>inspiration:expiration ratio.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">IBI</term>
          <def>
            <p>interbreath interval.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">GPU</term>
          <def>
            <p>graphics processing unit.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">LoA</term>
          <def>
            <p>limits of agreement</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">LSTM</term>
          <def>
            <p>long short-term memory.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">PPG</term>
          <def>
            <p>photoplethysmogram.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">RTV</term>
          <def>
            <p>relative tidal volume.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">Texp</term>
          <def>
            <p>expiration period.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">Tinsp</term>
          <def>
            <p>inspiration time.</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb12">TVW</term>
          <def>
            <p>tidal volume waveform.</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <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="web">
          <person-group person-group-type="author">
            <collab>World Health Organization</collab>
          </person-group>
          <source>World health statistics 2010</source>
          <access-date>2020-05-15</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.who.int/whosis/whostat/2010/en/">https://www.who.int/whosis/whostat/2010/en/</ext-link>
          </comment>
        </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>Frey</surname>
              <given-names>U</given-names>
            </name>
            <name name-style="western">
              <surname>Brodbeck</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Majumdar</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Taylor</surname>
              <given-names>DR</given-names>
            </name>
            <name name-style="western">
              <surname>Town</surname>
              <given-names>GI</given-names>
            </name>
            <name name-style="western">
              <surname>Silverman</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Suki</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Risk of severe asthma episodes predicted from fluctuation analysis of airway function</article-title>
          <source>Nature</source>
          <year>2005</year>
          <month>12</month>
          <day>01</day>
          <volume>438</volume>
          <issue>7068</issue>
          <fpage>667</fpage>
          <lpage>70</lpage>
          <pub-id pub-id-type="doi">10.1038/nature04176</pub-id>
          <pub-id pub-id-type="medline">16319891</pub-id>
          <pub-id pub-id-type="pii">nature04176</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>Raoufy</surname>
              <given-names>MR</given-names>
            </name>
            <name name-style="western">
              <surname>Ghafari</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Darooei</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Nazari</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Mahdaviani</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Eslaminejad</surname>
              <given-names>AR</given-names>
            </name>
            <name name-style="western">
              <surname>Almasnia</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gharibzadeh</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Mani</surname>
              <given-names>AR</given-names>
            </name>
            <name name-style="western">
              <surname>Hajizadeh</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Classification of Asthma Based on Nonlinear Analysis of Breathing Pattern</article-title>
          <source>PLoS ONE</source>
          <year>2016</year>
          <month>1</month>
          <day>29</day>
          <volume>11</volume>
          <issue>1</issue>
          <fpage>e0147976</fpage>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0147976</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>Kesten</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Maleki-Yazdi</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Sanders</surname>
              <given-names>B R</given-names>
            </name>
            <name name-style="western">
              <surname>Wells</surname>
              <given-names>J A</given-names>
            </name>
            <name name-style="western">
              <surname>McKillop</surname>
              <given-names>S L</given-names>
            </name>
            <name name-style="western">
              <surname>Chapman</surname>
              <given-names>K R</given-names>
            </name>
            <name name-style="western">
              <surname>Rebuck</surname>
              <given-names>A S</given-names>
            </name>
          </person-group>
          <article-title>Respiratory rate during acute asthma</article-title>
          <source>Chest</source>
          <year>1990</year>
          <month>01</month>
          <volume>97</volume>
          <issue>1</issue>
          <fpage>58</fpage>
          <lpage>62</lpage>
          <pub-id pub-id-type="doi">10.1378/chest.97.1.58</pub-id>
          <pub-id pub-id-type="medline">2403901</pub-id>
          <pub-id pub-id-type="pii">S0012-3692(15)40584-7</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>Gobbi</surname>
              <given-names>Alessandro</given-names>
            </name>
            <name name-style="western">
              <surname>Dellacá</surname>
              <given-names>Raffaele L</given-names>
            </name>
            <name name-style="western">
              <surname>King</surname>
              <given-names>Gregory</given-names>
            </name>
            <name name-style="western">
              <surname>Thamrin</surname>
              <given-names>Cindy</given-names>
            </name>
          </person-group>
          <article-title>Toward Predicting Individual Risk in Asthma Using Daily Home Monitoring of Resistance</article-title>
          <source>Am J Respir Crit Care Med</source>
          <year>2017</year>
          <month>01</month>
          <day>15</day>
          <volume>195</volume>
          <issue>2</issue>
          <fpage>265</fpage>
          <lpage>267</lpage>
          <pub-id pub-id-type="doi">10.1164/rccm.201603-0537LE</pub-id>
          <pub-id pub-id-type="medline">28084825</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>Bergese</surname>
              <given-names>SD</given-names>
            </name>
            <name name-style="western">
              <surname>Mestek</surname>
              <given-names>ML</given-names>
            </name>
            <name name-style="western">
              <surname>Kelley</surname>
              <given-names>SD</given-names>
            </name>
            <name name-style="western">
              <surname>McIntyre</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Uribe</surname>
              <given-names>AA</given-names>
            </name>
            <name name-style="western">
              <surname>Sethi</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Watson</surname>
              <given-names>JN</given-names>
            </name>
            <name name-style="western">
              <surname>Addison</surname>
              <given-names>PS</given-names>
            </name>
          </person-group>
          <article-title>Multicenter Study Validating Accuracy of a Continuous Respiratory Rate Measurement Derived From Pulse Oximetry</article-title>
          <source>Anesthesia &#38; Analgesia</source>
          <year>2017</year>
          <volume>124</volume>
          <issue>4</issue>
          <fpage>1153</fpage>
          <lpage>1159</lpage>
          <pub-id pub-id-type="doi">10.1213/ane.0000000000001852</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>Charlton</surname>
              <given-names>PH</given-names>
            </name>
            <name name-style="western">
              <surname>Bonnici</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Tarassenko</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Clifton</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Beale</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Watkinson</surname>
              <given-names>PJ</given-names>
            </name>
          </person-group>
          <article-title>An assessment of algorithms to estimate respiratory rate from the electrocardiogram and photoplethysmogram</article-title>
          <source>Physiol Meas</source>
          <year>2016</year>
          <month>04</month>
          <day>30</day>
          <volume>37</volume>
          <issue>4</issue>
          <fpage>610</fpage>
          <lpage>26</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/27027672"/>
          </comment>
          <pub-id pub-id-type="doi">10.1088/0967-3334/37/4/610</pub-id>
          <pub-id pub-id-type="medline">27027672</pub-id>
          <pub-id pub-id-type="pmcid">PMC5390977</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>Addison</surname>
              <given-names>PS</given-names>
            </name>
          </person-group>
          <article-title>Respiratory effort from the photoplethysmogram</article-title>
          <source>Med Eng Phys</source>
          <year>2017</year>
          <month>03</month>
          <volume>41</volume>
          <fpage>9</fpage>
          <lpage>18</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1350-4533(16)30322-8"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.medengphy.2016.12.010</pub-id>
          <pub-id pub-id-type="medline">28126420</pub-id>
          <pub-id pub-id-type="pii">S1350-4533(16)30322-8</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bailon</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Sornmo</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>LagunaCG-derived</surname>
              <given-names>RFE</given-names>
            </name>
          </person-group>
          <source>Advanced methods and tools for ECG data analysis</source>
          <year>2006</year>
          <publisher-loc>the University of Michigan</publisher-loc>
          <publisher-name>Artech House</publisher-name>
          <fpage>E</fpage>
        </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>Meredith</surname>
              <given-names>DJ</given-names>
            </name>
            <name name-style="western">
              <surname>Clifton</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Charlton</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Brooks</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Pugh</surname>
              <given-names>CW</given-names>
            </name>
            <name name-style="western">
              <surname>Tarassenko</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Photoplethysmographic derivation of respiratory rate: a review of relevant physiology</article-title>
          <source>J Med Eng Technol</source>
          <year>2012</year>
          <month>01</month>
          <day>20</day>
          <volume>36</volume>
          <issue>1</issue>
          <fpage>1</fpage>
          <lpage>7</lpage>
          <pub-id pub-id-type="doi">10.3109/03091902.2011.638965</pub-id>
          <pub-id pub-id-type="medline">22185462</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Prinable</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Jones</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Thamrin</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>McEwan</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Using a recurrent neural network to derive tidal volume from a photoplethsmograph</article-title>
          <year>2007</year>
          <month>12</month>
          <day>13</day>
          <conf-name>IEEE Life Sciences Conference</conf-name>
          <conf-date>2017</conf-date>
          <conf-loc>Sydney, Australia</conf-loc>
          <fpage>218</fpage>
          <lpage>221</lpage>
          <pub-id pub-id-type="doi">10.1109/lsc.2017.8268182</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>Hochreiter</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Schmidhuber</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Long Short-Term Memory</article-title>
          <source>Neural Computation</source>
          <year>1997</year>
          <month>11</month>
          <volume>9</volume>
          <issue>8</issue>
          <fpage>1735</fpage>
          <lpage>1780</lpage>
          <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</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>Myles</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Cui</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Using the Bland-Altman method to measure agreement with repeated measures</article-title>
          <source>Br J Anaesth</source>
          <year>2007</year>
          <month>09</month>
          <volume>99</volume>
          <issue>3</issue>
          <fpage>309</fpage>
          <lpage>11</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S0007-0912(17)34715-3"/>
          </comment>
          <pub-id pub-id-type="doi">10.1093/bja/aem214</pub-id>
          <pub-id pub-id-type="medline">17702826</pub-id>
          <pub-id pub-id-type="pii">S0007-0912(17)34715-3</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>Choi</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Shin</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Photoplethysmography sampling frequency: pilot assessment of how low can we go to analyze pulse rate variability with reliability?</article-title>
          <source>Physiol Meas</source>
          <year>2017</year>
          <month>03</month>
          <day>23</day>
          <volume>38</volume>
          <issue>3</issue>
          <fpage>586</fpage>
          <lpage>600</lpage>
          <pub-id pub-id-type="doi">10.1088/1361-6579/aa5efa</pub-id>
          <pub-id pub-id-type="medline">28169836</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>Charlton</surname>
              <given-names>PH</given-names>
            </name>
            <name name-style="western">
              <surname>Bonnici</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Tarassenko</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Alastruey</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Clifton</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Beale</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Watkinson</surname>
              <given-names>PJ</given-names>
            </name>
          </person-group>
          <article-title>Extraction of respiratory signals from the electrocardiogram and photoplethysmogram: technical and physiological determinants</article-title>
          <source>Physiol Meas</source>
          <year>2017</year>
          <month>05</month>
          <day>03</day>
          <volume>38</volume>
          <issue>5</issue>
          <fpage>669</fpage>
          <lpage>690</lpage>
          <pub-id pub-id-type="doi">10.1088/1361-6579/aa670e</pub-id>
          <pub-id pub-id-type="medline">28296645</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Addison</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Watson</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Secondary wavelet feature decoupling (SWFD) and its use in detecting patient respiration from the photo- plethysmogram</article-title>
          <year>2003</year>
          <month>09</month>
          <day>17</day>
          <conf-name>Engineering in Medicine and Biology Society, 2003. Proceedings of the 25th Annual International Conference of the IEEE. Vol. 3. IEEE, 2003</conf-name>
          <conf-date>2003</conf-date>
          <conf-loc>Cancun, Mexico</conf-loc>
          <pub-id pub-id-type="doi">10.1109/iembs.2003.1280448</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>Karlen</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Raman</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Ansermino</surname>
              <given-names>JM</given-names>
            </name>
            <name name-style="western">
              <surname>Dumont</surname>
              <given-names>GA</given-names>
            </name>
          </person-group>
          <article-title>Multiparameter Respiratory Rate Estimation From the Photoplethysmogram</article-title>
          <source>IEEE Trans. Biomed. Eng</source>
          <year>2013</year>
          <month>7</month>
          <volume>60</volume>
          <issue>7</issue>
          <fpage>1946</fpage>
          <lpage>1953</lpage>
          <pub-id pub-id-type="doi">10.1109/tbme.2013.2246160</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ruangsuwana</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Velikic</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Bocko</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Methods to extract respiration information from ECG signals</article-title>
          <year>2010</year>
          <month>06</month>
          <day>28</day>
          <conf-name>2010 IEEE International Conference on Acoustics, Speech and Signal Processing</conf-name>
          <conf-date>March 14-19, 2010</conf-date>
          <conf-loc>Dallas, TX</conf-loc>
          <pub-id pub-id-type="doi">10.1109/ICASSP.2010.5495584</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>Lázaro</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Gil</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Bailón</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Mincholé</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Laguna</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Deriving respiration from photoplethysmographic pulse width</article-title>
          <source>Med Biol Eng Comput</source>
          <year>2013</year>
          <month>02</month>
          <volume>51</volume>
          <issue>1-2</issue>
          <fpage>233</fpage>
          <lpage>42</lpage>
          <pub-id pub-id-type="doi">10.1007/s11517-012-0954-0</pub-id>
          <pub-id pub-id-type="medline">22996834</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cui</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Ke</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Pu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>Deep Stacked Bidirectional and Uni-directional LSTM Recurrent Neural Network for Network-wide Traffic Speed Prediction</article-title>
          <year>2016</year>
          <conf-name>In 6th International Workshop on Urban Computing (UrbComp )</conf-name>
          <conf-date>2017</conf-date>
          <conf-loc>Chicago, USA</conf-loc>
        </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>Srivastava</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Hinton</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Krizhevsky</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sutskever</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Salakhutdinov</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Dropout: a simple way to prevent neural networks from overfitting</article-title>
          <source>The Journal of Machine Learning Research</source>
          <year>2014</year>
          <volume>15</volume>
          <issue>1</issue>
          <fpage>1929</fpage>
          <lpage>1958</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Arlot</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Celisse</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>A survey of cross-validation procedures for model selection</article-title>
          <source>Statist. Surv</source>
          <year>2010</year>
          <volume>4</volume>
          <fpage>40</fpage>
          <lpage>79</lpage>
          <pub-id pub-id-type="doi">10.1214/09-ss054</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Prinable</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Foster</surname>
              <given-names>JM</given-names>
            </name>
            <name name-style="western">
              <surname>McEwan</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Young</surname>
              <given-names>PM</given-names>
            </name>
            <name name-style="western">
              <surname>Tovey</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Thamrin</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Motivations and Key Features for a Wearable Device for Continuous Monitoring of Breathing: A Web-Based Survey</article-title>
          <source>JMIR Biomed Eng</source>
          <year>2017</year>
          <month>06</month>
          <day>26</day>
          <volume>2</volume>
          <issue>1</issue>
          <fpage>e1</fpage>
          <pub-id pub-id-type="doi">10.2196/biomedeng.7143</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Choi</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Ko</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Yoon</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Kwon</surname>
              <given-names>U</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>PPG pulse direction determination algorithm for PPG waveform inversion by wrist rotation</article-title>
          <year>2017</year>
          <month>09</month>
          <day>14</day>
          <conf-name>In Engineering in Medicine and Biology Society (EMBC), 2017 39th Annual International Conference of the IEEE</conf-name>
          <conf-date>2017</conf-date>
          <conf-loc>Seogwipo, South Korea</conf-loc>
          <fpage>4090</fpage>
          <lpage>4093</lpage>
          <pub-id pub-id-type="doi">10.1109/embc.2017.8037755</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wolling</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Van Laerhoven</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Fewer Samples for a Longer Life Span: Towards Long-Term Wearable PPG Analysis</article-title>
          <year>2018</year>
          <month>9</month>
          <day>20</day>
          <conf-name>In Proceedings of the 5th international Workshop on Sensor-based Activity RecognitionInteraction (p. 5). ACM</conf-name>
          <conf-date>2018</conf-date>
          <conf-loc>Chicago, USA</conf-loc>
          <pub-id pub-id-type="doi">10.1145/3266157.3266209</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chang</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Culurciello</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <article-title>Hardware accelerators for recurrent neural networks on FPGA</article-title>
          <year>2017</year>
          <conf-name>IEEE International symposium on circuits and systems (ISCAS)</conf-name>
          <conf-date>2017</conf-date>
          <conf-loc>Baltimore, USA</conf-loc>
          <fpage>1</fpage>
          <lpage>4</lpage>
          <pub-id pub-id-type="doi">10.1109/iscas.2017.8050816</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
