<!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 />
    <article-meta>
      <title-group>
        <article-title>Activity recognition in multiple contexts for smart-house data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kacper Sokol</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Peter Flach</string-name>
          <email>Peter.Flachg@bristol.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Intelligent Systems Laboratory, University of Bristol</institution>
          ,
          <country country="UK">UK</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>K.Sokol</institution>
          ,
          <addr-line>Peter.Flach</addr-line>
        </aff>
      </contrib-group>
      <fpage>66</fpage>
      <lpage>72</lpage>
      <abstract>
        <p>Predicting human behaviour from smart-house data is an active and challenging area of research. Applications include improving quality of life and personal healthcare, e.g. smart thermostats and detecting falls. Smart-house technology is becoming increasingly popular and in many cases making a house smarter is as simple as installing off-the-shelf devices. In this paper we focus on predicting the future location of a person in a simulated smart-house environment. We consider three different occupant types who exhibit various working patterns. We develop a versatile model capable of adjusting to significant changes in a person's behaviour without the need of model retraining. To this end, we build a simple event calculus framework based on the Aleph Inductive Logic Programming system. Event calculus helps to handle time and persisting sensor states. Background knowledge encodes important information about the smart-house that is otherwise difficult to learn; it also facilitates transferability of the model to different house layouts. Moreover, rule models are white-box, hence human-readable. Finally, we show that a versatile model performs significantly better than other models that do not explicitly account for the context.</p>
      </abstract>
      <kwd-group>
        <kwd>location prediction</kwd>
        <kwd>smart-house</kwd>
        <kwd>versatile model</kwd>
        <kwd>event calculus</kwd>
        <kwd>Aleph</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        We consider the problem of controlling a heating system in a living room based on
behaviour and location of a resident. We want to predict a resident’s location
half-anhour in advance – the time needed to preheat the room. The majority of off-the-shelf
thermostats have a one-day resolution, with only two modes available: working day and
free day; where each setting allows two different temperature change points: present
and absent from the house. Companies such as Nest have built thermostats that “learn”
daily routines from repetitive, manual temperature adjustments. However, such systems
perform poorly on households with unstructured and irregular working patterns, which
are increasingly common these days. Hence there is a need for smart thermostats [
        <xref ref-type="bibr" rid="ref4 ref7">4, 7</xref>
        ].
      </p>
      <p>
        In most cases, smart-house data appears in the form of a time series consisting of
sensor activations. The events are usually unevenly spaced through time, as they are
caused by a change in sensor state. This property of time in our data causes
representational difficulties well-known in logic. To overcome this issue we use Simple Event
Calculus [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]: a logical formalisation of actions and their effects. This framework
allows for events (sensor state changes) occurring at a single time point to activate or
terminate fluents: properties of a system that persist through time. Additionally, event
calculus provides an approach to evaluate the model over time rather than events, which
facilitates finding the best performing model for given data [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>
        In this paper we consider a simple scenario of a house with two rooms, referred to as
the ‘toy example’. We focus on predicting not being in a selected room, living_room,
during the next time block (as this would allow temporarily switching off the heating).
To this end, we build vanilla and versatile rule-based models and show that the
latter achieves top-ranked performance regardless of context of operation (working
pattern) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. We use the Aleph Inductive Logic Programming system [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] to build our
models.
      </p>
      <p>The remaining part of this work has the following structure. In Section 2 we present
related work. Section 3 gives mathematical definition of the problem. In Section 4 we
describe the data that we use, together with their generation, preprocessing and feature
construction steps. Section 5 presents trained models and discusses their performance.
Finally, Section 6 summaries our work and explores possibilities for future research.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related literature</title>
      <p>
        Developing models that recognise Activities of Daily Living in a smart-house setting is
a well studied subject. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] uses a hybrid model for activity prediction in a smart-house.
Part of their system is a rule-based model, used for encoding background knowledge
and low-level signal extraction and analysis. Moreover, authors of [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] hand-craft a set
of rules in a forward-chaining system, to produce human-readable characteristics of a
smart-house. Another example of a rule-based system used in a slightly different but
related setting is [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The authors try to predict the type of a meeting from a video
recording, where multiple low-level features are extracted by a rule-based system. They
define an ontology of a meeting that consists of multiple tiers, where the higher layers
require predictions from the previous layers as an input. Reusing previously learnt
predicates in an automatic manner as shown by [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] could greatly benefit both our work and
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Nevertheless, as we mainly reuse only one predicate, context, our work does not
implement the solution proposed there.
      </p>
      <p>To summarise, most work done in the area of rule-based system applications share
one feature: the systems are hand-crafted. Moreover, none of them take context of
operation under consideration; this may result in poor performance during deployment,
if the problem setting has changed after the training data was collected. In this work
we build a solution taking the best of both worlds: it uses the richness of background
knowledge formulated by an expert (otherwise difficult to learn); and creates a universal
model using context awareness to get top-performing location prediction.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Variable context time sequence completion</title>
      <p>We assume that a smart-house fitted with n motion sensors at each time point t provides
a feed of boolean (on/off) data in the form of a binary vector xt = (xt1; : : : ; xtn), where
xti 2 f0; 1g represents the state of a sensor i at time t. These observable events xt for
t 2 [1; T ] create a sequence [x1; : : : ; xt ] 2 X – a smart-house state over time.</p>
      <p>Furthermore, this sequence can be divided into a series of consecutive
non-observable blocks by a series of time points [m; : : : ; z]: B = [B1m; : : : ; BzT ] for 1 &lt; m &lt; z &lt; T ;
where a block Bab is defined as Bab = [xa; : : : ; xb] for 1 &lt; a &lt; b &lt; T . Each block can be
characterised by some unique label Lab = L(Bab) from a finite set of labels L . In the
toy example L = fsleep; work; leisureg.</p>
      <p>Additionally, a sub-sequence of events [xr; : : : ; xs] for some 1 r &lt; s T
occurs in an implicit, non-observable context Crs = C([xr; : : : ; xs]). We assume that every
complete sequence [x1; : : : ; xT ] is a mixture of several contexts. In our example,
possible contexts are C = fworking_day; working_night; working_morning;
working_afternoon; free_dayg.</p>
      <p>
        Due to the above property of our data, a na¨ıvely fitted model would implicitly
depend on the sequence of contexts. Such a model is therefore ineffective, if in
deployment the context is not as expected. To remedy this, we propose to use a versatile model
that can adapt to constantly changing contexts, therefore providing accurate predictions
throughout [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Example 2 shows a versatile rule. It predicts a person being absent in
the living room in the next time block if the person is currently not in the living room,
the current time block (hour of the day) is 6 and the current context is a working day. In
this case the context is defined as an additional feature.
      </p>
      <p>Finally, we define the binary target variable to be yt 2 f0; 1g – where [y1; : : : ; yT ] 2
Y ; and yt indicates not being in a selected room (living_room) in the next t + d
time block, for d &gt; 0. In the toy example we fix d = 1. With the input space X as
defined above, our data are represented as D X Y and we want to learn a function
f : X ! Y describing these data.</p>
      <p>In the smart-house scenario presented above the versatile model output yt+1 =
f ([x1; : : : ; xt ]) = versatile model(Ctt ; [x1; : : : ; xt ]), which is a function of partially
observed data sequence [x1; : : : ; xt ] and the current context Ctt . As we observe larger
parts of this sequence, our predictions should improve given that we have correctly
identified the context. This model requires two predictions: the current context Ctt ,
dependent on the block structure in the data; and the label yt+1. As the latter is dependent
on the former it has to be learnt first, as a separate task. Once the context predicate
is in place, it is used together with the partial observations [x1; : : : ; xt ] to predict the
label yt+1. The two learning tasks are separate: they access the same information
(background knowledge and features), but different examples are provided for each task: the
first one uses the day type, the latter requires the future location of a subject.</p>
      <p>For the problem defined above we want to show that a vanilla model performs
quite well on the data whenever the implicit context does not change. However, once
it changes the vanilla model’s performance drops significantly, while a versatile model
performance is resistant to such variations.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Data</title>
      <p>
        In this work, we build and evaluate our models using artificially generated data. This
choice is motivated by a wide range of issues – not directly related to the variable
context time series completion – that we experienced while working on real-life data
sets collected by the CASAS group [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. These issues include incomplete, missing and
noisy data, as well as labelling inconsistencies and errors due to human annotators.
Using artificially generated data allows us to focus on the development of
contextaware rule-based location prediction system rather than addressing real-life data issues.
We use the toy example as a development test-bed, and plan to address more complex
smart-house simulations and real-life data in our future research.
      </p>
      <p>
        To generate the datasets necessary for this study, we implemented a highly
customisable, stochastic smart-house simulator. The simulator takes house layout, sensors
location and configuration, and high-level description of actions for the simulated agent
as an input. This design guarantees each simulation to produce unique data for a strictly
defined smart-house setting [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Therefore, every realisation of the data for a given
working pattern results in slightly varying pattern from the same distribution. We
generate multiple realisations of a week of data (Monday till Sunday), given each of the
three working patterns: normal (full-time), part-time and shifts work.
      </p>
      <p>The toy example house has two rooms: living_room and bedroom, each one
fitted with a single motion sensor. Moreover, rather than using 24-hour day we discretise
each one into 12 distinctive time blocks. Then a week of data is generated for each of
the three working patterns. The data described here are simple to interpret and small
enough to facilitate quick model construction and evaluation, yet they exhibit all the
necessary characteristics of the variable context time sequence completion problem.</p>
      <p>
        Spatio-temporal data generated by a smart-house pose representation issues, mainly
due to the time variable being unbounded and sensor events occurring in a single time
point, but causing a change persisting through time. These properties lead naturally to
the use of Simple Event Calculus, which addresses all of the above issues [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Therefore,
the data have to be formatted using event calculus syntax, as well as being preprocessed
for the Aleph framework. The raw data i.e. sensor activations are interpreted as events
affecting the state of fluents encoded with holdsAt predicate, which evaluates to true
for each sensor during the period between its activation and deactivation. Additionally,
Aleph’s background knowledge encodes bindings between sensors and their room
locations as well as room interconnections. Positive and negative examples are generated
alongside the raw data during simulation, what guarantees perfect labelling accuracy.
      </p>
      <p>Rules extracting features from the raw sensor state data are the most important
building block of any rule-based system. Most of our features are location-based: either
current or one of the previous locations, e.g. being present or absent in a room, visiting a
room in a fixed length sliding time window or a sequence of visited rooms. Time-based
features extract useful information from a UNIX timestamp e.g. date, time, time of the
day, day of the week and season of the year.</p>
      <p>Finally, we use five different contexts: working_day, working_night,
working_morning, working_afternoon and free_day. They indicate different
types of a day, mixture of which creates one of the three different working patterns. In
the normal (full-time) pattern a typical working day consists of basic morning activities,
8 hours of work, followed by a leisure time and 8 hours of sleep. A typical free day
consists mainly of leisure activities and having a night out. In the part-time pattern the
free days are exactly the same as above, but working days are either working mornings
or working afternoons where the work period is reduced to 4 hours and the remaining 4
hours are allocated with leisure activities. In the shifts pattern the free days are again the
same as above, however they can appear during the weekdays. Additionally, there are
two types of work patterns: working days which are exactly the same as in the normal
working schedule and working nights – mirror image of working days.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Results</title>
      <p>The main goal of our work is to show the importance of versatile models in complex
scenarios like smart-house location and activity prediction. Non-versatile models learn
and use implicit information about the house layout, number of residents and lifestyle
patterns. A model performing well on one person’s house is not guaranteed to have
similar performance on a different house. A versatile model can handle multiple contexts
without retraining – features in such models need to generalise well by using markers
specific to given routines rather than fixed time points.</p>
      <p>A major advantage of ILP rule-based systems is the white-box nature of the
produced model. This gives the user a chance to understand his behaviour by simply
inspecting the model, or tweak it whenever necessary by changing the background
knowledge. If a person moves from one house to another and does not change living habits,
a model once learnt can be reused in the new environment by simply changing sensors
bindings in the background knowledge file. Additionally, background knowledge can
be used to “inform” the model about the learning problem properties, which with any
other learning system would have to be inferred first.</p>
      <p>Below we present two model types: vanilla and versatile; we also compare and
contrast them against majority class classification. For comparison, we use data for all
3 working patterns as well as merged: 3-weeks long data where each week comes from
a different working pattern. Additionally, we use 3-weeks long data where number of
days from every context is the same as in merged data but the order is shuffled – we call
it shuffled. Results for the toy example are presented in Table 1; they give accuracies
(in %) averaged over 3 different realisations of given working pattern under the same
distribution (the agent script and the house layout).</p>
      <p>A vanilla (non-versatile) model does not use latent contextual information encoded
in the data. Each of Normal, Shift and Part models were trained on a single context
data; Merged rule list was train with the data containing all 3 contexts (see merged data
description).</p>
      <p>Given our features, the most basic vanilla model learnt by Aleph is highly dependent
on the time structure of the series (Example 1). Due to the repetitive patterns in the data,
the model memorises what happened during each day of the week at given time of the
day therefore performing well on the data from the same working pattern distribution.
However, this model does not perform equally well when working patterns change e.g.
Monday for the normal working person is no longer a working day but it is a free day.</p>
      <sec id="sec-5-1">
        <title>Example 1. Example rule used by the vanilla model.</title>
        <p>not_visiting_room_in_the_next_time_block(living_room,A):holdsAt(day_number(1),A),
holdsAt(time_block(3),A),
holdsAt(in_room(bedroom),A).</p>
        <p>A versatile model identifies patterns and parametrises them based on the context.
Most of the patterns in our data are variations in time structure of the same events.
Therefore, such model learns structure of sequences in given context, rather than its
detailed dependence on time. The versatile model always outperforms self-learnt rules
for each of the 3 working patterns. Additionally, it performs very close to the Vanilla
model on merged data and it does not suffer significant loss in accuracy for the shuffled
data. This 7% drop in performance is mostly caused by the context rule not always
correctly recognising the type of the day from the partial data it gets.</p>
      </sec>
      <sec id="sec-5-2">
        <title>Example 2. Example rule used by the versatile model.</title>
        <p>not_visiting_room_in_the_next_time_block(living_room,A):context(working_day,A),
holdsAt(time_block(6),A),
holdsAt(not_in_room(living_room),A).</p>
        <p>Wilcoxon signed-rank test comparing the versatile with merged and self-learnt
models for the toy dataset shows that the versatile model significantly outperforms the other
two. The test rejects the null-hypothesis that the results come from the same distribution
with p-values 10 18 for versatile vs. merged, and 10 52 for versatile vs. self-learnt.
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusions and future work</title>
      <p>The work presented in this paper shows the importance of (often implicit) context in
which our data is collected. Moreover, we showed that context is not always a
monolithic object: it can usually be divided into smaller entities. Furthermore, we
demonstrated the utility of the event calculus framework in logic when handling spatio-temporal
data, and that it can be implemented in Aleph. We also presented the design of a simple
versatile model. Finally, we showed that by recognising context, the model does not
suffer significant loss in performance when the operating context changes, therefore
avoiding time and resources expensive retraining phase.</p>
      <p>In future work we plan to study the variable context time sequence completion
problem in more detail using real-life datasets. While working with real data we aim to
address the issues identified and described in Section 4. This will enable us to evaluate
both vanilla and versatile models on these large scale datasets and further investigate
the advantages of our approach. Last but not least, we will compare our rule-based
approach with any state-of-the-art propositional learner.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Al-Otaibi</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Prudeˆncio</given-names>
            , R.B.,
            <surname>Kull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Flach</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          :
          <article-title>Versatile decision trees for learning over multiple contexts</article-title>
          .
          <source>In: Joint European Conference on Machine Learning and Knowledge Discovery in Databases</source>
          . pp.
          <fpage>184</fpage>
          -
          <lpage>199</lpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baryannis</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woznowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Antoniou</surname>
          </string-name>
          , G.:
          <article-title>Rule-based real-time adl recognition in a smart home environment</article-title>
          .
          <source>In: Rule Technologies. Research</source>
          , Tools, and Applications: 10th
          <source>International Symposium</source>
          . pp.
          <fpage>325</fpage>
          -
          <lpage>340</lpage>
          . Springer (
          <year>2016</year>
          ), http://dx.doi.org/10.1007/ 978-3-
          <fpage>319</fpage>
          -42019-6_
          <fpage>21</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Cook</surname>
            ,
            <given-names>D.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmitter-Edgecombe</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Assessing the quality of activities in a smart environment</article-title>
          .
          <source>Methods of information in medicine 48(5)</source>
          ,
          <volume>480</volume>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Diethe</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Twomey</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flach</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Active transfer learning for activity recognition</article-title>
          .
          <source>In: European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Hakeem</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shah</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology and taxonomy collaborated framework for meeting classification</article-title>
          .
          <source>In: Pattern Recognition</source>
          ,
          <year>2004</year>
          .
          <article-title>ICPR 2004</article-title>
          .
          <source>Proceedings of the 17th International Conference on. vol. 4</source>
          , pp.
          <fpage>219</fpage>
          -
          <lpage>222</lpage>
          . IEEE (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Hernndez-Orallo</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez-Uso</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>B.C.</given-names>
            <surname>Prudencio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Kull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Flach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Lachiche</surname>
          </string-name>
          , N.:
          <article-title>Reframing in context: A systematic approach for model reuse in machine learning</article-title>
          .
          <source>AI Communications</source>
          <volume>29</volume>
          (
          <issue>5</issue>
          ),
          <fpage>551</fpage>
          -
          <lpage>566</lpage>
          (11
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Kafalı</surname>
            ,
            <given-names>O¨ .</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Romero</surname>
            ,
            <given-names>A.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stathis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Activity recognition for an agent-oriented personal health system</article-title>
          .
          <source>In: International Conference on Principles and Practice of Multi-Agent Systems</source>
          . pp.
          <fpage>254</fpage>
          -
          <lpage>269</lpage>
          . Springer (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Katzouris</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Artikis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paliouras</surname>
          </string-name>
          , G.:
          <article-title>Incremental learning of event definitions with inductive logic programming</article-title>
          .
          <source>Machine Learning</source>
          <volume>100</volume>
          (
          <issue>2-3</issue>
          ),
          <fpage>555</fpage>
          -
          <lpage>585</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Kowalski</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sergot</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A logic-based calculus of events</article-title>
          . In:
          <article-title>Foundations of knowledge base management</article-title>
          , pp.
          <fpage>23</fpage>
          -
          <lpage>55</lpage>
          . Springer (
          <year>1989</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dechter</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ellis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tenenbaum</surname>
            ,
            <given-names>J.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Muggleton</surname>
            ,
            <given-names>S.H.</given-names>
          </string-name>
          :
          <article-title>Bias reformulation for one-shot function induction (</article-title>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Shanahan</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The event calculus explained</article-title>
          .
          <source>In: Artificial intelligence today</source>
          . Springer (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Sokol</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <source>Shgen: v1.0 (Dec</source>
          <year>2015</year>
          ), http://dx.doi.org/10.5281/zenodo. 34710
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Srinivasan</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>The Aleph manual</article-title>
          , http://www.cs.ox.ac.uk/activities/ machinelearning/Aleph/aleph
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Storf</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Becker</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Riedl</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Rule-based activity recognition framework: Challenges, technique and learning</article-title>
          .
          <source>In: 2009 3rd International Conference on Pervasive Computing Technologies for Healthcare</source>
          . pp.
          <fpage>1</fpage>
          -
          <lpage>7</lpage>
          . IEEE (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>