<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Joint Conference (March</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Method for Comparing Long-term Daily Life using Long-duration Episodes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Takahiko SHINTANI</string-name>
          <email>shintani@uec.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tadashi OHMORI</string-name>
          <email>omori@is.uec.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hideyuki FUJITA</string-name>
          <email>fujita@is.uec.ac.jp</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>The University of</institution>
          ,
          <addr-line>Electro-Communications, Tokyo</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <volume>26</volume>
      <issue>2019</issue>
      <abstract>
        <p>Collecting lifelogs comprising data related to human life over a long period of time has progressed in recent years due to the widespread use of inexpensive small sensors. Understanding longterm daily life can be helpful in healthcare applications and for improving quality of life, for example. In this research, we propose a method for comparing two periods of daily life, which makes it possible to find similar and diferent life periods in lifelogs. Since a human life includes various behaviors, we propose an approach for comparing two periods of daily life based on the diferences in the behaviors performed in each period. We extracted episodes corresponding to several behaviors from motion data acquired with wearable sensors. Frequent episodes corresponding to frequent behaviors can be extracted using conventional episode mining methods. However, when comparing daily lives, not only a behavior frequency, but also its duration is important. Hence, we introduce long-duration episodes corresponding to long-running behaviors. In the proposed method, the similarity of two daily life periods is calculated based on diferences of long-duration and frequent episodes. We demonstrate with experiments using real-life data that the proposed method can establish the similarity between two periods of daily life correctly.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        The collection and utilization of lifelogs comprising long-term
data about human life have advanced in recent years due to the
widespread use of inexpensive and small sensors. For example,
MyLifeBits is known as a research project focusing on lifelogs
[
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ]. In MyLifeBits, scans of photos, books, and letters,
webpage browsing and e-commerce history, GPS position
information, sent e-mails, and files of photos and videos are collected as
lifelog. Users can look back on their lives by browsing their past
data. Data continuously measured over a long period of time by
wearable sensors can also constitute a lifelog [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. For example,
a small wristband or clip device with an acceleration sensor is
often used to collect motion data, from which information such
as the number of steps per day, calories burned, sleeping time,
amount of exercise performed per a time unit, and heart rate can
be derived and visualized.
      </p>
      <p>
        Many studies have been reported on recognizing and
visualizing human activities from lifelogs using data mining techniques
[
        <xref ref-type="bibr" rid="ref16 ref27 ref6 ref8">6, 8, 16, 27</xref>
        ]. Lifelogs have also been utilized in healthcare[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
proposing applications for monitoring and improving diet[
        <xref ref-type="bibr" rid="ref10 ref4">4,
10</xref>
        ], smoking cessation[
        <xref ref-type="bibr" rid="ref28">28</xref>
        ], analyzing the efects of daily
activities on disease progression [
        <xref ref-type="bibr" rid="ref23 ref29 ref7">7, 23, 29</xref>
        ]. One main goal in
appplying lifelogs to healthcare is expected to help us understand
long-term life[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Lifelogs can help users remember past events.
However, only browsing past data is insuficient for
understanding long-term daily life. Knowing how a user spent past time,
rather than what the user did in the past, can be useful for
improving the user’s daily life. The Social Rhythm Metric (SRM)
method for evaluating the regularity of daily life over a long
period was proposed by [
        <xref ref-type="bibr" rid="ref24 ref25">24, 25</xref>
        ]. The authors used questionnaires
to collect times for 17 types of behaviors, including wakeup,
breakfast, and commute times, and measured the life
regularity based on the dispersion of these times. The limitation of this
study is that users are required to record times manually, which
is dificult to continue over a long period of time. Research to
build human behavior model for user identification from lifelog
of many sensors on smartphone has been reported in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
However, this model focuses on user identification, and it is not
targeted for understanding one user’s long-term daily life. An
approach for monitoring and detecting life changes using lifelogs
comprising movement and location collected by many room
sensors has been reported in [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. For applications of healthcare, it
is necessary to consider not only daily behaviors of in the house
but also that of outside the house.
      </p>
      <p>
        To compare daily life over a few weeks, it should be
characterized with the behaviors performed during this period. When
many similar or diferent behaviors are exhibited in two distinct
periods, these periods can be treated as having similar or
diferent daily lives, respectively. Motion data acquired by a wristband
device equipped with an acceleration sensor is used in this study
to characterize human behavior as a series of events. Therefore,
episodes corresponding to diferent behaviors can be established
by applying an episode mining algorithm to motion data. For
example, an episode mining algorithm proposed by [
        <xref ref-type="bibr" rid="ref19 ref33 ref5">5, 19, 33</xref>
        ]
ifnds frequent episodes, while frequent episodes are regarded
as those corresponding to frequently performed behaviors.
Another algorithm for episode mining that consider the duration
of events was proposed by [
        <xref ref-type="bibr" rid="ref30 ref32">30, 32</xref>
        ]. The limitation of these
algorithms is that they cannot find long-duration behaviors,
frequency of which is low, with duration as a threshold. High utility
episode mining algorithms [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ] have been proposed that
consider weight of items in a dataset. By treating duration of an
event as a weight, these algorithms can find an episode with
duration threshold; however, these algorithms cannot find episodes
corresponding to long-duration behaviors. We cannot duplicate
the same behavior at the same time. These algorithms do not
consider overlapping of occurrence intervals.
      </p>
      <p>In this study, we propose an approach for comparing two
periods of long-term daily life. We introduce a procedure for
ifnding long-duration episodes by evaluating the sum of
durations rather than the frequency of occurrence. We then compare
two periods of daily life using both frequent and long-duration
episodes extracted from the entire lifelog of motion data. To
achieve this, we calculate the similarity between each pair of
episodes that are locally long-duration or frequent in each
period. The efectiveness of the proposed method is evaluated with
experiments using real-life data.
2</p>
    </sec>
    <sec id="sec-2">
      <title>COMPARISON OF DAILY LIVES</title>
      <p>This study evaluates the similarity between two periods of daily
life of one user. We assume that human life consists of various
behaviors, which we define as a series of activities performed
with purpose. For example, the daily life of a student during an
academic term consists of behaviors such as going to school,
taking classes, and studying. During the summer vacation period,
the student’s daily life consists of behaviors such as studying,
working part-time, and hanging out with friends.</p>
      <p>In this study, we compare two periods of daily life according
to the diference of the behaviors the user performs during each
period. Hence, the problem of daily life comparison can be
formulated as comparing the similarity between a set of behaviors
performed in periods 1 and 2. To characterize behaviors, motion
data are used in this study.
3</p>
    </sec>
    <sec id="sec-3">
      <title>LIFELOG DATA USED IN THIS PAPER</title>
      <p>We used the life recorder UW-301BT from Hitachi Systems as a
sensor device (Figure 1) to collect motion data. Three-axis
acceleration of the arm movement was measured as the device
was worn on the wrist during the day and while sleeping. The
output of this device is motion status data indicating a
segment, in which the same type of motion status continues. This
data is continuously output without interruption or overlapping.
The degree of activity intensity is expressed in the following
nine types of motion statuses: “rest”, “quiet (sitting quietly)”,
“deskwork (sitting task)”, “light work (standing work)”, “work”,
“exercise”, “walking”, “jogging”, and “not-wearing”. These
statuses describe the intensity of activity level in order from “rest”
to “exercise”. “Walking” indicates that a periodic activity was
performed. “Jogging” indicates that a periodic and hard activity
was performed.</p>
      <p>A motion status data D = ⟨d1; : : : ; dn ⟩ is an ordered list of
motion status events. A motion status event di = (mj ; Tsi ; Tei )
with 1 i n is a set consisting of a motion status, starting, and
ending date-time. Here, mj 2 M (M is a set of motion statuses)
is a motion status. Tsi and Tei are starting and ending date-time,
where Tsi &lt; Tei with 1 i n and Tei Tsi+1 with 1 i
n 1. The duration of motion status di is Tei Tsi . Table 1 shows
an example of motion status events. The motion status event
in the first row means that “walking” continued for 3 minutes
from “2018-10-15 08:02” to “2018-10-15 08:05”. The motion status
event in the second row means that “deskwork” began soon after
“walking”. The motion status data consisting of motion status
events in Table 1 are arranged in order of starting date-time:
⟨(walking, 2018-10-15 08:02, 2018-10-15 08:05), (deskwork,
201810-15 08:05, 2018-10-15 08:44), : : : , (light work, 2018-10-15 16:40,
2018-10-15 16:55)⟩.</p>
      <p>
        Conventional sensor devices equipped with an accelerometer
do not output motion status data. The majority of such devices
output the amount of activity per unit time as a time-series data.
A method for detecting segments, in which characteristic
activities are performed, from the amount of activity per unit time
has been proposed [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. Methods for generating symbolic
representation of time-series data such as Symbolic Aggregate
Approximation (SAX) [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] can also be used to obtain motion status
data from the amount of activity per unit time.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>BEHAVIOR AND MOTIONAL STATUS</title>
    </sec>
    <sec id="sec-5">
      <title>PATTERN</title>
      <p>A behavior constituting a user’s daily life is a series of activities
performed with purpose. In other words, a behavior appears in
the motion status data as an ordered pattern of some motion
statuses. For example, consider the behavior of going shopping by
walking from home to a store. This behavior consists of
walking from home to the store, shopping in the store, and walking
from the store to home. In the motion status data, this behavior
appears as “walking”, “light work”, and “walking”. In this way,
behaviors can be expressed in the order of completion of
corresponding motion statuses.</p>
      <p>
        The motion status data represents a single event sequence,
while the motion status pattern represents the order of motion
statuses. Therefore, an episode extracted by applying episode
mining to the motion status data corresponds to a pattern of
the motion status indicating a behavior. Many episode mining
methods have been proposed [
        <xref ref-type="bibr" rid="ref1 ref17 ref19 ref20 ref22 ref30 ref32 ref33 ref5">1, 5, 17, 19, 20, 22, 30, 32, 33</xref>
        ]. An
episode showing a behavior of a user is suitable for representing
the followed-by-closely pattern of ordered motion statuses. Note
that a user cannot perform several motion statuses at the same
time. In this paper, we adopt the serial episode with minimal and
non-overlapping occurrences [
        <xref ref-type="bibr" rid="ref17 ref33">17, 33</xref>
        ].
      </p>
      <p>
        We consider that frequent and long-duration episodes
correspond to behaviors performed mundanely. Exceptional
behaviors that are not normally performed can be identified by
browsing the lifelog. However, these exceptional behaviors are not
useful for comparing long periods of daily life, and hence are
excluded in this study. In this study, we use a formalism of MANEPI
[
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] to identify frequent episodes. In addition, we define a new
type of episodes, namely, long-duration episodes.
      </p>
      <p>Episode: Let α = ⟨m1; : : : ; mk ⟩ be an episode, where mj 2 M.
The length of α is the number of motion statuses. Episode refers
to the ordered pattern, in which each motion status appears in
the order from m1 to mk . An episode α = ⟨m1; : : : ; mk ⟩ is a
sub-episode of another episode β = ⟨m1′; : : : ; ms′ ⟩ if there
exists 1 j1 &lt; &lt; jk s such that mi = mj′i for all i with
1 i k. For example, episode ⟨walkinд; deskwork; liдhtwork⟩
means that motion statuses appear in the order of “walking”,
“deskwork”, and “light work”. Episode ⟨walkinд; deskwork⟩ is a
sub-episode of episode ⟨walkinд; deskwork; liдhtwork⟩.
Occurrence: In the motion status data D, if each motion status
mj of the episode α is contained in D preserving the order, it
denotes that α appears in D. The occurrence of α , denoted by
occ (α ), is a segment, where α appears in D. occ (α ) is denoted as
[Tsm1 ; Temk ] using the starting date and time of a motion status
event including m1 and the ending date and time of a motion
status event including mk . The duration of occ (α ) = [Tsm1 ; Temk ]
is Temk Tsm1 . In Table 1, one of the occurrences of episode α =
⟨walkinд; deskwork; liдhtwork⟩ is occ (α ) = [2018-10-15 08:44,
2018-10-15 10:34].</p>
      <p>
        To exclude redundant occurrences where the duration
required for one behavior becomes too long, we use a constraint
related to the span of an occurrence [
        <xref ref-type="bibr" rid="ref1 ref30">1, 30</xref>
        ]. A span is defined
by the duration or length of an occurrence. In this paper, we
define a span by the duration of an occurrence since episodes
correspond to behaviors. A span constraint, maxspan, is the
upper bound of the duration of each occurrence[
        <xref ref-type="bibr" rid="ref31">31</xref>
        ]. An
occurrence occ (α ) = [Ts ; Te ] of the episode α has to satisfy maxspan
such that Te Ts maxspan. For example, for episode α =
⟨walkinд; deskwork; liдhtwork⟩, occ (α ) = [2018-10-15 08:44,
2018-10-15 10:34] satisfies the constraint maxspan = 300
minutes; however, occ (α ) = [2018-10-15 08:44, 2018-10-15 14:47]
does not satisfied this constraint.
      </p>
      <p>
        Moreover, we use a gap constraint, maxдap, that is the
maximum length of the time interval between two consecutive
motion status events in an occurrence [
        <xref ref-type="bibr" rid="ref1 ref22">1, 22</xref>
        ]. Let a segment of D be
an occurrence of episode α = ⟨m1; : : : ; mk ⟩ if the time interval
between the ending date-time of mi and the starting date-time
of mi+1 is maxдap or less for all i with 1 i &lt; k. For
example, occ (⟨walkinд; deskwork; liдhtwork⟩) = [2018-10-15 09:52,
2018-10-15 14:47] does not satisfy maxдap = 120 minutes
because the time interval of motion status events corresponding to
“walking” and “deskwork” is 122 minutes (= “2018-10-15 12:01”
“2018-10-15 09:59”).
      </p>
      <p>Among the occurrences of episode α , a set of all
occurrences satisfying maxspan and maxдap is the occurrence list
of α , denoted in this paper as OCC (α ). In Table 1, the
occurrence list of episode α = ⟨walkinд; deskwork; liдhtwork⟩
satisfying maxspan = 300 minutes and maxдap = 120 minutes
is OCC (α ) = f[2018-10-15 08:02, 2018-10-15 10:34],
[2018-1015 08:44, 2018-10-15 10:34], [2018-10-15 12:53, 2018-10-15 14.47],
[2018-10-15 12:53, 2018-10-15 16:55], [2018-10-15 14:25,
2018-1015 16:55]g.</p>
      <sec id="sec-5-1">
        <title>Minimal and non-overlapping occurrence: In this study,</title>
        <p>
          we consider episodes with minimal and non-overlapping
occurrences [
          <xref ref-type="bibr" rid="ref17 ref33">17, 33</xref>
          ]. An occurrence of an episode α , occ (α ), is
minimal if occ (α ) does not contain any other occurrences in
OCC (α ). For occurrences [ts ; te ]; [ts′; te′ ] 2 OCC (α ), [ts′; te′ ]
contains [ts ; te ] if ts ts′ ^ te te′ . A set of minimal
occurrences of episode α is denoted as MO (α ). Here, MO (α )
OCC (α ). For example, in OCC (⟨walkinд; deskwork; liдhtwork⟩),
[2018-10-15 08:02, 2018-10-15 10:34] is not minimal
occurrence since it contains [2018-10-15 08:44, 2018-10-15 10:34].
Set of minimal occurrences of ⟨walkinд; deskwork; liдhtwork⟩
is MO (⟨walkinд; deskwork; liдhtwork⟩) = f [2018-10-15 08:44,
2018-10-15 10:34], [2018-10-15 12:53, 2018-10-15 14.47],
[201810-15 14:25, 2018-10-15 16:55]g.
        </p>
        <p>For occurrences [ts ; te ]; [ts′; te′ ] 2 OCC (α ), the
relationship is non-overlapping if te &lt; ts′ _ te′ &lt; ts . A set
of minimal and non-overlapping occurrences of episode α
is denoted as MAMO (α ). Here, MAMO (α ) MO (α ).
When several occurrences overlap, we preferentially select
the occurrence of the earliest possible starting date-time as
MAMO. For example, in MO (⟨walkinд; deskwork; liдhtwork⟩),
[2018-10-15 12:53, 2018-10-15 14:47] and [2018-10-15 14:25,
2018-10-15 16:55] are overlapped. Set of minimal and
nonoverlapping occurrences of ⟨walkinд; deskwork; liдhtwork⟩ is
MAMO (⟨walkinд; deskwork; liдhtwork⟩) = f [2018-10-15 08:44,
2018-10-15 10:34], [2018-10-15 12:53, 2018-10-15 14:47]g.</p>
      </sec>
      <sec id="sec-5-2">
        <title>Frequency and frequent episode:</title>
        <p>The frequency of episode α , f req (α ), is the number of
occurrences in MAMO (α );</p>
        <p>f req (α ) = jMAMO (α ) j:
For example, f req (⟨walkinд; deskwork; liдhtwork⟩) = 2. An
episode satisfying a user-specified minimum value of the
frequency, min f req, is called a frequent episode.</p>
        <p>tdur (α ) =
Total duration and long-duration episode: The sum of the
durations of all occurrences contained in MAMO (α ) is named
as the total duration of α , denoted by tdur (α );
∑
(te</p>
        <p>ts ):
[ts;te ]2MAMO (α )
For example, tdur (⟨walkinд; deskwork; liдhtwork⟩) = 224
minutes. An episode satisfying a user-specified minimum value of
the total duration, mintdur , is called a long-duration episode.
5</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>EXTRACTING FREQUENT AND</title>
    </sec>
    <sec id="sec-7">
      <title>LONG-DURATION EPISODES</title>
      <p>
        The problem of mining frequent episodes can be formulated as
extracting all episodes satisfying min f req. In this paper,
frequent episodes are extracted using MANEPI [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] that extracts
frequent episodes with minimal and non-overlapping
occurrences. MANEPI extends episodes by adding one motion
status event to frequent episodes. By concatenating an
occurrence of motion status m to all occurrences of frequent episode
α , MANEPI generates the occurrence list of episode ⟨α ; m⟩,
OCC (α ; m). Here, an occurrence of α , occ (α ) = [tαs ; tαe ], is
concatenated to an occurrence of m, occ (m) = [tms ; tme ], which
satisfies the following three conditions:
tαe tms
tme tαs maxspan
tms tαe maxдap.
      </p>
      <p>
        A set of minimal occurrences MO (α; m) is generated by deleting
non-minimal occurrences from OCC (α; m). By selecting
nonoverlapping occurrences from MO (α; m), we can attain a set
of minimal and non-overlapping occurrences MAMO (α; m). If
MAMO (α; m) satisfies min f req, ⟨α; m⟩ is outputted as a frequent
episode. This process of extending episodes is repeated.
Redundant candidate episodes can be pruned because the downward
closure for frequent episode mining [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ] holds.
      </p>
      <p>The problem of mining long-duration episodes can be
formulated as extracting all episodes satisfying mintdur .
Longduration episodes can be extracted in the same way as MANEPI.
However, to extract all long-duration episodes, it is necessary
to examine episodes which do not satisfy min f req. A
longduration episode is an episode satisfying mintdur and
having an unbounded frequency. An episode that does not
satisfy min f req can also be long-duration. Consider Table 1 with
min f req = 3 and mintdur = 200 minutes. For episode α =
⟨walkinд; deskwork; liдhtwork⟩, f req(α ) = 2, and tdur (α ) =
224 minutes. α is not extracted by frequent episode mining,
since α does not satisfy min f req. However, α is a long-duration
episode since α satisfies mintdur . In long-duration episode
mining, we have to consider the total duration rather than
frequency.</p>
      <p>However, the Apriori property does not hold for the total
duration. For episodes α and β (α is a sub-episode of β), the
total duration of β may be longer than that of α . For
example, in Table 1, tdur (⟨walkinд; liдhtwork⟩) = 81 minutes and
tdur (⟨walkinд; deskwork; liдhtwork⟩) = 224 minutes. Even if α
does not satisfy mintdur , β must be examined; therefore,
pruning cannot be performed using the total duration to extract
longduration episodes. However, it is not necessary to examine all
candidate episodes. For an episode that becomes a long-duration
episode, the frequency is minimum when the duration of all
occurrences is maxspan. In other words, the lower bound of the
frequency of a long-duration episode is ⌈ mmainxtsdpuarn ⌉. For
example, when mintdur = 1000 minutes and maxspan = 300
minutes, an episode X such that f req(X ) &lt; 4 (= ⌈ 1300000 ⌉) cannot
be a long-duration episode. Therefore, it is suficient to extract
episodes with this lower bound of frequency in MANEPI.
Hereafter, the minimum frequency in a long-duration episode mining
is denoted as low f req:
mintdur
low f req = ⌈maxspan ⌉:
When an episode satisfying low f req is extracted, it is output as
a long-duration episode if it satisfies mintdur .</p>
      <p>The procedure of our method for mining long-duration
episodes is as follows.</p>
      <sec id="sec-7-1">
        <title>Procedure ExtractLongDurationEpisodes(D, min f req,</title>
        <p>mintdur , maxspan, maxдap)
Input: a motion status data D,
a frequency threshold of an episode min f req,
a total duration threshold of an episode mintdur ,
a duration constraint of an occurrence maxspan,
a gap constraint of an occurrence maxдap
Output: all long-duration episodes
1: F I := All motion statuses that satisfy low f req
2: Generate minimal occurrence list MO for each motion
status in F I
3: foreach motion status h 2 F I do
4: foreach motion status m 2 F I do
5: ExtendEpisode(h, m)
6: end
7: end</p>
      </sec>
      <sec id="sec-7-2">
        <title>ExtendEpisode(α , m)</title>
        <p>Input: episode α , motion status m
Output: long-duration episode β
8: Generate episode β by appending m to α
9: MO (β ) = ∅
10: foreach occ [oas ; oae ] 2 MO (α ) do
11: Extract the occurrence [oms ; ome ] 2 MO (m)
such that oms &lt; oms′ ^ oms oae ^ oms′ &gt; oae
for any [oms′ ; ome′ ] 2 MO (m)
12: if (ome oas maxspan) ^ (oms oae maxдap) then
13: Append [oas ; ome ] to MO (β )
14: endif
15: end
16: Delete occ [os ; oe ] from MO (β ) such that oe == oe′ ^ os &gt; os′
for any [os ; oe ]; [os′ ; oe′ ] 2 MO (β )
17: MAMO (β ) = ∅
18: foreach occ [os ; oe ] 2 MO (β ) do
19: if (os oe′ for any [os′ ; oe′ ] 2 MAMO (β )) then
20: Append [os ; oe ] to MAMO (β )
21: endif
22: end
23: if jMAMO (β )j low f req then
24: tdur (β ) = ∑[os;oe ]2MAMO (β ) (oe os )
25: if tdur (β ) mintdur then
26: Output β as long-duration episode
27: endif
28: foreach motion status m′ 2 F I do
29: ExtendEpisode(β, m′)
30: end
31: endif</p>
        <p>The episode that satisfies low f req can become a
longduration episode; hence, we have to examine episodes that
satisfy low f req. First, all motion statuses that satisfy low f req are
extracted (line 1), and the minimal occurrence lists of these
motion statuses are generated at the same time (line 2). Here, for
a motion status m, OCC (m) and MO (m) are equivalent. Then,
an episode extended with one motion status is examined in the
ascending order of short episodes (line 3-7). We can extract all
long-duration episodes using this procedure.</p>
        <p>In ExtendEpisode procedure for extending episode α by
motion status m, episode ⟨β⟩ = ⟨α; m⟩ is generated (line 8),
occurrence of m is added to occurrences of α to generate the
occurrence list of β (line 9-15), non-minimal occurrences are deleted
(line 16), and the minimal occurrence list of β, MO (β ), is
generated. Then, non-overlapping patterns are sequentially selected
from the head of MO (β ) (line 17-22), and MAMO (β ) is
generated. When MAMO (β ) satisfies the lower bound of frequency
for long-duration episodes (line 23), the total duration of β is
calculated (line 24). When the total duration of β satisfies the
minimum threshold of the total duration (line 25), β is output
as a long-duration episode (line 26). Since an episode that
satisfies low f req can become a long-duration episode,
ExtendEpisode procedure is repeated (line 28-30).
6</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>PROPOSED METHOD</title>
      <p>We compare two periods Pd1 and Pd2 of daily life by measuring
their similarity based on motion status data D, minimum
frequency min f req, minimum total duration mintdur , maximum
occurrence duration maxspan, and maximum gap maxдap.</p>
      <p>We focus on behaviors performed mundanely in the user’s
daily life. First, long-duration and frequent episodes are
extracted from the entire motion status data. In the two periods,
episodes corresponding to actual behaviors are selected. Then,
the similarity the two periods is evaluated based on the
diference of the episodes included in each period. The procedure of
the proposed method is as follows.</p>
      <p>(1) Extracting global long-duration episodes and global
frequent episodes:
Extract long-duration and frequent episodes from the
entire motion status data D. We call these episodes as global
long-duration and global frequent episodes, respectively.
Non-maximal episodes are deleted from these global
episodes. Here, a maximal episode is an episode that is
not a sub-episode of any other episode.
(2) Taking out local long-duration episodes and local
frequent episodes:
Episodes that are locally long-duration episodes and
locally frequent episodes in each period are selected from
their global counterparts. Locally long-duration and
frequent episodes in a period Pdi are long-duration and
frequent episodes that satisfy long-duration and frequent
conditions mintdur and min f req in this period,
respectively.</p>
      <p>For each global long-duration or frequent episode д, all
occurrences satisfying the following two conditions are
selected from MAMO (д):
starting date-time of occ (д) date-time of the first day
of period Pd1,
ending date-time of occ (д) date-time of the last day
of period Pd1.</p>
      <p>When the total duration or frequency of the selected
occurrences satisfies the relative mintdur or min f req ratio
of period Pdi to the entire motion data, д is appended to
LLPdi or LFPdi , respectively. Here, LLPdi and LFPdi are
the sets of local long-duration and frequent episodes
satisfying the relative condition in the period Pdi .
(3) Evaluating similarity of daily lives:</p>
      <p>The similarity between two periods is calculated from the
set of their corresponding local long-duration and local
frequent episodes using the Jaccard index.</p>
      <p>Here, the Jaccard index is calculated as
jLLPd1 \LLPd2 j+jLFPd1 \LFPd2 j , where LLPdi is a set
jLLPd1 [LLPd2 j+jLFPd1 [LFPd2 j
of local long-duration episodes of period Pdi and LFPdi
is a set of local frequent episodes of period Pdi ; i = 1; 2.</p>
      <p>In (1), long-duration and frequent episodes are extracted from
the entire motion status data. These episodes are not extracted
from the motion status data of each period to be compared.
Although the considered comparison period is several weeks,
mintdur and min f req become too small in each period. Episodes
that are long-duration or frequent only in the considered period
are incidentally extracted. Therefore, episodes that do not
correspond to daily behaviors may be extracted. Hence, we extract
global long-duration episodes and global frequent episodes
corresponding to daily behaviors from the entire motion status data.</p>
      <p>Our method uses only maximal episodes to compare two
periods of daily life since the similarity between these periods
becomes high when using non-maximal episodes. Suppose there
are episodes α and β corresponding to certain behaviors, and
episode γ is a sub-episode of both α and β . Furthermore, episode
α appears only in one of the two considered periods, while
episode β appears only in the other period. Episode γ appears
in both two periods. Let episodes α and β represent diferent
behaviors in the two periods. Then, assuming that the two periods
are similar would be incorrect since γ is a sub-episode of both
α and β . However, episode γ becomes a factor to raise the
similarity of two periods of daily life erroneously since γ appears in
both periods. Hence, episode γ should not be considered as it is
not an episode corresponding to a certain behavior. Therefore,
only maximal episodes are considered in this study.</p>
      <p>Our method compares two periods of daily life using local
long-duration and frequent episodes in each period. In (2), all
long-duration and frequent episodes are selected from global
frequent and long-duration episodes, respectively. For example,
consider the case where the entire motion status data period is
600 days, min f req is 1000, mintdur is 72000 minutes, and the
number of days in the period Pd is 30 days. When the total
duration of the selected occurrences satisfies 7200 63000 , the episode
is determined as local long-duration episode in period Pd and
appended to LLPd . When the frequency of the selected
occurrences satisfies 1000 63000 , the episode is determined as local
frequent episode in period Pd and appended to LFPd .</p>
      <p>In (3), our method outputs the Jaccard index as the similarity
measure between two periods of daily life. When two periods
are similar, the number of common long-duration and frequent
episodes increases and the similarity becomes a value close to 1.
On the other hand, when the user’s daily life is diferent in the
two periods, the similarity is close to 0.
7</p>
    </sec>
    <sec id="sec-9">
      <title>EXPERIMENTS</title>
      <p>We examine whether the proposed method can compare two
periods of daily life using real-life data. In particular, we use motion
status data collected from six participants. The period covered
by each data set varies from 0.8 to 6.5 years (average is about 2.2
years). In this experiment, each motion status was divided into
two motion statuses at the median of the duration. Five motion
statuses, namely, “rest”, “quiet”, “deskwork”, “light work”, and
“walking”, were divided. Other motion statuses were not divided
due to their low frequency. Therefore, the total number of
motion statuses was 14.</p>
      <p>We prepared 18 pairs of the periods in which similar daily
lives were confirmed and 27 pairs of the periods in which
diferent daily lives were confirmed. For each pair of the periods, their
similarity was calculated using the proposed method. Here, we
set the involved parameters as follows: min f req is 4 per week,
mintdur is 480 minutes per week, maxspan is 240 minutes, and
maxдap is 45 minutes.</p>
      <p>First, we evaluated the efect of using maximal episodes.
Figures 2 and 3 show the similarity between the pair of periods
evaluated using the proposed method with only maximal and
all episodes, respectively.</p>
      <p>It can be noticed from Figures 2 and 3 that the proposed
method can compare two periods of daily life correctly. The
similarity of the two periods, which the two respective subjects spent
in the same way, is high, whereas that of diferent daily lives is
low. When only maximal episodes are considered, the similarity
of similar daily lives is higher than that of diferent daily lives.
The error ratio, which we define as the ratio of cases in which
the similarity of similar daily lives is smaller than that of
different daily lives for each participant, was 0%. This means that
the proposed method using only maximal episodes can compare
two periods of daily life correctly. On the other hand, the
similarity becomes high when all episodes are used even for
different daily lives. The error ratio when using all episodes was
43%. This means that we cannot correctly compare daily lives in
many cases when all episodes are used. Note that non-maximal
episodes are included when considering all episodes. A
nonmaximal episode is a sub-episode of multiple maximal episodes.
This means that a non-maximal episodes is a part of multiple
behaviors. Therefore, even if a maximal episode is long-duration
or frequent in one period, its sub-pattern often becomes
longduration or frequent in two diferent periods. This trend
becomes higher as the length of an episode shortens.</p>
      <p>Next, we evaluated the efect of using both long-duration and
frequent episodes. Figures 4 and 5 show the similarity between
two periods of daily life when using only long-duration or
frequent episodes.</p>
      <p>Figures 2, 4, and 5 show that the range of the similarity of
daily lives increases when using only either long-duration or
frequent episodes. In particular, there are cases when the diference
between the similarity of similar daily lives and that of diferent
daily lives is bigger providing that only long-duration episodes
are used. However, the lowest similarity value of similar daily
lives decreases, and the maximum similarity value of diferent
daily lives increases, which results in wrong comparison of daily
lives. The error ratios when using only either long-duration or
frequent episodes were 0:9% and 8%, respectively. This means
that daily lives cannot be compared correctly when using only
one of the episode types. The most accurate results can be
attained when using both long-duration and frequent episodes,
even if accuracy for one of them is low.
8</p>
    </sec>
    <sec id="sec-10">
      <title>CONCLUSIONS</title>
      <p>In this study, we proposed a method for comparing two periods
of daily life based on episode mining of a lifelog of motion data.
Conventional episode mining algorithms can extract frequent
episodes, which correspond to frequently occurring behaviors.
To characterize a human daily life, behaviors lasting for a long
period of time are also important. Hence, we proposed an
algorithm for mining long-duration episodes, which are evaluated
based on their total duration rather than frequency. In this way,
long-duration episodes with low frequency can be extracted.</p>
      <p>The proposed method for comparing two periods of daily
life uses both long-duration episodes and frequent episodes.
For global long-duration and global frequent episodes extracted
from the entire motion data, local long-duration episodes and
local frequent episodes are selected for each period. Then, the
similarity between two periods of daily life is calculated based
on the sets of local long-duration and local frequent episodes for
each period. By using only maximal episodes, our method avoids
using redundant episodes. Experimental results on real-life data
showed that the proposed method can correctly compare
periods of daily life.</p>
      <p>In this paper, the time slot during which an episode persists
is not considered. In the future, we plan to extend our method
to distinguish episodes using time slots, during which a pattern
persists.</p>
    </sec>
    <sec id="sec-11">
      <title>ACKNOWLEDGMENTS</title>
      <p>This work was supported by JST CREST Grant Number
JPMJCR1503, Japan.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Achar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ibrahim</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Sastry</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Pattern-growth based frequent serial episode discovery</article-title>
          .
          <source>Data &amp; Knowledge Engineering</source>
          <volume>87</volume>
          (
          <year>2013</year>
          ),
          <fpage>91</fpage>
          -
          <lpage>108</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Imielinski</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Swami</surname>
          </string-name>
          .
          <year>1993</year>
          .
          <article-title>Mining Association Rules Between Sets of Items in Large Databases</article-title>
          .
          <source>In SIGMOD International Conference on Management of Data. ACM</source>
          ,
          <volume>207</volume>
          -
          <fpage>216</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Agrawal</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Srikant</surname>
          </string-name>
          .
          <year>1994</year>
          .
          <article-title>Fast Algorithms for Mining Association Rules in Large Databases</article-title>
          .
          <source>In International Conference on Very Large Data Bases. Morgan Kaufmam</source>
          ,
          <fpage>487</fpage>
          -
          <lpage>499</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>O.</given-names>
            <surname>Amft</surname>
          </string-name>
          and
          <string-name>
            <given-names>G.</given-names>
            <surname>Troster</surname>
          </string-name>
          .
          <year>2009</year>
          .
          <article-title>On-body sensing solutions for automatic dietary monitoring</article-title>
          .
          <source>Pervasive Computing</source>
          <volume>8</volume>
          ,
          <issue>2</issue>
          (
          <year>2009</year>
          ),
          <fpage>62</fpage>
          -
          <lpage>70</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>X.</given-names>
            <surname>Ao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Luo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zhuang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Q.</given-names>
            <surname>He</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Online Frequent Episode Mining</article-title>
          .
          <source>In International Conference on Data Engineering. IEEE</source>
          ,
          <fpage>891</fpage>
          -
          <lpage>902</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ayu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mantoro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Fariadi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Basamh</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Recognizing user activity based on accelerometer data from a mobile phone</article-title>
          .
          <source>In International Symposium on Computers &amp; Informatics. IEEE</source>
          ,
          <fpage>617</fpage>
          -
          <lpage>621</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Bravata</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Spangler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sundaram</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gienger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Stave</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Olkin</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Sirard</surname>
          </string-name>
          .
          <volume>19</volume>
          .
          <article-title>Using pedometers to increase physical activity and improve health: a systematic review</article-title>
          .
          <source>American Medical Association</source>
          <year>2007</year>
          ,
          <volume>298</volume>
          (
          <issue>19</issue>
          ),
          <fpage>2296</fpage>
          -
          <lpage>2304</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>N.</given-names>
            <surname>Caprani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Conaire</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kalnikaite</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Gurrin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Doherty</surname>
          </string-name>
          , and
          <string-name>
            <given-names>N. O</given-names>
            <surname>Conner</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Passively recognizing human activities through lifelogging</article-title>
          .
          <source>Computers in Human Behavior</source>
          <volume>27</volume>
          ,
          <issue>5</issue>
          (
          <year>2011</year>
          ),
          <fpage>1948</fpage>
          -
          <lpage>1958</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dobbins</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Rawassizadeh</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Clustering of physical activities for quantified self and mHealth applications</article-title>
          .
          <source>In International Conference on Ubiquitous Computing and Communications. Elsevier</source>
          ,
          <volume>1423</volume>
          -
          <fpage>1428</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>C.</given-names>
            <surname>Dobbins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rawassizadeh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Momeni</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Detecting physical activity within lifelogs towards preventing obesity and aiding ambient assisted living</article-title>
          . Neurocomputing 230,
          <string-name>
            <surname>C</surname>
          </string-name>
          (
          <year>2018</year>
          ),
          <fpage>110</fpage>
          -
          <lpage>132</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gemmell</surname>
          </string-name>
          , G. Bell, and
          <string-name>
            <given-names>R.</given-names>
            <surname>Luder</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>MyLifeBits: a personal database for everything</article-title>
          .
          <source>Communications</source>
          <volume>49</volume>
          ,
          <issue>1</issue>
          (
          <year>2006</year>
          ),
          <fpage>88</fpage>
          -
          <lpage>95</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gemmell</surname>
          </string-name>
          , G. Bell,
          <string-name>
            <given-names>R.</given-names>
            <surname>Luder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Drucker</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Wong</surname>
          </string-name>
          .
          <year>2002</year>
          .
          <article-title>MyLifeBits: fulfilling the memex vision</article-title>
          .
          <source>In International Conference on Multimedia. ACM</source>
          ,
          <volume>235</volume>
          -
          <fpage>238</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>C.</given-names>
            <surname>Gurrin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Smeaton</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Doherty</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Lifelogging: personal big data</article-title>
          .
          <source>Foundations and Trends in Information Retrieval 8</source>
          ,
          <issue>1</issue>
          (
          <year>2014</year>
          ),
          <fpage>1</fpage>
          -
          <lpage>125</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>T.</given-names>
            <surname>Jacquemard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Novitzky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. O</given-names>
            <surname>Brokchaun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Smeaton</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Gordijn</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Challenges and opportunities of lifelog technologies: a literature review and critical analysis</article-title>
          .
          <source>Science and Engineering Ethics</source>
          <volume>20</volume>
          ,
          <issue>2</issue>
          (
          <year>2014</year>
          ),
          <fpage>379</fpage>
          -
          <lpage>409</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>E.</given-names>
            <surname>Keogh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hart</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Pazzani</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>An online algorithm for segmenting time series</article-title>
          .
          <source>In International Conference on Data Mining. IEEE</source>
          ,
          <fpage>193</fpage>
          -
          <lpage>204</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>O.</given-names>
            <surname>Lara</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Labrador</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>A survey on human activity recognition using wearable sensors</article-title>
          .
          <source>Communications Surveys and Tutorials</source>
          <volume>15</volume>
          ,
          <issue>3</issue>
          (
          <year>2013</year>
          ),
          <fpage>1192</fpage>
          -
          <lpage>1209</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>S.</given-names>
            <surname>Laxman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sastry</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K.</given-names>
            <surname>Unnikrishnan</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>A Fast Algorithm for Finding Frequent Episodes in Event Streams</article-title>
          .
          <source>In SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM</source>
          ,
          <volume>410</volume>
          -
          <fpage>419</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>R.</given-names>
            <surname>Mafrur</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Nugraha</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Choi</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Modeling and discovering human behavior from smartphone sensing life-log data for identification purpose</article-title>
          .
          <source>Human-centric Computing and Information Sciences</source>
          <volume>5</volume>
          ,
          <issue>31</issue>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>H.</given-names>
            <surname>Mannila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Toivonen</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Verkamo</surname>
          </string-name>
          .
          <year>1995</year>
          .
          <article-title>Discovering frequent episodes in sequences</article-title>
          .
          <source>In International Conference on Knowledge Discovery and Data Mining. AAAI</source>
          ,
          <fpage>201</fpage>
          -
          <lpage>215</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>H.</given-names>
            <surname>Mannila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Toivonen</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Verkamo</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Discovery of frequent episodes in event sequences</article-title>
          .
          <source>Data Mining and Knowledge Discovery</source>
          <volume>1</volume>
          ,
          <issue>3</issue>
          (
          <year>1997</year>
          ),
          <fpage>259</fpage>
          -
          <lpage>289</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Matsubara</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sakurai</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Faloutsos</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>AutoPlait: automatic mining of co-evolving time sequences</article-title>
          .
          <source>In SIGMOD International Conference on Management of Data. ACM</source>
          ,
          <volume>193</volume>
          -
          <fpage>204</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>N.</given-names>
            <surname>Méger</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Rigotti</surname>
          </string-name>
          .
          <year>2004</year>
          .
          <article-title>Constraint-based Mining of Episode Rules and Optimal Window Sizes</article-title>
          .
          <source>In European Conference on Principles and Practice of Knowledge Discovery in Databases</source>
          . Springer,
          <fpage>313</fpage>
          -
          <lpage>324</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>S.</given-names>
            <surname>Michie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Stralen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>West</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>The behavior change wheel: a new method for characterizing and designing behavior change interventions</article-title>
          .
          <source>Implementation Science</source>
          <volume>6</volume>
          ,
          <issue>1</issue>
          (
          <year>2011</year>
          ),
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>T.</given-names>
            <surname>Monk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Flaherty</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Hoskinson</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Kupfer</surname>
          </string-name>
          .
          <year>1990</year>
          .
          <article-title>The social rhythm metric: an instrument to quantify the daily rhythm of life</article-title>
          .
          <source>Nervous and Mental Disease</source>
          <volume>178</volume>
          ,
          <issue>2</issue>
          (
          <year>1990</year>
          ),
          <fpage>120</fpage>
          -
          <lpage>126</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>T.</given-names>
            <surname>Monk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kupfer</surname>
          </string-name>
          , E. Frank,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Ritenour</surname>
          </string-name>
          .
          <year>1991</year>
          .
          <article-title>The social rhythm metric (SRM): measuring daily social rhythms over 12 weeks</article-title>
          .
          <source>Psychiatry Research</source>
          <volume>36</volume>
          ,
          <issue>2</issue>
          (
          <year>1991</year>
          ),
          <fpage>195</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <surname>A. O'Brien</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>McDaid</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Loane</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Doyle</surname>
            , and
            <given-names>B. O'</given-names>
          </string-name>
          <string-name>
            <surname>Mullane</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Visualization of movement of older adults within their homes based on PIR sensor data</article-title>
          .
          <source>In International Conference on Pervasive Computing Technologies for Healthcare. IGST</source>
          ,
          <fpage>252</fpage>
          -
          <lpage>259</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>R.</given-names>
            <surname>Rawassizadeh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Momeni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Dobbins</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gharibshah</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Pazzani</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Scalable daily human behavioral pattern mining from multivariate temporal data</article-title>
          .
          <source>Transactions on Knowledge and Data Engineering</source>
          <volume>28</volume>
          ,
          <issue>11</issue>
          (
          <year>2016</year>
          ),
          <fpage>3098</fpage>
          -
          <lpage>3112</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>K.</given-names>
            <surname>Stanley</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Osgood</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>The potential of sensor-based monitoring as a tool for health care, health promotion, and research</article-title>
          .
          <source>The annuals of Family Medicine</source>
          <volume>9</volume>
          ,
          <issue>4</issue>
          (
          <year>2011</year>
          ),
          <fpage>296</fpage>
          -
          <lpage>208</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sugano</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Lifelog analysis of female students by compact digital pedometer</article-title>
          .
          <source>In International Conference on Ubiquitous Healthcare</source>
          .
          <fpage>41</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <surname>C. Wu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Yu</surname>
            , and
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Tseng</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Mining high utility episodes in complex event sequences</article-title>
          .
          <source>In SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM</source>
          ,
          <volume>536</volume>
          -
          <fpage>544</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <surname>C. Wu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Yu</surname>
            , and
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Tseng</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Mining high utility episodes in complex event sequences</article-title>
          .
          <source>In SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM</source>
          ,
          <volume>536</volume>
          -
          <fpage>544</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>M.</given-names>
            <surname>Zaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Carothers</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Szymanski</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>VOGUE: a variable order hidden markov model with duration based on frequent sequence mining</article-title>
          .
          <source>Transactions on Knowledge Discovery from Data 4</source>
          ,
          <issue>1</issue>
          (
          <year>2010</year>
          ),
          <volume>5</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          :
          <fpage>31</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Shi</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Eficient episode mining with minimal and non-overlapping occurrences</article-title>
          .
          <source>In International Conference on Data Mining. IEEE</source>
          ,
          <fpage>1211</fpage>
          -
          <lpage>1216</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>