Skip to main content

TimeStacking: An Improved Ensemble Learning Method for Continuous Time Series Classification

  • Conference paper
  • First Online:
Product Lifecycle Management. Green and Blue Technologies to Support Smart and Sustainable Organizations (PLM 2021)

Abstract

Machine learning has gained great attention for solving time series classification problems. However, usual machine learning algorithms rely on learning from tabular data, and additional signal processing and data manipulation are necessary. Ensemble learning algorithms are famous for improving the performance in machine learning tasks by combining multiple predictors, but the usual techniques only take into account a single prediction from each base model. To improve the performance in time series classification tasks, this work proposes TimeStacking, a novel algorithm based on the famous ensemble learning technique stacked generalization (Stacking). Such an algorithm also takes into account the previous predictions of the base models to improve continuous time series classification tasks. Experiments are performed on a real-world dataset for drinking water quality monitoring, where TimeStacking achieves superior performance in comparison to Stacking and two other ensemble learning models, with over 10% improvement in terms of range-based \(F_1\) score and over 30% in terms of range-based precision. Therefore, results show the effectiveness of TimeStacking for solving continuous time series classification problems.

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES), the Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq), and the Fundação Araucária (FAPPR) - Brazil - Finance Codes: 159063/2017-0-PROSUC, 310079/2019-5-PQ2, 437105/2018-0-Univ, 51432/2018-PPP and PRONEX-042/2018.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Ensemble member selection is an optional step, which is not used in this work.

  2. 2.

    Stacking method can also be performed with k-fold cross validation, but this work only employs holdout validation.

  3. 3.

    It is also interesting to notice that, if only the current outputs from the base models are used, TimeStacking is similar to Stacking.

References

  1. Bagnall, A., Lines, J., Bostrom, A., Large, J., Keogh, E.: The great time series classification bake off: a review and experimental evaluation of recent algorithmic advances. Data Min. Knowl. Disc. 31(3), 606–660 (2017)

    Article  MathSciNet  Google Scholar 

  2. Breiman, L.: Random forests. Mach. Learn. 45(1), 5–32 (2001)

    Article  Google Scholar 

  3. Corder, G.W., Foreman, D.I.: Nonparametric statistics for non-statisticians: a step-by-step approach. John Wiley & Sons (2009)

    Google Scholar 

  4. Demšar, J.: Statistical comparisons of classifiers over multiple data sets. J. Mach. Learn. Res. 7, 1–30 (2006)

    Google Scholar 

  5. Freund, Y., Schapire, R.E.: A decision-theoretic generalization of on-line learning and an application to boosting. J. Comput. Syst. Sci. 55(1), 119–139 (1997)

    Article  MathSciNet  Google Scholar 

  6. Fu, T.C.: A review on time series data mining. Eng. Appl. Artif. Intell. 24(1), 164–181 (2011)

    Article  Google Scholar 

  7. Fulcher, B.D.: Feature-based time-series analysis. In: Feature Engineering for Machine Learning and Data Analytics, pp. 87–116. CRC Press (2018)

    Google Scholar 

  8. Immerman, D.: An introduction to industrial artificial intelligence. InTech July/August, pp. 34–38 (2020)

    Google Scholar 

  9. Rehbach, F., Moritz, S., Chandrasekaran, S., Rebolledo, M., Friese, M., Bartz-Beielstein, T.: Gecco 2018 industrial challenge: monitoring of drinking-water quality (2018)

    Google Scholar 

  10. Ribeiro, V.H.A., Moritz, S., Rehbach, F., Reynoso-Meza, G.: A novel dynamic multi-criteria ensemble selection mechanism applied to drinking water quality anomaly detection. Sci. Total Environ. 749, 142368 (2020)

    Article  Google Scholar 

  11. Ribeiro, V.H.A., Reynoso-Meza, G.: Ensemble learning by means of a multi-objective optimization design approach for dealing with imbalanced data sets. Expert Syst. Appl. 147, 113232 (2020)

    Article  Google Scholar 

  12. Sagi, O., Rokach, L.: Ensemble learning: a survey. Wiley Interdisciplinary Rev. Data Mining Knowl. Discovery 8(4), e1249 (2018)

    Google Scholar 

  13. Seiffert, C., Khoshgoftaar, T.M., Van Hulse, J., Napolitano, A.: Rusboost: a hybrid approach to alleviating class imbalance. IEEE Trans. Syst. Man Cybern.-Part A Syst. Humans 40(1), 185–197 (2009)

    Article  Google Scholar 

  14. Tatbul, N., Lee, T.J., Zdonik, S., Alam, M., Gottschlich, J.: Precision and recall for time series. Adv. Neural. Inf. Process. Syst. 31, 1920–1930 (2018)

    Google Scholar 

  15. Wolpert, D.H.: Stacked generalization. Neural Networks 5(2), 241–259 (1992)

    Article  Google Scholar 

  16. Zhou, Z.H.: Ensemble learning. Encycl. Biometrics 1, 270–273 (2009)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gilberto Reynoso-Meza .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ribeiro, V.H.A., Reynoso-Meza, G. (2022). TimeStacking: An Improved Ensemble Learning Method for Continuous Time Series Classification. In: Canciglieri Junior, O., Noël, F., Rivest, L., Bouras, A. (eds) Product Lifecycle Management. Green and Blue Technologies to Support Smart and Sustainable Organizations. PLM 2021. IFIP Advances in Information and Communication Technology, vol 640. Springer, Cham. https://doi.org/10.1007/978-3-030-94399-8_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-94399-8_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-94398-1

  • Online ISBN: 978-3-030-94399-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics