<?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">v8i9e18142</article-id>
      <article-id pub-id-type="pmid">32897235</article-id>
      <article-id pub-id-type="doi">10.2196/18142</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>Neural Network–Based Algorithm for Adjusting Activity Targets to Sustain Exercise Engagement Among People Using Activity Trackers: Retrospective Observation and Algorithm Development Study</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>Pijl</surname>
            <given-names>Marten</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Hino</surname>
            <given-names>Kimihiro</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Mohammadi</surname>
            <given-names>Ramin</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-6033-7164</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Atif</surname>
            <given-names>Mursal</given-names>
          </name>
          <degrees>BA</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-8725-9335</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Centi</surname>
            <given-names>Amanda Jayne</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-4513-2408</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Agboola</surname>
            <given-names>Stephen</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-2161-8091</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Jethwani</surname>
            <given-names>Kamal</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-0122-8002</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author">
          <name name-style="western">
            <surname>Kvedar</surname>
            <given-names>Joseph</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-7517-2291</ext-link>
        </contrib>
        <contrib id="contrib7" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Kamarthi</surname>
            <given-names>Sagar</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>Northeastern University</institution>
            <addr-line>360 Huntington Ave</addr-line>
            <addr-line>Boston, MA, 02115</addr-line>
            <country>United States</country>
            <phone>1 6173733070</phone>
            <email>sagar@coe.neu.edu</email>
          </address>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5845-7714</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Northeastern University</institution>
        <addr-line>Boston, MA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Partners connected for health</institution>
        <addr-line>Boston, MA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Massachusetts General Hospital</institution>
        <institution>Department of Dermatology</institution>
        <addr-line>Boston, MA</addr-line>
        <country>United States</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Harvard University</institution>
        <institution>Harvard Medical School</institution>
        <addr-line>Boston, MA</addr-line>
        <country>United States</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Sagar Kamarthi <email>sagar@coe.neu.edu</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <month>9</month>
        <year>2020</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>8</day>
        <month>9</month>
        <year>2020</year>
      </pub-date>
      <volume>8</volume>
      <issue>9</issue>
      <elocation-id>e18142</elocation-id>
      <history>
        <date date-type="received">
          <day>6</day>
          <month>2</month>
          <year>2020</year>
        </date>
        <date date-type="rev-request">
          <day>23</day>
          <month>3</month>
          <year>2020</year>
        </date>
        <date date-type="rev-recd">
          <day>26</day>
          <month>5</month>
          <year>2020</year>
        </date>
        <date date-type="accepted">
          <day>3</day>
          <month>6</month>
          <year>2020</year>
        </date>
      </history>
      <copyright-statement>©Ramin Mohammadi, Mursal Atif, Amanda Jayne Centi, Stephen Agboola, Kamal Jethwani, Joseph Kvedar, Sagar Kamarthi. Originally published in JMIR mHealth and uHealth (http://mhealth.jmir.org), 08.09.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="https://mhealth.jmir.org/2020/9/e18142" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>It is well established that lack of physical activity is detrimental to the overall health of an individual. Modern-day activity trackers enable individuals to monitor their daily activities to meet and maintain targets. This is expected to promote activity encouraging behavior, but the benefits of activity trackers attenuate over time due to waning adherence. One of the key approaches to improving adherence to goals is to motivate individuals to improve on their historic performance metrics.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The aim of this work was to build a machine learning model to predict an achievable weekly activity target by considering (1) patterns in the user’s activity tracker data in the previous week and (2) behavior and environment characteristics. By setting realistic goals, ones that are neither too easy nor too difficult to achieve, activity tracker users can be encouraged to continue to meet these goals, and at the same time, to find utility in their activity tracker.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>We built a neural network model that prescribes a weekly activity target for an individual that can be realistically achieved. The inputs to the model were user-specific personal, social, and environmental factors, daily step count from the previous 7 days, and an entropy measure that characterized the pattern of daily step count. Data for training and evaluating the machine learning model were collected over a duration of 9 weeks.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Of 30 individuals who were enrolled, data from 20 participants were used. The model predicted target daily count with a mean absolute error of 1545 (95% CI 1383-1706) steps for an 8-week period.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>Artificial intelligence applied to physical activity data combined with behavioral data can be used to set personalized goals in accordance with the individual’s level of activity and thereby improve adherence to a fitness tracker; this could be used to increase engagement with activity trackers. A follow-up prospective study is ongoing to determine the performance of the engagement algorithm.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>activity tracker</kwd>
        <kwd>exercise engagement</kwd>
        <kwd>dynamic activity target</kwd>
        <kwd>neural network</kwd>
        <kwd>activity target prediction</kwd>
        <kwd>machine learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Background</title>
        <p>Studies have reported the efficacy of physical activity in reducing the risk of disease; however, physical inactivity is on rise in the United States [<xref ref-type="bibr" rid="ref1">1</xref>]. Considering that physical inactivity was the fourth leading cause of mortality in 2016 [<xref ref-type="bibr" rid="ref2">2</xref>], there is much emphasis on developing effective methods to maintain healthy levels of physical activity. One promising solution is wearable fitness trackers that enable individuals to monitor their activity levels and patterns to ensure a healthy level of physical activity [<xref ref-type="bibr" rid="ref3">3</xref>].</p>
        <p>It is reported that about 20% of the general health-tracking population use smart devices such as medical gadgets, mobile phone apps, or online tools to track their health data [<xref ref-type="bibr" rid="ref4">4</xref>]. The use of technology to objectively monitor physical activity is associated with higher levels of activity [<xref ref-type="bibr" rid="ref5">5</xref>]. However, the potential benefits derived from the use of physical activity trackers are challenged by the limited and transient adoption of devices that necessarily require sustained use to exert their intended effect. Continued engagement with fitness trackers is an issue that warrants further investigation [<xref ref-type="bibr" rid="ref5">5</xref>] A previous study [<xref ref-type="bibr" rid="ref6">6</xref>] found two factors associated with the adoption and sustained use of physical activity trackers: (1) the number of digital devices owned by the participants, and (2) the use of activity fitness trackers and other smart devices by the participants’ family members. The existence of these two factors bode well for the increased use of activity trackers; one study [<xref ref-type="bibr" rid="ref1">1</xref>] demonstrated that motivational factors are associated with physical activity levels. Time constraints, fatigue, and aversion to exercise are some of the barriers to engaging in physical activity [<xref ref-type="bibr" rid="ref1">1</xref>]. It has been reported that adjustments to activity targets are likely to enhance the users’ commitment to physical activity and engagement with fitness trackers [<xref ref-type="bibr" rid="ref7">7</xref>].</p>
        <p>With the rise of machine learning and availability of activity tracker data, it is possible to create a model that can learn from users’ behavior and adjust activity targets. Machine learning methods have broadly been applied to many health care areas such as cancer staging, risk assessment, and drug recommendation systems [<xref ref-type="bibr" rid="ref8">8</xref>]. Researchers have studied the accuracy of activity trackers for energy expenditure assessment [<xref ref-type="bibr" rid="ref9">9</xref>]. Having an automated personal trainer enabled by data mining techniques can be useful for an amateur athlete who cannot afford a personal trainer [<xref ref-type="bibr" rid="ref10">10</xref>]. Similarly, effective feedback methods can be used for helping both athletes and coaches [<xref ref-type="bibr" rid="ref11">11</xref>].</p>
        <p>Although, there have been some attempts to study the benefit of activity trackers, there is room for studies on how to make use of activity trackers on a sustained basis. This study, to the best of our knowledge, is the first of its kind to develop a machine learning method to adjust the activity target for activity trackers. Machine learning techniques such as, but not limited to, lasso regression, ridge regression, Bayesian ridge regression, neural networks, random forest regression, and support vector regression have been used for prediction in the medical field [<xref ref-type="bibr" rid="ref12">12</xref>].</p>
        <p>Feature selection is an important step for improving model performance [<xref ref-type="bibr" rid="ref13">13</xref>]. Prior to applying machine learning techniques, it is essential to study the data to find features that might negatively or positively affect the model [<xref ref-type="bibr" rid="ref8">8</xref>]. In this work, we applied two feature selection techniques with a support vector machine [<xref ref-type="bibr" rid="ref14">14</xref>]: principal component analysis [<xref ref-type="bibr" rid="ref15">15</xref>] and recursive feature elimination.</p>
        <p>We compared predictive models developed over (1) all features, (2) features generated by principal component analysis, (3) features selected by recursive feature elimination, and (4) features found from the authors’ previous study [<xref ref-type="bibr" rid="ref6">6</xref>] that characterizes participants environments. <xref rid="figure1" ref-type="fig">Figure 1</xref> shows the study flow diagram highlighting the key steps undertaken in this study.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Study flow diagram.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Objective</title>
        <p>The purpose of this study was to develop a predictive model to estimate achievable weekly step goals. By setting realistic targets that are neither too easy nor too difficult to achieve, activity tracker users can be encouraged to continue to meet their weekly activity goals, and at the same time, to find utility of the tracker. We chose individuals who were overweight as our first use case, because the benefits of sustaining or even increasing physical activity in this population are well known, while there have been a lack of sustained interventions addressing this issue [<xref ref-type="bibr" rid="ref16">16</xref>-<xref ref-type="bibr" rid="ref18">18</xref>]. </p>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Data Collection</title>
        <p>The study was designed as a 9-week, nonrandomized pilot in which the data were analyzed retrospectively. For this purpose, adults (N=30) with a BMI of 25 kg/m<sup>2</sup> or greater were enrolled from a local Massachusetts General Hospital–affiliated clinic. After screening the participants and seeking their consent, the research team directed the study participants to visit the Wellocracy website [<xref ref-type="bibr" rid="ref19">19</xref>] to read information regarding the study and review different types of activity trackers (and their features) available for their use during the 9-week study. The study staff assisted the participants with the device setup process as needed. For the study, 27 participants chose to use the FitBit Charge (Fitbit Inc) model, 2 chose the FitBit One (Fitbit Inc), and 1 chose the FitBit Zip (Fitbit Inc); 10 participants data were not used for analysis (7 participants either did not use the activity trackers at all or used less than 3 days a week, and an additional 3 participants demonstrated irregular use of their activity trackers on week by week basis). The data from the remaining 20 participants were used for model building. </p>
        <p>The following surveys were collected from each participant both at enrollment and at the closeout stages: Behavioral Regulation in Exercise Questionnaire (BREQ-2) [<xref ref-type="bibr" rid="ref20">20</xref>]; Barriers to Being Active (BBA) [<xref ref-type="bibr" rid="ref21">21</xref>]; Patient Health Questionnaire (PHQ-8) [<xref ref-type="bibr" rid="ref22">22</xref>]; Prochaska Stage of Change [<xref ref-type="bibr" rid="ref23">23</xref>]; and Patient-Reported Outcomes Measurement Information System (PROMIS) Global-10 [<xref ref-type="bibr" rid="ref24">24</xref>]. These surveys included questions about technology use and the ownership of electronic devices (BREQ-2), questions related to perceived barriers to exercise and activity (BREQ-2 and BBA), depression screening questions (PHQ-8), stages of change (Prochaska), and general health questions (PROMIS Global-10).</p>
        <p>The BREQ-2 is designed to gauge the extent to which reasons for exercise are internalized and self-determined based on the following categories: motivation, external, introjected, identified, and intrinsic. In contrast, the BBA assesses whether participants gauge certain categories as reasons for inactivity and includes energy, willpower, time, and resources. A score of 5 or greater for a category indicates that it is a substantial barrier to a person’s ability to exercise.</p>
        <p>Participants were instructed to continuously wear the activity tracker for the entire period of the study. The first week was treated as a run-in period. Participants were contacted minimally during the remaining 8-week period to facilitate observation of participants’ activity tracker habits without interference. At the end of the study, participants completed a closeout survey either online or in paper format and underwent a phone interview to gather information on their experiences during the study. All interviews were conducted and transcribed for analysis by a trained neuropsychologist.</p>
      </sec>
      <sec>
        <title>Experimental Setting</title>
        <p>We divided the data into disjoint training and testing sets. We chose 16 participants’ data as training data set and the remaining 4 participants’ data were used as the testing data set. We explored and fine-tuned hyperparameters using the training data set. Each participant was informed and had a fixed weekly activity goal for weeks 2 through 8; it was fixed for each participant at 110% of their week 1 average daily step count. Since we didn’t have a means to adjust the activity goal for each week for each participant, this value was used as an estimate of the personalized average daily step count goal for each week. We ignored the week if a participant used the tracker device for less than 3 days during the week.</p>
      </sec>
      <sec>
        <title>Data Preprocessing</title>
        <p>We collected all data from questionnaires and the participants’ daily step count data from their activity trackers. The questionnaires generated 96 variables. The variables were screened to determine candidate predictors for building a machine learning model. In the first pass of the variable screening process, 11 variables whose variance was zero were eliminated. In the second pass, we examined pairwise correlations among all remaining variables to eliminate redundant ones. Since we found that all pairwise correlations were less than 0.6, we considered all variables to be nonredundant.</p>
      </sec>
      <sec>
        <title>Machine Learning Techniques</title>
        <p><xref rid="figure2" ref-type="fig">Figure 2</xref> presents the models used to predict participants’ activity target. Selection of these models was based on their suitability and capabilities. Bayesian ridge regression estimates a probabilistic model of a ridge regression [<xref ref-type="bibr" rid="ref25">25</xref>]. Lasso regression is robust to overfitting due to its regularization penalty [<xref ref-type="bibr" rid="ref26">26</xref>]. Random forest models are versatile for numeric and categorical predictors and for classification and regression tasks. Random forest models can also be interpreted easily and are less susceptible to underfitting [<xref ref-type="bibr" rid="ref27">27</xref>]. Neural network models consist of hundreds or thousands of neurons that perform mathematical operations to recognize patterns [<xref ref-type="bibr" rid="ref28">28</xref>]. Support vector regression models are regression models whose optimization is unaffected by the dimensionality of the data [<xref ref-type="bibr" rid="ref14">14</xref>].</p>
        <p>We employed these models in four cases: (1) using all features, (2) using new features built by principal component analysis, (3) using important features found by recursive feature elimination, and (4) using a subset of features found from the authors’ previous study [<xref ref-type="bibr" rid="ref6">6</xref>] that characterizes participants environments.</p>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>A schematic depicting models developed using the training data.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Feature Selection and Extraction</title>
        <p>In this study, we used participants’ mental health, behavioral information, and weekly activity performance as inputs. For every 7-day moving window, the subsequent 7 days were considered as the forthcoming week. The questionnaires provided a highly redundant and low variance data set. These features coupled with 7 daily steps counts of the week and a normalized Shannon entropy (<italic>E<sub>s</sub></italic>) value of the weekly step count were considered candidate predictors for target step count for each individual participant for the forthcoming week [<xref ref-type="bibr" rid="ref29">29</xref>]. The normalized Shannon entropy was computed as
        <inline-graphic xlink:href="mhealth_v8i9e18142_fig13.png" xlink:type="simple" mimetype="image"/>
        where <italic>i</italic> denotes the day, <italic>p<sub>i</sub></italic> denotes the portion of the total weekly steps completed on day <italic>i</italic>, and <italic>N</italic> denotes the number of days per week (ie, 7). The normalized Shannon entropy varies between 0 and 1. A value close to 0 indicates that the daily step counts of the participant throughout the week were irregular; in contrast, a value close 1 indicates that the step counts were consistent.</p>
        <p>In total there were 93 candidate features for building the predictive models: 85 features from the questionnaires, 7 features from the daily steps of the week, and one weekly feature (ie, Shannon entropy). We used all 93 features for models developed in case 1.</p>
        <p>For case 2, we developed a principal component analysis model. Principal component analysis is a dimension reduction technique that is widely used for extracting uncorrelated features components from correlated variables [<xref ref-type="bibr" rid="ref14">14</xref>]. The principal component analysis used the 85 features from the questionnaires. We combined the principal components with the 7 daily and 1 weekly step count features.</p>
        <p>In case 3, to identify the important features, we performed recursive feature elimination with support vector regression using the 85 questionnaire variables. We augmented these features with the 7 daily step count features and the normalized Shannon entropy value of the weekly step count.</p>
        <p>Lastly, for case 4, we selected 2 features that were found to be important from the questionnaire in our previous work [<xref ref-type="bibr" rid="ref6">6</xref>] studying the link between the participants’ environmental factors and the adherence to the use of activity trackers. These features were (1) the number of digital devices owned by the participants, and (2) the use of activity fitness trackers and other smart devices by the participants’ family members. We appended these two features with the daily step count features, and Shannon entropy of the weekly step count.</p>
      </sec>
      <sec>
        <title>Model Evaluation</title>
        <p>We trained the models in this study with 10-fold cross-validation using the training data set. We compared the performance of the models using mean absolute error (MAE) and adjusted R<sup>2</sup>. We tested the final models (models A, B, C and D) of each case (cases 1, 2, 3, and 4) on an unseen test data set.</p>
      </sec>
      <sec>
        <title>Statistical Analysis</title>
        <p>We used Python (version 3.5.0) and R (version 3.4.1) for model development and statistical tests. We performed a one-sided paired <italic>t</italic> test (<italic>P</italic>&#60;.05 were deemed significant) for statistical comparison between the models. The null hypothesis was that the mean error of two models were equal, with the alternative hypothesis that the candidate model had a lower mean error than the mean error given by the comparison model.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Participant Characteristics</title>
        <p>We present the characteristics of the study participants in <xref ref-type="table" rid="table1">Table 1</xref>. Among them, 10 participants were eventually removed from the study since they stopped using the activity trackers.</p>
        <p>Over the span of 8 weeks, not all participants met their week-by-week step objectives. By and large, under half of participants met their progression objective every week (see <xref ref-type="table" rid="table2">Table 2</xref>). We present the distribution step count for all participants for each of the 9 weeks in <xref rid="figure3" ref-type="fig">Figure 3</xref>. We also presented the distribution of steps for each day of the week during the 9-week study period (see <xref rid="figure4" ref-type="fig">Figure 4</xref>).</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Patient demographic data.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="490"/>
            <col width="0"/>
            <col width="240"/>
            <col width="0"/>
            <col width="240"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Variable</td>
                <td colspan="2">Enrolled (N=30)</td>
                <td colspan="2">Participants (n=20)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">Age (years), mean (SD)</td>
                <td colspan="2">48.9 (9.5)</td>
                <td colspan="2">47.7 (10.2)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Gender, n (%)</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Male</td>
                <td colspan="2">9 (30)</td>
                <td>6 (30)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Female</td>
                <td colspan="2">21 (70)</td>
                <td>14 (70)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>BMI at enrollment</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Mean (SD)</td>
                <td colspan="2">32.5 (4.6)</td>
                <td>32.8 (4.7)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Range</td>
                <td colspan="2">25.0-41.2</td>
                <td>25.0-41.2</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Race, n (%)</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">White</td>
                <td colspan="2">21 (70)</td>
                <td>14 (70)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">American Indian or Alaskan Native</td>
                <td colspan="2">1 (3)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Black or African American</td>
                <td colspan="2">3 (10)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Hispanic</td>
                <td colspan="2">3 (10)</td>
                <td>3 (15)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Unknown</td>
                <td colspan="2">2 (6)</td>
                <td>0 (0)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Marital status, n (%)</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Married</td>
                <td colspan="2">8 (27)</td>
                <td>6 (30)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Divorced or separated</td>
                <td colspan="2">8 (27)</td>
                <td>5 (25)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Single (never married)</td>
                <td colspan="2">8 (27)</td>
                <td>6 (30)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Living with partner</td>
                <td colspan="2">3 (10)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Widowed</td>
                <td colspan="2">1 (3)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">No response</td>
                <td colspan="2">2 (7)</td>
                <td>0 (0)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Education, n (%)</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">12 years or completed high school or GED</td>
                <td colspan="2">5 (17)</td>
                <td>3 (15)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Some college</td>
                <td colspan="2">5 (17)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">College graduate</td>
                <td colspan="2">9 (30)</td>
                <td>8 (40)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Post–high school</td>
                <td colspan="2">2 (7)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Postgraduate</td>
                <td colspan="2">2 (7)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Less than high school</td>
                <td colspan="2">3 (10)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Unknown</td>
                <td colspan="2">4 (13)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>Employment status, n (%)</bold>
                </td>
                <td colspan="2"> </td>
                <td colspan="2"> </td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Employed/self-employed</td>
                <td colspan="2">15 (50)</td>
                <td>12 (60)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Disabled</td>
                <td colspan="2">5 (17)</td>
                <td>3 (15)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Unemployed</td>
                <td colspan="2">5 (17)</td>
                <td>2 (10)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Student</td>
                <td colspan="2">1 (3)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Retired</td>
                <td colspan="2">1 (3)</td>
                <td>1 (5)</td>
              </tr>
              <tr valign="top">
                <td> </td>
                <td colspan="2">Unknown</td>
                <td colspan="2">3 (10)</td>
                <td>1 (5)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Participants meeting their average daily step goal for the week (110% of the average daily step count in week 1) over the course of the study.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="300"/>
            <col width="700"/>
            <thead>
              <tr valign="top">
                <td>Week</td>
                <td>Participants (n=20) who met goal, n (%)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>2</td>
                <td>4 (20)</td>
              </tr>
              <tr valign="top">
                <td>3</td>
                <td>10 (50)</td>
              </tr>
              <tr valign="top">
                <td>4</td>
                <td>9 (45)</td>
              </tr>
              <tr valign="top">
                <td>5</td>
                <td>4 (20)</td>
              </tr>
              <tr valign="top">
                <td>6</td>
                <td>8 (40)</td>
              </tr>
              <tr valign="top">
                <td>7</td>
                <td>6 (30)</td>
              </tr>
              <tr valign="top">
                <td>8</td>
                <td>4 (20)</td>
              </tr>
              <tr valign="top">
                <td>9</td>
                <td>5 (25)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Weekly distribution of steps among all 20 participants.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Step count distribution on each day of the week.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Parameter Tuning and Feature Selection</title>
        <p>We performed a grid-search with 10-fold cross validation over the training data set. Lasso regression with α=0.01, Bayesian ridge regression with α=0.0001, and support vector regression with polynomial kernel of degree 2 with a regularization parameter of 0.00001 gave the best performance. Optimal parameters for random forests and neural networks depend on feature selection techniques. We found 30 variables from the questionnaires to be important using recursive feature elimination with support vector regression (see <xref rid="figure5" ref-type="fig">Figure 5</xref>). In the case of principal component analysis, the top 14 principal components explained 100% of the variance of the variables in questionnaires as shown in <xref rid="figure6" ref-type="fig">Figure 6</xref>.</p>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Number of features found to be important by support vector regression.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure6" position="float">
          <label>Figure 6</label>
          <caption>
            <p>Number of components found by principal component analysis.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig6.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Model Performance</title>
        <p>We report the performance for all models of 10-fold cross-validation with the training data set in <xref ref-type="table" rid="table3">Table 3</xref>. We used mean absolute error (MAE) and adjusted R<sup>2</sup> for the model comparison. Among all models developed, the Bayesian ridge regression model that used 93 features (case 1) gave the best performance for the training set (see <xref rid="figure7" ref-type="fig">Figure 7</xref>; MAE 1672, 95% CI 1640-1704; adjusted R<sup>2</sup>=0.85). The Bayesian ridge regression model is referred to as model A in the rest of this paper.</p>
        <p>Similarly, in case 2, we appended 14 principal components extracted from principal component analysis to the 7 daily and 1 weekly step count features resulting in 22 features. A random forest model (MAE 1700, 95% CI 1664-1737; adjusted R<sup>2</sup>=0.91) gave the best performance among all models (see <xref rid="figure8" ref-type="fig">Figure 8</xref>). This random forest model is referred to as model B for the rest of this paper.</p>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Results of 10-fold cross-validation with training set.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="560"/>
            <col width="0"/>
            <col width="150"/>
            <col width="0"/>
            <col width="150"/>
            <col width="0"/>
            <col width="110"/>
            <thead>
              <tr valign="top">
                <td colspan="2">Case and models</td>
                <td colspan="2">Mean MAE</td>
                <td colspan="2">95% CI</td>
                <td colspan="2"><italic>P</italic> value</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td colspan="2">
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">
                  <bold>1 All features</bold>
                </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">Bayesian ridge regression<sup>a</sup></td>
                <td colspan="2">1672</td>
                <td colspan="2">1640-1704</td>
                <td>Model ref<sup>b</sup></td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Lasso</td>
                <td colspan="2">2016</td>
                <td colspan="2">1985-2047</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Random forest</td>
                <td colspan="2">2425</td>
                <td colspan="2">2386-2464</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Neural network</td>
                <td colspan="2">1856</td>
                <td colspan="2">1813-1899</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Support vector regression</td>
                <td colspan="2">2425</td>
                <td colspan="2">2386-2464</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>2 Feature selection using principal component analysis</bold>
                </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">Bayesian ridge regression</td>
                <td colspan="2">2139</td>
                <td colspan="2">2107-2171</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Lasso</td>
                <td colspan="2">2036</td>
                <td colspan="2">2005-2067</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Random forest<sup>c</sup></td>
                <td colspan="2">1700</td>
                <td colspan="2">1664-1737</td>
                <td>Model ref</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Neural network</td>
                <td colspan="2">1956</td>
                <td colspan="2">1926-1985</td>
                <td>.03</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Support vector regression</td>
                <td colspan="2">2938</td>
                <td colspan="2">2862-3013</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>3 Feature selection using recursive feature elimination</bold>
                </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">Bayesian ridge regression</td>
                <td colspan="2">2131</td>
                <td colspan="2">2100-2163</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Lasso</td>
                <td colspan="2">2026</td>
                <td colspan="2">1995-2057</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Random forest<sup>d</sup></td>
                <td colspan="2">1774</td>
                <td colspan="2">1739-1809</td>
                <td>Model ref</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Neural network</td>
                <td colspan="2">1906</td>
                <td colspan="2">1855-1958</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Support vector regression</td>
                <td colspan="2">2548</td>
                <td colspan="2">2473-2624</td>
                <td>.002</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>4 Feature selected from previous study</bold>
                </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">Bayesian ridge regression</td>
                <td colspan="2">2564</td>
                <td colspan="2">2537-2592</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Lasso</td>
                <td colspan="2">2457</td>
                <td colspan="2">2429-2485</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Random forest</td>
                <td colspan="2">1810</td>
                <td colspan="2">1768-1852</td>
                <td>.04</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Neural network<sup>e</sup></td>
                <td colspan="2">1622</td>
                <td colspan="2">1589-1655</td>
                <td>Model ref</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td colspan="2">Support vector regression</td>
                <td colspan="2">2940</td>
                <td colspan="2">2864-3016</td>
                <td>&#60;.001</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>Model A (ie, this model gave the best performance in case 1).</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>Reference model for comparisons.</p>
            </fn>
            <fn id="table3fn3">
              <p><sup>c</sup>Model B (ie, this model gave the best performance in case 2).</p>
            </fn>
            <fn id="table3fn4">
              <p><sup>d</sup>Model C (ie, this model gave the best performance in case 3).</p>
            </fn>
            <fn id="table3fn5">
              <p><sup>e</sup>Model D (ie, this model gave the best performance in case 4).</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <fig id="figure7" position="float">
          <label>Figure 7</label>
          <caption>
            <p>Cross-validation performance of models using all questionnaire features, 7 daily step count features, and weekly entropy feature. BRIDGE: Bayesian ridge regression; NN: neural network; RF: random forest; SVR: support vector regression.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig7.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure8" position="float">
          <label>Figure 8</label>
          <caption>
            <p>Cross-validation performance of models using features generated by principal component analysis,  daily step count features, and weekly entropy feature. BRIDGE: Bayesian ridge regression; NN: neural network; RF: random forest; SVR: support vector regression.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig8.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>In case 3, we appended variables found by recursive feature elimination to the 7 daily step counts and 1 weekly entropy feature which resulted in 39 features. A random forest model (MAE 1774, 95% CI 1739-1809; adjusted R<sup>2</sup>=0.81) offered the best performance among all the models developed with these features (see <xref rid="figure9" ref-type="fig">Figure 9</xref>). We refer to this random forest model as model C.</p>
        <p>Finally, for case 4, we coupled two features found in the previous study [<xref ref-type="bibr" rid="ref6">6</xref>] with the 7 daily step counts and 1 weekly entropy feature which resulted in 10 features. A neural network gave the best performance across all models (MAE 1622 steps, 95% CI 1589-1655; adjusted R<sup>2</sup>=0.89) (see <xref rid="figure10" ref-type="fig">Figure 10</xref>). We refer to this neural network model as model D.</p>
        <p>Model D gave the best predictive performance among all the models. It had the lowest MAE across all models explored. We compared the predictive power of the model D (neural networks) with those of models A, B, and C using the testing data set. We found that model D gave a better predictive performance as shown in <xref rid="figure11" ref-type="fig">Figure 11</xref>. We performed comparisons using <italic>t</italic> tests between the errors generated by the model D and errors generated by models A, B, and C as shown in <xref ref-type="table" rid="table4">Table 4</xref>. We observed that model D’s lower errors in comparison to those of Bayesian ridge regression (model A: <italic>P</italic>=.01), random forest (model B: <italic>P</italic>&#60;.001), and random forest (model C: <italic>P</italic>=.01) models were significant.</p>
        <fig id="figure9" position="float">
          <label>Figure 9</label>
          <caption>
            <p>Cross-validation performance of models using all features given by recursive feature elimination, 7 daily step count features, and weekly entropy feature. BRIDGE: Bayesian ridge regression; NN: neural network; RF: random forest; SVR: support vector regression.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig9.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure10" position="float">
          <label>Figure 10</label>
          <caption>
            <p>Cross-validation performance of models using features generated from previous knowledge, 7 daily step count features, and weekly entropy feature. BRIDGE: Bayesian ridge regression; NN: neural network; RF: random forest; SVR: support vector regression.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig10.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure11" position="float">
          <label>Figure 11</label>
          <caption>
            <p>Boxplot of errors in terms of steps over the test set for Model A (Bayesian ridge regression), Model B (random forest), Model C (random forest), and Model D (neural network). MAE: mean absolute error.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig11.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Breakdown of model results over the test data set.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="363"/>
            <col width="188"/>
            <col width="266"/>
            <col width="183"/>
            <thead>
              <tr valign="bottom">
                <td>Model (type)</td>
                <td>Mean MAE<sup>a</sup></td>
                <td>95% CI</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Model D (neural network)</td>
                <td>1545</td>
                <td>1383-1706</td>
                <td>Model ref<sup>b</sup></td>
              </tr>
              <tr valign="top">
                <td>Model C (random forest)</td>
                <td>2210</td>
                <td>1990-2420</td>
                <td>.01</td>
              </tr>
              <tr valign="top">
                <td>Model B (random forest)</td>
                <td>2230</td>
                <td>2015-2445</td>
                <td>&#60;.001</td>
              </tr>
              <tr valign="top">
                <td>Model A (Bayesian ridge regression)</td>
                <td>2578</td>
                <td>2310-2845</td>
                <td>.01</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>MAE: mean absolute error.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>Reference model for comparisons.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>We evaluated the naïve rule: using participants’ average daily step count of the week as the prediction for the subsequent week’s activity goal [<xref ref-type="bibr" rid="ref30">30</xref>]. This is a reasonably competitive approach because the weekly target exhibited strong autocorrelation. The naïve rule achieved an MAE of 1664 steps while model D achieved an MAE of 1545 steps (95% CI 1383-1706) for the 4 test participants over a period of 8 weeks.</p>
      </sec>
      <sec>
        <title>Sensitivity Analysis</title>
        <p>Its reported that the Fitbit activity devices have margin of ±5% error in their step count readings [<xref ref-type="bibr" rid="ref31">31</xref>,<xref ref-type="bibr" rid="ref32">32</xref>]. We tested the performance of our best model (model D) on three noisy data sets generated from the original test data set by adding ±1%, ±3%, and ±5% noise. The first noisy data set was generated by adding random noise between –1% and +1% to the Fitbit readings. Similarly, the second and third noisy data sets were generated by adding ±3% and ±5% noise to the original data set. To conduct the sensitivity analysis, we generated 100 replications of each noisy data sets by adding different random noises with limit specified for each data set. These data sets were used to evaluate the performance of model D.</p>
        <p>The model D achieved an MAE of 1606 steps (95% CI 1490-1755) for the noisy test data set generated using margin of ±1% error which is approximately 4% higher than the MAE achieved for the original noise-free test data set. Similarly, model D’s MAE was 1670 steps (95% CI 1571-1840) for the margin of ±3% error which was approximately 8% higher than the MAE achieved for the original noise-free test data set. Finally, for the data set generated using margin of ±5% error, model D’s MAE of 1710 steps (95% CI 1621-1908) was approximately 10% higher than the MAE achieved for the original noise-free test data set.</p>
        <p>This led to the empirical observation that 2%, 6%, and 10% noise in Fitbit readings leads to approximately 4%, 8%, and 10% increases in prediction error, respectively. Therefore, we assume that the model error sublinearly increases with margin of error in activity tracker readings. However, one might need to validate this observation with further evaluation data.</p>
      </sec>
      <sec>
        <title>Feature Importance</title>
        <p>We experimented with integrated gradients [<xref ref-type="bibr" rid="ref33">33</xref>] in order to analyze the features of model D. This method provides a score that reflects the contribution of each variable to the response variable by calculating the integral of the gradient of the response variable with respect to that variable. We report the top features for model D in <xref rid="figure12" ref-type="fig">Figure 12</xref>.</p>
        <fig id="figure12" position="float">
          <label>Figure 12</label>
          <caption>
            <p>Importance of the features as measured by the integrated gradient method.</p>
          </caption>
          <graphic xlink:href="mhealth_v8i9e18142_fig12.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <p>Precise prescient calculations that consolidate information are one of the main focuses in predictive analyses [<xref ref-type="bibr" rid="ref34">34</xref>]. To the best of our knowledge, this work is one of the first studies to explore machine learning models with the aim of adjusting step count goals. Inputs to these models use an individual’s personal, social, and environmental factors as well as weekly activity data. A recent study concluded that activity tracker users feel unmotivated despite having knowledge about the benefits of physical activity [<xref ref-type="bibr" rid="ref35">35</xref>]. Users can become unmotivated if they cannot meet their activity goal [<xref ref-type="bibr" rid="ref36">36</xref>]. Step count goals that are too easy to achieve may lead to abandonment of the activity tracker, and those that are too high will discourage the individual [<xref ref-type="bibr" rid="ref37">37</xref>].</p>
      <p>In previous work [<xref ref-type="bibr" rid="ref6">6</xref>], we studied the factors influencing the use of activity trackers and identified two factors that likely promote the continued use of activity trackers: (1) the number of digital devices that the participant owns, and (2) whether or not members of the participants’ family use activity fitness trackers and other smart devices. Extending the previous work [<xref ref-type="bibr" rid="ref6">6</xref>], in this study, we explored different predictive models to estimate achievable weekly step goals to encourage the use of activity trackers. This study can be used to set goals for individuals and can be accompanied by proper motivation messages to improve the sustained use of the activity trackers [<xref ref-type="bibr" rid="ref38">38</xref>-<xref ref-type="bibr" rid="ref40">40</xref>].</p>
      <p>This study has some limitations. The number of participants was low, and all of the participants were selected from a cohort with BMI of 25 kg/m<sup>2</sup> or greater from the same geographical area. Participants who choose to participate in this study were more likely to use from 3 models of Fitbit activity trackers than those who chose not to participate in the study. Moreover, only participants who completed the 9-week study were considered for further analysis. Finally, in this study, we used 110% of week 1 averaged daily step count as the best estimate of each participant’s personalized goal for each week. The goal may have been on heavy side for some participants and on the easy side for others. This is, of course, a limitation of the study in the absence of a mechanism for a correct estimate of the goal for each participant.</p>
      <p>As an extension to this work, a new study with the goal of validating the developed model with a large number of participants has been undertaken. The new study recruited 120 individuals from the general public to use the neural network-based predictive model developed herein over a period of 6 months. This model, hosted on a server, provides each user with achievable daily steps goals and updates the model parameters on a weekly basis. The data from the study that is underway will be used to fine tune the predictive model and to gain insight into activity tracker users to motivate and manage their physical activity.</p>
    </sec>
  </body>
  <back>
    <app-group/>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">BBA</term>
          <def>
            <p>Barriers to Being Active</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">BREQ</term>
          <def>
            <p>Behavioral Regulation in Exercise Questionnaire</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">MAE</term>
          <def>
            <p>mean absolute error</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">PHQ</term>
          <def>
            <p>Patient Health Questionnaire</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">PROMIS</term>
          <def>
            <p>Patient-Reported Outcomes Measurement Information System</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>This research was supported in conjunction with a grant from the Robert Wood Johnson Foundation (Grant ID: 71963).</p>
    </ack>
    <fn-group>
      <fn fn-type="con">
        <p>RM and SK worked on data exploration, dimension reduction through factor analysis, implementing and designing the neural network–based algorithm, generating results, and drafting the paper. SK is one of the guarantor authors of the paper. MA and AJC worked on the design and data collection. SA and KJ worked on the design, and JK is one of the guarantor authors.</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bassuk</surname>
              <given-names>SS</given-names>
            </name>
            <name name-style="western">
              <surname>Manson</surname>
              <given-names>JE</given-names>
            </name>
          </person-group>
          <article-title>Epidemiological evidence for the role of physical activity in reducing risk of type 2 diabetes and cardiovascular disease</article-title>
          <source>Journal of Applied Physiology</source>
          <year>2005</year>
          <month>09</month>
          <volume>99</volume>
          <issue>3</issue>
          <fpage>1193</fpage>
          <lpage>1204</lpage>
          <pub-id pub-id-type="doi">10.1152/japplphysiol.00160.2005</pub-id>
        </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>Mercer</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Giangregorio</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Burns</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Grindrod</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Behavior Change Techniques Present in Wearable Activity Trackers: A Critical Analysis</article-title>
          <source>JMIR mHealth uHealth</source>
          <year>2016</year>
          <month>04</month>
          <day>27</day>
          <volume>4</volume>
          <issue>2</issue>
          <fpage>e40</fpage>
          <pub-id pub-id-type="doi">10.2196/mhealth.4461</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>Eheman</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Henley</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Ballard-Barbash</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Jacobs</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Schymura</surname>
              <given-names>MJ</given-names>
            </name>
            <name name-style="western">
              <surname>Noone</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Pan</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Anderson</surname>
              <given-names>RN</given-names>
            </name>
            <name name-style="western">
              <surname>Fulton</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Kohler</surname>
              <given-names>BA</given-names>
            </name>
            <name name-style="western">
              <surname>Jemal</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ward</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Plescia</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Ries</surname>
              <given-names>LAG</given-names>
            </name>
            <name name-style="western">
              <surname>Edwards</surname>
              <given-names>BK</given-names>
            </name>
          </person-group>
          <article-title>Annual Report to the Nation on the status of cancer, 1975-2008, featuring cancers associated with excess weight and lack of sufficient physical activity</article-title>
          <source>Cancer</source>
          <year>2012</year>
          <month>03</month>
          <day>28</day>
          <volume>118</volume>
          <issue>9</issue>
          <fpage>2338</fpage>
          <lpage>2366</lpage>
          <pub-id pub-id-type="doi">10.1002/cncr.27514</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>Michie</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Abraham</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Whittington</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>McAteer</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Gupta</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Effective techniques in healthy eating and physical activity interventions: A meta-regression</article-title>
          <source>Health Psychology</source>
          <year>2009</year>
          <volume>28</volume>
          <issue>6</issue>
          <fpage>690</fpage>
          <lpage>701</lpage>
          <pub-id pub-id-type="doi">10.1037/a0016136</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>Wang</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Cataldo</surname>
              <given-names>JK</given-names>
            </name>
            <name name-style="western">
              <surname>Ayala</surname>
              <given-names>GX</given-names>
            </name>
            <name name-style="western">
              <surname>Natarajan</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Cadmus-Bertram</surname>
              <given-names>LA</given-names>
            </name>
            <name name-style="western">
              <surname>White</surname>
              <given-names>MM</given-names>
            </name>
            <name name-style="western">
              <surname>Madanat</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Nichols</surname>
              <given-names>JF</given-names>
            </name>
            <name name-style="western">
              <surname>Pierce</surname>
              <given-names>JP</given-names>
            </name>
          </person-group>
          <article-title>Mobile and Wearable Device Features that Matter in Promoting Physical Activity</article-title>
          <source>JournalMTM</source>
          <year>2016</year>
          <month>7</month>
          <volume>5</volume>
          <issue>2</issue>
          <fpage>2</fpage>
          <lpage>11</lpage>
          <pub-id pub-id-type="doi">10.7309/jmtm.5.2.2</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>Centi</surname>
              <given-names>AJ</given-names>
            </name>
            <name name-style="western">
              <surname>Atif</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Golas</surname>
              <given-names>SB</given-names>
            </name>
            <name name-style="western">
              <surname>Mohammadi</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Kamarthi</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Agboola</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Kvedar</surname>
              <given-names>JC</given-names>
            </name>
            <name name-style="western">
              <surname>Jethwani</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Factors Influencing Exercise Engagement When Using Activity Trackers: Nonrandomized Pilot Study</article-title>
          <source>JMIR Mhealth Uhealth</source>
          <year>2019</year>
          <month>10</month>
          <day>24</day>
          <volume>7</volume>
          <issue>10</issue>
          <fpage>e11603</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://preprints.jmir.org/preprint/11603"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/11603</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Rúben</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Evangelos</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Marc</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>How do we engage with activity trackers?: a longitudinal study of habito</article-title>
          <year>2015</year>
          <month>09</month>
          <day>07</day>
          <conf-name>ACM International Joint Conference on Pervasive Ubiquitous Computing</conf-name>
          <conf-date>2015</conf-date>
          <conf-loc>New York</conf-loc>
          <fpage>1305</fpage>
          <lpage>1316</lpage>
          <pub-id pub-id-type="doi">10.1145/2750858.2804290</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>Koh</surname>
              <given-names>Hian Chye</given-names>
            </name>
            <name name-style="western">
              <surname>Tan</surname>
              <given-names>Gerald</given-names>
            </name>
          </person-group>
          <article-title>Data mining applications in healthcare</article-title>
          <source>J Healthc Inf Manag</source>
          <year>2005</year>
          <volume>19</volume>
          <issue>2</issue>
          <fpage>64</fpage>
          <lpage>72</lpage>
          <pub-id pub-id-type="medline">15869215</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Phelan</surname>
              <given-names>Suzanne</given-names>
            </name>
            <name name-style="western">
              <surname>Phipps</surname>
              <given-names>Maureen G</given-names>
            </name>
            <name name-style="western">
              <surname>Abrams</surname>
              <given-names>Barbara</given-names>
            </name>
            <name name-style="western">
              <surname>Darroch</surname>
              <given-names>Francine</given-names>
            </name>
            <name name-style="western">
              <surname>Grantham</surname>
              <given-names>Kelsey</given-names>
            </name>
            <name name-style="western">
              <surname>Schaffner</surname>
              <given-names>Andrew</given-names>
            </name>
            <name name-style="western">
              <surname>Wing</surname>
              <given-names>Rena R</given-names>
            </name>
          </person-group>
          <article-title>Does behavioral intervention in pregnancy reduce postpartum weight retention? Twelve-month outcomes of the Fit for Delivery randomized trial</article-title>
          <source>Am J Clin Nutr</source>
          <year>2014</year>
          <month>02</month>
          <volume>99</volume>
          <issue>2</issue>
          <fpage>302</fpage>
          <lpage>11</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/24284438"/>
          </comment>
          <pub-id pub-id-type="doi">10.3945/ajcn.113.070151</pub-id>
          <pub-id pub-id-type="medline">24284438</pub-id>
          <pub-id pub-id-type="pii">ajcn.113.070151</pub-id>
          <pub-id pub-id-type="pmcid">PMC3893723</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <collab>Fister</collab>
            <collab>Iztok</collab>
            <name name-style="western">
              <surname>Duan</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Simon</surname>
              <given-names>F</given-names>
            </name>
          </person-group>
          <article-title>Data Mining in Sporting Activities Created by Sports Trackers</article-title>
          <year>2013</year>
          <month>08</month>
          <day>26</day>
          <conf-name>International Symposium on Computational and Business Intelligence. IEEE</conf-name>
          <conf-date>2013</conf-date>
          <conf-loc>India</conf-loc>
          <pub-id pub-id-type="doi">10.1109/iscbi.2013.25</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Liebermann</surname>
              <given-names>DG</given-names>
            </name>
            <name name-style="western">
              <surname>Katz</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Hughes</surname>
              <given-names>MD</given-names>
            </name>
            <name name-style="western">
              <surname>Bartlett</surname>
              <given-names>RM</given-names>
            </name>
            <name name-style="western">
              <surname>McClements</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Franks</surname>
              <given-names>IM</given-names>
            </name>
          </person-group>
          <article-title>Advances in the application of information technology to sport performance</article-title>
          <source>Journal of Sports Sciences</source>
          <year>2002</year>
          <month>01</month>
          <volume>20</volume>
          <issue>10</issue>
          <fpage>755</fpage>
          <lpage>769</lpage>
          <pub-id pub-id-type="doi">10.1080/026404102320675611</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>Tomar</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Agarwal</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>A survey on Data Mining approaches for Healthcare</article-title>
          <source>IJBSBT</source>
          <year>2013</year>
          <month>10</month>
          <day>31</day>
          <volume>5</volume>
          <issue>5</issue>
          <fpage>241</fpage>
          <lpage>266</lpage>
          <pub-id pub-id-type="doi">10.14257/ijbsbt.2013.5.5.25</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>Chandrashekar</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Sahin</surname>
              <given-names>F</given-names>
            </name>
          </person-group>
          <article-title>A survey on feature selection methods</article-title>
          <source>Computers &#38; Electrical Engineering</source>
          <year>2014</year>
          <month>01</month>
          <volume>40</volume>
          <issue>1</issue>
          <fpage>16</fpage>
          <lpage>28</lpage>
          <pub-id pub-id-type="doi">10.1016/j.compeleceng.2013.11.024</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <collab>Drucker</collab>
            <collab>Harris</collab>
          </person-group>
          <article-title>Support vector regression machines</article-title>
          <source>Advances in neural information processing systems. Jolliffe, Principal component analysis, Springer</source>
          <year>1997</year>
          <fpage>155</fpage>
          <lpage>161</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jolliffe</surname>
              <given-names>IT</given-names>
            </name>
          </person-group>
          <source>Principal Component Analysis, 2nd ed</source>
          <year>2002</year>
          <publisher-loc>New York</publisher-loc>
          <publisher-name>Springer</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Söderlund</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fischer</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Johansson</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Physical activity, diet and behaviour modification in the treatment of overweight and obese adults: a systematic review</article-title>
          <source>Perspect Public Health</source>
          <year>2009</year>
          <month>05</month>
          <day>07</day>
          <volume>129</volume>
          <issue>3</issue>
          <fpage>132</fpage>
          <lpage>142</lpage>
          <pub-id pub-id-type="doi">10.1177/1757913908094805</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>Jakicic</surname>
              <given-names>JM</given-names>
            </name>
            <name name-style="western">
              <surname>Otto</surname>
              <given-names>AD</given-names>
            </name>
            <name name-style="western">
              <surname>Lang</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Semler</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Winters</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Polzien</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Mohr</surname>
              <given-names>KI</given-names>
            </name>
          </person-group>
          <article-title>The Effect of Physical Activity on 18-Month Weight Change in Overweight Adults</article-title>
          <source>Obesity</source>
          <year>2010</year>
          <month>06</month>
          <day>10</day>
          <volume>19</volume>
          <issue>1</issue>
          <fpage>100</fpage>
          <lpage>109</lpage>
          <pub-id pub-id-type="doi">10.1038/oby.2010.122</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bickmore</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Schulman</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Yin</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Maintaining Engagement in Long-term Interventions with Relational Agents</article-title>
          <source>Appl Artif Intell</source>
          <year>2010</year>
          <month>07</month>
          <day>01</day>
          <volume>24</volume>
          <issue>6</issue>
          <fpage>648</fpage>
          <lpage>666</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/21318052"/>
          </comment>
          <pub-id pub-id-type="doi">10.1080/08839514.2010.492259</pub-id>
          <pub-id pub-id-type="medline">21318052</pub-id>
          <pub-id pub-id-type="pmcid">PMC3035950</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="web">
          <source>http://www.wellocracy.com</source>
          <access-date>2020-07-28</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://www.wellocracy.com">http://www.wellocracy.com</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>David</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Vannessa</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>A modification to the Behavioural Regulation in Exercise Questionnaire to include an assessment of amotivation</article-title>
          <source>Journal</source>
          <year>2004</year>
          <fpage>191</fpage>
          <lpage>196</lpage>
          <pub-id pub-id-type="doi">10.1123/jsep.26.2.191</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="web">
          <article-title>Overcoming Barriers to Physical Activity</article-title>
          <source>website</source>
          <access-date>2020-07-28</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.cdc.gov/physicalactivity/basics/adding-pa/barriers.html">https://www.cdc.gov/physicalactivity/basics/adding-pa/barriers.html</ext-link>
          </comment>
        </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>Kroenke</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Strine</surname>
              <given-names>TW</given-names>
            </name>
            <name name-style="western">
              <surname>Spitzer</surname>
              <given-names>RL</given-names>
            </name>
            <name name-style="western">
              <surname>Williams</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Berry</surname>
              <given-names>JT</given-names>
            </name>
            <name name-style="western">
              <surname>Mokdad</surname>
              <given-names>AH</given-names>
            </name>
          </person-group>
          <article-title>The PHQ-8 as a measure of current depression in the general population</article-title>
          <source>Journal of Affective Disorders</source>
          <year>2009</year>
          <month>4</month>
          <volume>114</volume>
          <issue>1-3</issue>
          <fpage>163</fpage>
          <lpage>173</lpage>
          <pub-id pub-id-type="doi">10.1016/j.jad.2008.06.026</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>Holmen</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Wahl</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Torbjørnsen</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Jenum</surname>
              <given-names>AK</given-names>
            </name>
            <name name-style="western">
              <surname>Småstuen</surname>
              <given-names>MC</given-names>
            </name>
            <name name-style="western">
              <surname>Ribu</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Stages of change for physical activity and dietary habits in persons with type 2 diabetes included in a mobile health intervention: the Norwegian study in RENEWING HEALTH</article-title>
          <source>BMJ Open Diab Res Care</source>
          <year>2016</year>
          <month>05</month>
          <day>12</day>
          <volume>4</volume>
          <issue>1</issue>
          <fpage>e000193</fpage>
          <pub-id pub-id-type="doi">10.1136/bmjdrc-2016-000193</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hays</surname>
              <given-names>RD</given-names>
            </name>
            <name name-style="western">
              <surname>Bjorner</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Revicki</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Spritzer</surname>
              <given-names>KL</given-names>
            </name>
            <name name-style="western">
              <surname>Cella</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Development of physical and mental health summary scores from the patient-reported outcomes measurement information system (PROMIS) global items</article-title>
          <source>Qual Life Res</source>
          <year>2009</year>
          <month>6</month>
          <day>19</day>
          <volume>18</volume>
          <issue>7</issue>
          <fpage>873</fpage>
          <lpage>880</lpage>
          <pub-id pub-id-type="doi">10.1007/s11136-009-9496-9</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Christopher M</surname>
              <given-names>Bishop</given-names>
            </name>
          </person-group>
          <article-title>Pattern recognition and machine learning</article-title>
          <source>springer</source>
          <year>2006</year>
          <publisher-loc>New York, NY</publisher-loc>
          <publisher-name>Springer</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Santosa</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Symes</surname>
              <given-names>WW</given-names>
            </name>
          </person-group>
          <article-title>Linear Inversion of Band-Limited Reflection Seismograms</article-title>
          <source>SIAM J. Sci. and Stat. Comput</source>
          <year>1986</year>
          <month>10</month>
          <volume>7</volume>
          <issue>4</issue>
          <fpage>1307</fpage>
          <lpage>1330</lpage>
          <pub-id pub-id-type="doi">10.1137/0907087</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Genuer</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Poggi</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Tuleau-Malot</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Variable selection using random forests</article-title>
          <source>Pattern Recognition Letters</source>
          <year>2010</year>
          <month>10</month>
          <volume>31</volume>
          <issue>14</issue>
          <fpage>2225</fpage>
          <lpage>2236</lpage>
          <pub-id pub-id-type="doi">10.1016/j.patrec.2010.03.014</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Simon</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Neural networks: a comprehensive foundation</article-title>
          <source>book</source>
          <year>1994</year>
          <publisher-loc>NJ, United States</publisher-loc>
          <publisher-name>Prentice Hall PTR</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <collab>Cover</collab>
            <name name-style="western">
              <surname>Thomas</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>,Joy A</article-title>
          <source>Thomas.Elements of information theory. John Wiley &#38; Sons</source>
          <year>2012</year>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <collab>Mohammadi</collab>
            <name name-style="western">
              <surname>Jain</surname>
              <given-names>Sarthak</given-names>
            </name>
            <name name-style="western">
              <surname>Agboola</surname>
              <given-names>Stephen</given-names>
            </name>
            <name name-style="western">
              <surname>Palacholla</surname>
              <given-names>Ramya</given-names>
            </name>
            <name name-style="western">
              <surname>Kamarthi</surname>
              <given-names>Sagar</given-names>
            </name>
            <name name-style="western">
              <surname>Wallace</surname>
              <given-names>Byron C</given-names>
            </name>
          </person-group>
          <article-title>Learning to Identify Patients at Risk of Uncontrolled Hypertension Using Electronic Health Records Data</article-title>
          <source>AMIA Jt Summits Transl Sci Proc</source>
          <year>2019</year>
          <volume>2019</volume>
          <fpage>533</fpage>
          <lpage>542</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/31259008"/>
          </comment>
          <pub-id pub-id-type="medline">31259008</pub-id>
          <pub-id pub-id-type="pmcid">PMC6568059</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Alinia</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Cain</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Fallahzadeh</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Shahrokni</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Cook</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Ghasemzadeh</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>How Accurate Is Your Activity Tracker? A Comparative Study of Step Counts in Low-Intensity Physical Activities</article-title>
          <source>JMIR Mhealth Uhealth</source>
          <year>2017</year>
          <month>08</month>
          <day>11</day>
          <volume>5</volume>
          <issue>8</issue>
          <fpage>e106</fpage>
          <pub-id pub-id-type="doi">10.2196/mhealth.6321</pub-id>
          <pub-id pub-id-type="medline">28801304</pub-id>
          <pub-id pub-id-type="pii">v5i8e106</pub-id>
          <pub-id pub-id-type="pmcid">PMC5572056</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>An</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Jones</surname>
              <given-names>GC</given-names>
            </name>
            <name name-style="western">
              <surname>Kang</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Welk</surname>
              <given-names>GJ</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>How valid are wearable physical activity trackers for measuring steps?</article-title>
          <source>Eur J Sport Sci</source>
          <year>2017</year>
          <month>04</month>
          <volume>17</volume>
          <issue>3</issue>
          <fpage>360</fpage>
          <lpage>368</lpage>
          <pub-id pub-id-type="doi">10.1080/17461391.2016.1255261</pub-id>
          <pub-id pub-id-type="medline">27912681</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <collab>Sundararajan</collab>
            <collab>Mukund</collab>
            <name name-style="western">
              <surname>Ankur</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Qiqi</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>Axiomatic attribution for deep networks</article-title>
          <year>2017</year>
          <month>08</month>
          <day>11</day>
          <conf-name>Proceedings of the 34th International Conference on Machine Learning-Volume 70. JMLR. Org</conf-name>
          <conf-date>2017</conf-date>
          <conf-loc>Sydney, Australia</conf-loc>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Rykov</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Thach</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Dunleavy</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Roberts</surname>
              <given-names>AC</given-names>
            </name>
            <name name-style="western">
              <surname>Christopoulos</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Soh</surname>
              <given-names>CK</given-names>
            </name>
            <name name-style="western">
              <surname>Car</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Activity Tracker–Based Metrics as Digital Markers of Cardiometabolic Health: Cross-Sectional Study</article-title>
          <source>JMIR Mhealth Uhealth</source>
          <year>2020</year>
          <month>1</month>
          <day>27</day>
          <volume>8</volume>
          <issue>1</issue>
          <fpage>e16409</fpage>
          <pub-id pub-id-type="doi">10.2196/16409</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Glenn</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Shaun</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Andrew</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Leslie</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Why People Stick With or Abandon Wearable Devices</article-title>
          <source>Catalyst Journal</source>
          <year>2017</year>
          <month>09</month>
          <day>14</day>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kerner</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Goodyear</surname>
              <given-names>VA</given-names>
            </name>
          </person-group>
          <article-title>The Motivational Impact of Wearable Healthy Lifestyle Technologies: A Self-determination Perspective on Fitbits With Adolescents</article-title>
          <source>American Journal of Health Education</source>
          <year>2017</year>
          <month>07</month>
          <day>28</day>
          <volume>48</volume>
          <issue>5</issue>
          <fpage>287</fpage>
          <lpage>297</lpage>
          <pub-id pub-id-type="doi">10.1080/19325037.2017.1343161</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Elizabeth</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>David</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Gueorgi</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Mobile health apps: adoption, adherence, and abandonment</article-title>
          <source>UbiComp/ISWC'15 Adjunct: Adjunct Proceedings</source>
          <year>2015</year>
          <month>09</month>
          <day>14</day>
          <conf-name>ACM International Joint Conference on Pervasive and Ubiquitous Computing and Proceedings</conf-name>
          <conf-date>2015</conf-date>
          <conf-loc>Osaka Japan</conf-loc>
          <fpage>261</fpage>
          <lpage>264</lpage>
          <pub-id pub-id-type="doi">10.1145/2800835.2800943</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Couper</surname>
              <given-names>MP</given-names>
            </name>
            <name name-style="western">
              <surname>Alexander</surname>
              <given-names>GL</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Little</surname>
              <given-names>RJ</given-names>
            </name>
            <name name-style="western">
              <surname>Maddy</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Nowak</surname>
              <given-names>MA</given-names>
            </name>
            <name name-style="western">
              <surname>McClure</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Calvi</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Rolnick</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Stopponi</surname>
              <given-names>MA</given-names>
            </name>
            <name name-style="western">
              <surname>Cole Johnson</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Engagement and Retention: Measuring Breadth and Depth of Participant Use of an Online Intervention</article-title>
          <source>J Med Internet Res</source>
          <year>2010</year>
          <month>11</month>
          <day>18</day>
          <volume>12</volume>
          <issue>4</issue>
          <fpage>e52</fpage>
          <pub-id pub-id-type="doi">10.2196/jmir.1430</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bossen</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Buskermolen</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Veenhof</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>de Bakker</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Dekker</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Adherence to a Web-Based Physical Activity Intervention for Patients With Knee and/or Hip Osteoarthritis: A Mixed Method Study</article-title>
          <source>J Med Internet Res</source>
          <year>2013</year>
          <month>10</month>
          <day>16</day>
          <volume>15</volume>
          <issue>10</issue>
          <fpage>e223</fpage>
          <pub-id pub-id-type="doi">10.2196/jmir.2742</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Davies</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Corry</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Van Itallie</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Vandelanotte</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Caperchione</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Mummery</surname>
              <given-names>WK</given-names>
            </name>
          </person-group>
          <article-title>Prospective Associations Between Intervention Components and Website Engagement in a Publicly Available Physical Activity Website: The Case of 10,000 Steps Australia</article-title>
          <source>J Med Internet Res</source>
          <year>2012</year>
          <month>01</month>
          <day>11</day>
          <volume>14</volume>
          <issue>1</issue>
          <fpage>e4</fpage>
          <pub-id pub-id-type="doi">10.2196/jmir.1792</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
