improved, it is conjectured that this is because the ef-
fect of noise is reduced when using splitting. The re-
sults highlight the issue of selecting the best number
of splits, as noted earlier, there is no single best value
for s. In some cases, there is a range of values for s
that give the same accuracy and F1 score (GunPoint
and OliveOil).
7 CONCLUSION
In this paper, a novel technique (known as Sub-
Sequence-Based DTW) to speed-up runtime of DTW
has been proposed. An analysis of the runtime
complexity and accuracy of DTW using the Sub-
Sequence-Based method was presented. The analy-
sis was conducted with ten time series datasets us-
ing the kNN classification technique with k = 1. Dif-
ferent numbers of splits (sub-sequences), defined us-
ing the parameter s were considered. A compari-
son between the Sub-Sequence-Based approach and
Standard DTW and Standard DTW coupled with the
Sakoe-Chiba Band was also presented. The recorded
evaluation results indicated that the DTW runtime us-
ing the Sub-Sequence-Based approach decreases as
the number of splits increased. The effect of s on
accuracy depends on the nature of the data, there-
fore it is suggested that selecting the most appropriate
value for s should be conducted using training data.
It should also be noted that the Sub-Sequence-Based
approach can be applied in any technique founded on
the use of DTW where time series are compared.
REFERENCES
Agrawal, P. and Jayaswal, P. (2019). Diagnosis and classifi-
cations of bearing faults using artificial neural network
and support vector machine. Journal of The Institution
of Engineers (India): Series C, pages 1–12.
Bagnall, A., Lines, J., Bostrom, A., Large, J., and Keogh,
E. (2017). The great time series classification bake
off: a review and experimental evaluation of recent
algorithmic advances. Data Mining and Knowledge
Discovery, 31(3):606–660.
Brunello, A., Marzano, E., Montanari, A., and Sciavicco,
G. (2019). J48ss: A novel decision tree approach for
the handling of sequential and time series data. Com-
puters, 8(1):21.
Byakatonda, J., Parida, B., Kenabatho, P. K., and Moalafhi,
D. (2018). Analysis of rainfall and temperature time
series to detect long-term climatic trends and variabil-
ity over semi-arid botswana. Journal of Earth System
Science, 127(2):25.
Chen, M.-Y. and Chen, B.-T. (2015). A hybrid fuzzy time
series model based on granular computing for stock
price forecasting. Information Sciences, 294:227–
241.
Deng, X., Liu, Q., Deng, Y., and Mahadevan, S. (2016).
An improved method to construct basic probability as-
signment based on the confusion matrix for classifica-
tion problem. Information Sciences, 340:250–261.
Itakura, F. (1975). Minimum prediction residual principle
applied to speech recognition. IEEE Transactions on
Acoustics, Speech, and Signal Processing, 23(1):67–
72.
Niennattrakul, V. and Ratanamahatana, C. A. (2009).
Learning dtw global constraint for time series classifi-
cation. arXiv preprint arXiv:0903.0041.
Rakthanmanon, T., Campana, B., Mueen, A., Batista, G.,
Westover, B., Zhu, Q., Zakaria, J., and Keogh, E.
(2012). Searching and mining trillions of time se-
ries subsequences under dynamic time warping. In
Proceedings of the 18th ACM SIGKDD international
conference on Knowledge discovery and data mining,
pages 262–270. ACM.
Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J.,
Guillera-Arroita, G., Hauenstein, S., Lahoz-Monfort,
J. J., Schr
¨
oder, B., Thuiller, W., et al. (2017). Cross-
validation strategies for data with temporal, spatial,
hierarchical, or phylogenetic structure. Ecography,
40(8):913–929.
Sakoe, H. and Chiba, S. (1978). Dynamic programming
algorithm optimization for spoken word recognition.
IEEE transactions on acoustics, speech, and signal
processing, 26(1):43–49.
Silva, D. F. and Batista, G. E. (2016). Speeding up all-
pairwise dynamic time warping matrix calculation. In
Proceedings of the 2016 SIAM International Confer-
ence on Data Mining, pages 837–845. SIAM.
Silva, D. F., Giusti, R., Keogh, E., and Batista, G. E. (2018).
Speeding up similarity search under dynamic time
warping by pruning unpromising alignments. Data
Mining and Knowledge Discovery, 32(4):988–1016.
Singh, A., Thakur, N., and Sharma, A. (2016). A review of
supervised machine learning algorithms. In 2016 3rd
International Conference on Computing for Sustain-
able Global Development (INDIACom), pages 1310–
1315. IEEE.
Tan, C. W., Herrmann, M., Forestier, G., Webb, G. I., and
Petitjean, F. (2018). Efficient search of the best warp-
ing window for dynamic time warping. In Proceed-
ings of the 2018 SIAM International Conference on
Data Mining, pages 225–233. SIAM.
Sub-Sequence-Based Dynamic Time Warping
281