<!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>Using Navigable Small Worlds to Speed Up Time-Series Classi cation</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science University College Dublin Dublin 4</institution>
          ,
          <country country="IE">Ireland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>It is not easy to apply standard Machine Learning methods to time-series classi cation because of the nature of the data. k-Nearest Neighbour (k-NN) can be applied because e ective distance measures for time-series are available (e.g. Dynamic Time Warping (DTW)). However, these e ective measures are inclined to be quite computationally expensive { DTW is O(t2) in the length of the time-series. This is a problem because the resultant retrieval time is O(nt2) when n is the number of training samples. Methods to improve k-NN retrieval performance exist, but some constraints apply. Some methods require that the distance measure is a proper metric; others are only e ective in low dimension spaces. In this paper, we evaluate the e ectiveness of Navigable Small Worlds (NSW) for time-series classi cation using k-NN. NSW organises training samples into a small-world network for e cient retrieval. We show that this strategy can signi cantly speed up time-series classi cation at the cost of some loss of accuracy.</p>
      </abstract>
      <kwd-group>
        <kwd>Navigable Small Worlds</kwd>
        <kwd>Time Series Classi cation</kwd>
        <kwd>Nearest Neighbour</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Time-series classi cation is a particular challenge for supervised machine
learning because the data is not in a feature vector format. A comprehensive
evaluation of ML methods for time-series classi cation [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] shows that k-NN is very
e ective provided a suitable distance measure can be identi ed. However, k-NN
is not a perfect panacea because e ective distance measures for time-series data
are computationally expensive. Methods to speed up k-NN retrieval (both
exact and approximate) that exists have constraints attached. Speedup methods
typically require that the distance measure is a proper metric. Some time-series
measures (e.g. DTW) do not meet the triangle inequality requirement to be a
metric. Also, the curse of dimensionality cannot be avoided; it is hard to speed
up k-NN retrieval in high dimension spaces and preserve accuracy.
      </p>
      <p>In this paper, we assess the potential of using Navigable Small Worlds for
k-NN in time-series classi cation. With NSW, the data is organised into a
smallworld graph that facilitates e cient retrieval. Small-world networks have the
special characteristic that any pair of nodes is likely to be linked by a small number
of hops. This property is due to the presence of hubs in the network. Hubs are
high-degree nodes that serve as a routing backbone that delivers short shortest
path distances. With NSW this small-world characteristic arises naturally from
the way the network is constructed (see details in section 4.1).</p>
      <p>
        So NSW can be used as a data-structure to provide approximate k-NN
retrieval (see Figure 3). While most of the research on NSW for approximate
nearest neighbour retrieval is based on proper metrics, the authors do claim
that it might also be e ective for non-metric spaces [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. In this paper, we
evaluate three time-series distance measures in combination with NSW. We consider
DTW, which is not a metric and Time-Warp Edit Distance (TWED) which is.
The results in section 5 show that NSW, in combination with DTW, can reduce
retrieval time by a factor of four. The price that is paid for this is a reduction
in accuracy of roughly 2% to 3%.
      </p>
      <p>In the next section, we provide an overview of k-NN and time-series classi
cation illustrating the computational challenges. In section 3, we review relevant
research on k-NN speedup. In section 4, we introduce NSW and show how it
can be used for k-NN retrieval. Our results on using NSW to speed up k-NN
time-series classi cation are presented in section 5.
2</p>
      <p>k-NN and Time-Series Classi cation
k-NN works by nding the nearest neighbours for a query q in training set
D and then a class is assigned to q using these neighbours, typically by
majority voting. If the data is numeric, D is made up of samples of the form
x = fx1; :::; xj ; :::; xmg. For each x 2 D the Euclidean distance between q and x
is:</p>
      <p>vu m
d(q; x) = tuX(qi
i=1
xi)2</p>
      <p>
        If two time-series are the same length, then Euclidean distance can be used
as a distance measure. However, as we see in Figure 1, if the two time-series are
a little out of phase, then the Euclidean distance can be misleading. The vertical
lines in the plot on the left indicate this. So there has been extensive research
on similarity/distance measures for time-series [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. In this paper, we consider
three measures:
{ DTW allows the time-axes to be warped to allow for more exible matching
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It is O(t2) in the length of the time-series and it is not a proper metric.
{ TWED supports inexact matching of time-series by counting edit operations
as is done in string matching [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. It is O(t2) in the length of the time-series
but is a proper metric. As such it is a good candidate to incorporate into an
NSW retrieval framework.
{ Euclidean Distance is included as a baseline. It is O(t) and is of course a
proper metric.
      </p>
      <p>
        (1)
In our research, we are particularly interested in the use of time-series classi
cation for process monitoring in manufacturing. We are concerned with the use
of time-series classi cation to detect processing anomalies in metal 3D printing
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. It is normal to monitor the 3D printing process using sensors. These
sensors may monitor conditions in the 3D printing chamber, or they may focus on
the melt-pool itself. To evaluate NSW for time-series classi cation speedup, we
consider two datasets collected from an Aconity MINI 3D printer.1
      </p>
      <p>The details of the two datasets are summarised in Table 1. Each data sample
is a time-series of melt-pool temperature recorded by a pyrometer. The classi
cation task is to detect pores in the part being manufactured. These pores would
be rare but would typically show up as dips in the temperature time-series. The
longest time-series in both datasets contain 300 time points and the shortest
101. When calculating distance the shorter series is post-padded with zeroes to
bring it to the length of the longer one. A trailing zero is added to the longer
series to allow matching with this padding.</p>
      <p>To compare the time complexity of the three distance measures, we computed
the average retrieval time of 10 random queries in a k-NN environment using</p>
    </sec>
    <sec id="sec-2">
      <title>1 https://aconity3d.com/products/aconitymini/</title>
      <p>the PLarge dataset. The average retrieval time for each measure (given best
parameters) per query are as follows:
{ Euclidean2: 0.02 s
{ DTW3: 1.46 s
{ TWED4: 10.16 s</p>
      <p>As expected, Euclidean distance is the fastest by two orders of magnitude,
DTW the second, and TWED the slowest of them all.
3</p>
      <p>k-NN Speedup Strategies
These baseline calculations illustrate the run-time problems with k-NN. The
performance with Euclidean distance might be acceptable, but the DTW and
TWED gures are not adequate for real-time analysis. This is a recognised
problem with k-NN and has been the subject of extensive research. This research can
be categorised under exact methods and approximate methods. Exact methods
will guarantee that the neighbours retrieved by brute force search will be precise.
Approximate methods don't meet this requirement.</p>
      <p>
        Exact Methods The two most popular alternatives to brute force search for
exact k-NN are Ball Trees and Kd-Trees [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] but their applicability is constrained.
Kd-Trees can only be used with feature-vector data and are thus not applicable
for time-series data. Ball Trees require a distance measure that is a proper metric.
Both strategies cease to be e ective in high dimension spaces [
        <xref ref-type="bibr" rid="ref1 ref13">1, 13</xref>
        ].
Approximate Methods E cient k-NN retrieval is an important
consideration, particularly in internet applications such as image or music retrieval. As
such, the focus has shifted to consider approximate nearest neighbour (ANN)
methods [
        <xref ref-type="bibr" rid="ref2 ref6">6, 2</xref>
        ]. Approximate methods may be adequate where the objective is
information retrieval rather than classi cation. For nearest neighbour search over
collections with tens or even hundreds of thousands of objects perfect recall is
not essential. ANN strategies can be divided into three broad categories:
{ Random Projection Trees (RPT). The main drawback with Kd-Trees
is that search through the tree entails a lot of backtracking to ensure that
the nearest neighbours are retrieved. RPT does not backtrack; instead, the
search is repeated multiple times and the initial candidates identi ed each
time are assessed to nd good nearest neighbours [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
{ Locality Sensitive Hashing (LSH) maps similar items into the same
`buckets' with high probability. The strategy is to use several variants of
LSH algorithms to retrieve a candidate set of nearest neighbours. Then the
distance metric can be applied to these candidates to nd nearest neighbours
that will be near-optimal [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>2 https://pypi.org/project/numpy/ 3 https://pypi.org/project/tslearn/ 4 https://en.wikipedia.org/wiki/Time Warp Edit Distance</title>
      <p>
        Network
k-NN
NSW
{ Neighbourhood-Based Methods index the data by building a proximity
graph where data points are linked to their neighbours. Retrieval entails
navigating this proximity graph to nd nearest neighbours for a query. NSW
is such a method but with the special characteristic that the graph is a
smallworld graph (see section 4). A recent evaluation by Li et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] shows that
these methods are competitive and, because they can be combined with
DTW and TWED; this is the ANN strategy we consider.
4
      </p>
      <p>NSW</p>
      <p>&amp; k-NN
NSW is a neighbourhood-based method for ANN that constructs a proximity
graph that has small-world characteristics. This is illustrated in Figure 2 and
Table 2. We compare an NSW graph with a standard k-NN graph. The k-NN
graph is constructed by connecting each node to its f = 233 nearest neighbours
(parameter setting details are in section 4.2). The NSW graph is constructed
using the strategy detailed in section 4.1. The statistics in Table 2 show that the
NSW graph is more compact than the k-NN graph; this is due to the high-degree
hub nodes on the right in Figure 2(a).
4.1</p>
      <sec id="sec-3-1">
        <title>NSW in Operation</title>
        <p>
          NSW uses a small-world network that can be represented by a graph G(V; E),
where vertices from set V are the stored elements, and edges from set E are
connections linking them with other vertices. The NSW structure is constructed
by inserting elements into the network consecutively[
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. For each insertion of an
element, the algorithm rst searches for a set of its nearest neighbours already
present in the network (see Algorithm 1).
        </p>
        <p>Algorithm 1 Insertion Algorithm
procedure NN Insert(element; f; m) . m multi-searches to nd f neighbours to
connect with element
neighbours N N Search(element; f; m)
for neighbour in neighbours do
element:connect(neighbour)
neighbour:connect(element)</p>
        <p>Store the new and updated elements in the network</p>
        <p>NSW employs a variant of the greedy search algorithm as its core k-NN
search to fetch approximate neighbours of the object. At rst, a random node
is selected from the network as an entry point (see Figure 3), and then search
progress by traversing the network from one element to its unvisited nearest
neighbouring element. The exploration continues within the neighbourhood of
the nearest objects in a greedy style until it no longer improves the already known
k nearest neighbours (stop condition) or has an unvisited object left to explore
(see Algorithm 2). On identifying a set of neighbours, the algorithm inserts the
element into the network by connecting it to its neighbours and vice versa. This
incremental strategy has the important side-e ect that long-distance links are
created early on in the construction process because true nearest neighbours are
not present. This results in small-world characteristics.</p>
        <p>We used ValueSortedDict from the sortedcollections5package in the PyPI
repository, as the data-structure for our implementation of NSW for storage and
retrieval of neighbours. This signi cantly improves performance because there is
a lot of sorting required for network traversal.</p>
        <sec id="sec-3-1-1">
          <title>Algorithm 2 Search Algorithm</title>
          <p>procedure NN Search(query; k; m) . m searches to nd k neighbours of a query
Set visited set . maintains list of visited nodes
ValueSortedDict candidates; result
for iteration m do
v ep random entry point . Fetch a random node from the network
visited set; candidates v ep
ValueSortedDict temp result
while True do
candidate nearest candidate(candidates) . from candidates pool
if stop condition = F alse and candidate has neighbours then
for neighbour in candidate:neighbours do
if neighbour not in visited set then
cost distance(query; neighbour)
visited set; candidates; temp result neighbour
else</p>
          <p>break while loop
result temp result
Return k nearest neighbours from result
. result is updated with temp result</p>
          <p>Two parameters f and m dictate the performance of the NSW algorithm.
f determines the maximum number of \friends" or neighbours, a vertex can
have in the network, and m dictates multi-search. m is directly proportional to
the recall of the system, where a high enough m results in the perfect recall;
however, it is then similar to an exhaustive search. Hence, there is a trade-o
between classi cation accuracy and the speed-up accomplished by the model,
governed by its parameters.
4.2</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>NSW Performance</title>
        <p>Before applying NSW to time-series data, we present a baseline analysis on
feature vector data. For this, we have selected six public datasets from the KEEL6
repository for classi cation tasks. As previously mentioned, selecting optimal
values for f and m is essential, owing to the trade-o between accuracy and
time complexity of the NSW model. The idea is to obtain a high accuracy while
keeping f and m small for a quicker retrieval time. This is achieved through
a grid-search, as shown in Figure 4. When supplied with a pair of values, the
models undergo 5 5-fold cross-validation over the train set of a dataset, with
accuracy as its scoring method. The heatmap generated illustrates the e ect of</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>5 https://pypi.org/project/sortedcollections/</title>
      <p>6 https://sci2s.ugr.es/keel/datasets.php
(a) Parameter heatmap of NSW over
newthyroid dataset.
(b) Parameter heatmap of NSW over
pima dataset.
f and m on the accuracy of the model. Fig. 4 show heatmaps for two datasets. It
is clear that higher values of f and m give better accuracy, but it is possible to
nd lower values that achieve high accuracy while achieving signi cant speedup.</p>
      <p>The feature selection process is mostly automated, with these heatmaps
allowing the user to select an optimal pair of parameter values for the dataset. The
nal evaluation of the model is over the held-out test set of the dataset provided
with the selected pair as its parametric values. The evaluation results on the six
non-time-series datasets are shown in Figure 5. Over the six datasets, the
processing time is reduced to 42% on average. There is no reduction in classi cation
accuracy for three of the datasets. The average reduction in accuracy is 1:3%.
The result illustrates NSW to be a promising strategy to achieve accuracy of full
k-NN comparably and much quicker.</p>
      <p>NSW in TS Classi cation
Building upon our preliminary analysis discussed in 4.2, we extend the evaluation
of k-NN and NSW models to classi cation tasks on time-series datasets (PLarge
and PSmall). The nal results reported in Figure 6 are on hold-out test sets
as described in Table 1. The f and m parameters were tuned using 5 5-fold
cross-validation on the training set. The value of k for exact k-NN was set in the
same manner. The same k value was used with NSW.</p>
      <p>(a) Model evaluation over Plarge dataset.</p>
      <p>(b) Model evaluation over Psmall dataset.</p>
      <sec id="sec-4-1">
        <title>The main conclusions from this evaluation are as follows:</title>
        <p>1. Even if TWED is a proper metric, DTW is still the clear winner by achieving
the highest accuracy for both exact k-NN and using NSW.
2. Using NSW, the processing time is reduced to 23.5% for Plarge and 35% for
Psmall of that of exact k-NN-DTW. The speedup is more signi cant for the
larger dataset.
3. NSW achieves accuracy comparable to that of exact k-NN. The drop in
accuracy using NSW with DTW measure is 2.7% on Plarge and 4.2% for
Psmall.</p>
        <p>In summary, the speedup is signi cant { it seems reasonable to expect better
than a four-fold speedup on large datasets. However, the impact on accuracy
would probably not be acceptable in many situations.
6</p>
        <p>Conclusions &amp; Future Work
In this paper, we address the challenge of improving the run-time performance
of time-series classi cation using k-NN. Because e ective distance measures for
time-series are computationally expensive, we explore the potential of NSW for
speeding up k-NN using DTW and TWED. TWED is included because it is a
proper metric, whereas DTW is not. Despite its lack of metric pedigree, DTW
performs best. NSW delivers signi cant speedup but at the cost of classi cation
accuracy.</p>
        <p>So it seems that NSW does not allow us to avoid the curse of dimensionality.
We cannot speed up retrieval without paying the price in terms of accuracy.</p>
        <p>In future work, we will explore measures to quantify the intrinsic dimension
of time-series data to see if speedup strategies might work for datasets that have
a lower intrinsic dimension. Furthermore, these methods need to be evaluated
in a realistic context where time-series containing pores would be very rare.
Acknowledgements
This publication has resulted from research supported in part by a grant from
Science Foundation Ireland (SFI) under Grant Number 16/RC/3872 and is
cofunded under the European Regional Development Fund.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Arya</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mount</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Narayan</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Accounting for boundary e ects in nearestneighbor searching</article-title>
          .
          <source>Discrete &amp; Computational Geometry</source>
          <volume>16</volume>
          (
          <issue>2</issue>
          ),
          <volume>155</volume>
          {
          <fpage>176</fpage>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. Aumuller,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Bernhardsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Faithfull</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Ann-benchmarks: A benchmarking tool for approximate nearest neighbor algorithms</article-title>
          .
          <source>In: International Conference on Similarity Search and Applications</source>
          . pp.
          <volume>34</volume>
          {
          <fpage>49</fpage>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bagnall</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bostrom</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Large</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lines</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>The great time series classi cation bake o : An experimental evaluation of recently proposed algorithms</article-title>
          . extended version (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Delany</surname>
          </string-name>
          , S.J.
          <article-title>: k-nearest neighbour classi ers 2nd edition (with python examples)</article-title>
          .
          <source>arXiv preprint arXiv:2004</source>
          .
          <volume>04523</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Indyk</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motwani</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Approximate nearest neighbors: towards removing the curse of dimensionality</article-title>
          .
          <source>In: Proceedings of the thirtieth annual ACM symposium on Theory of computing</source>
          . pp.
          <volume>604</volume>
          {
          <issue>613</issue>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          , Zhang,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <surname>X.</surname>
          </string-name>
          :
          <article-title>Approximate nearest neighbor search on high dimensional data-experiments, analyses, and improvement</article-title>
          .
          <source>IEEE Transactions on Knowledge and Data Engineering</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moore</surname>
            ,
            <given-names>A.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gray</surname>
            ,
            <given-names>A.G.</given-names>
          </string-name>
          :
          <article-title>An investigation of practical approximate nearest neighbor algorithms</article-title>
          .
          <source>In: Advances in neural information processing systems</source>
          . pp.
          <volume>825</volume>
          {
          <issue>832</issue>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Mahato</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Johnston</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>Scoring performance on the y-balance test</article-title>
          .
          <source>In: International Conference on Case-Based Reasoning</source>
          . pp.
          <volume>281</volume>
          {
          <fpage>296</fpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Mahato</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Obeidi</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brabazon</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>An evaluation of classication methods for 3d printing time-series data</article-title>
          . arXiv preprint arXiv:
          <year>2005</year>
          .
          <volume>09052</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Mahato</surname>
            , V.,
            <given-names>O</given-names>
          </string-name>
          <string-name>
            <surname>'Reilly</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>A comparison of k-nn methods for time series classi cation and regression</article-title>
          .
          <source>In: 26th Irish Conference on Arti cial Intelligence and Cognitive Science (AICS)</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Malkov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ponomarenko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Logvinov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krylov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Approximate nearest neighbor algorithm based on navigable small world graphs</article-title>
          .
          <source>Information Systems</source>
          <volume>45</volume>
          ,
          <fpage>61</fpage>
          {
          <fpage>68</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Marteau</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          :
          <article-title>Time warp edit distance with sti ness adjustment for time series matching</article-title>
          .
          <source>IEEE transactions on pattern analysis and machine intelligence</source>
          <volume>31</volume>
          (
          <issue>2</issue>
          ),
          <volume>306</volume>
          {
          <fpage>318</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Ponomarenko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malkov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Logvinov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krylov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Approximate nearest neighbor search small world approach</article-title>
          .
          <source>In: International Conference on Information and Communication Technologies &amp; Applications</source>
          . vol.
          <volume>17</volume>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Tavenard</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faouzi</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vandewiele</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Divo</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Androz</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Holtz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Payne</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yurchak</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , Ru wurm, M.,
          <string-name>
            <surname>Kolar</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , et al.:
          <article-title>Tslearn, a machine learning toolkit for time series data</article-title>
          .
          <source>Journal of Machine Learning Research</source>
          <volume>21</volume>
          (
          <issue>118</issue>
          ),
          <volume>1</volume>
          {
          <issue>6</issue>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>