Skip to main content

Application of Grammar Framework to Time-Series Prediction

  • Chapter
  • First Online:
  • 997 Accesses

Part of the book series: SpringerBriefs in Applied Sciences and Technology ((BRIEFSINTELL))

Abstract

The previous chapter presented an approach to generate a large number of features using an expert-defined grammar framework. This chapter proceeds to investigate ways to explore such large feature spaces to extract the best features for prediction, i.e. feature selection (FS). Since the proposed framework involves the generation of a large pool of features, there can be redundant and irrelevant features. Therefore, FS is as equally important as feature generation. Several FS and feature extraction techniques can be explored to determine the best approach to discover “good” feature subsets for particular ML algorithms in different applications. A hybrid feature selection and generation algorithm using grammatical evolution is described as a technique to avoid selective feature pruning by crafting the fitness function to penalise bad feature subsets. The chapter also describes how ML algorithms were used to predict time-series using the sliding window technique, data partitioning, model selection and parameter tuning.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Learn about institutional subscriptions

References

  1. K.-J. Kim, Financial time series forecasting using support vector machines. Neurocomputing 55(1), 307–319 (2003)

    Article  Google Scholar 

  2. C.-J. Lu, T.-S. Lee, C.-C. Chiu, Financial time series forecasting using independent component analysis and support vector regression. Decis. Support Syst. 47(2), 115–125 (2009)

    Article  Google Scholar 

  3. M.-J. Kim, S.-H. Min, I. Han, An evolutionary approach to the combination of multiple classifiers to predict a stock price index. Expert Syst. Appl. 31(2), 241–247 (2006)

    Article  Google Scholar 

  4. L. Yu, S. Wang, K.K. Lai, Mining stock market tendency using ga-based support vector machines. Lect. Notes Comput. Sci. 3828, 336–345 (2005)

    Article  Google Scholar 

  5. R.K. Lai, C.-Y. Fan, W.H. Huang, P.-C. Chang, Evolving and clustering fuzzy decision tree for financial time series data forecasting. Expert Syst. Appl. 36(2), 3761–3773 (2009)

    Article  Google Scholar 

  6. A. Zapranis, Testing the random walk hypothesis with neural networks, Artificial Neural Networks ICANN 2006, Lect. Notes in Comput. Sci. vol 4132 (Springer, Berlin Heidelberg, 2006), pp. 664–671

    Google Scholar 

  7. C.-L. Huang, C.-Y. Tsai, A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting. Expert Syst. Appl. 36(2), 1529–1539 (2009)

    Article  MathSciNet  Google Scholar 

  8. A. Lendasse, E. de Bodt, V. Wertz, M. Verleysen, Non-linear financial time series forecasting—application to the BEL-20 stock market index. Eur. J. Econ. Soc. Syst. 14(1), 81–91 (2000)

    Article  MATH  Google Scholar 

  9. R. Majhi, G. Panda, B. Majhi, G. Sahoo, Efficient prediction of stock market indices using adaptive bacterial foraging optimization and BFO based techniques. Expert Syst. Appl. 36(6), 10097–10104 (2009)

    Article  Google Scholar 

  10. H. Ince, T.B. Trafalis, Kernel principal component analysis and support vector machines for stock price prediction, in IEEE International Joint Conference Neural Networks, vol. 3, 2053–2058 (2004)

    Google Scholar 

  11. W. Shen, X. Guo, C. Wu, D. Wu, Forecasting stock indices using radial basis function neural networks optimized by artificial fish swarm algorithm. Knowl. Based Syst. 24(3), 378–385 (2011)

    Article  Google Scholar 

  12. J. Kamruzzaman, R.A. Sarker, Forecasting of currency exchange rates using ANN: a case study, in Proceedings of the 2003 International Conference on Neural Networks and Signal Processing, vol. 1, pp. 793–797 (2003)

    Google Scholar 

  13. B.-J. Chen, M.-W. Chang et al., Load forecasting using support vector machines: a study on EUNITE competition 2001. IEEE Trans. Power Syst. 19(4), 1821–1830 (2004)

    Article  Google Scholar 

  14. M. Mohandes, Support vector machines for short-term electrical load forecasting. Int. J. Energy Res. 26(4), 335–345 (2002)

    Article  Google Scholar 

  15. M. Espinoza, J. Suykens, B. De Moor, Load forecasting using fixed-size least squares support vector machines. Comput. Int. Bioinspired Syst. 1, 488–527 (2005)

    Google Scholar 

  16. A.J.R. Reis, A.P.A. da Silva, Feature extraction via multiresolution analysis for short-term load forecasting. IEEE Trans. Power Syst. 20(1), 189–198 (2005)

    Article  Google Scholar 

  17. J. Yao, C.L. Tan, A case study on using neural networks to perform technical forecasting of forex. Neurocomputing 34(14), 79–98 (2000)

    Article  MATH  Google Scholar 

  18. L. Ghelardoni, A. Ghio, D. Anguita, Energy load forecasting using empirical mode decomposition and support vector regression. Smart Grid IEEE Trans. 4(1), 549–556 (2013)

    Article  Google Scholar 

  19. E.F. Fama, The behavior of stock-market prices. J. Bus. 38(1), 34–105 (1965)

    Article  Google Scholar 

  20. A.W. Lo, H. Mamaysky, J. Wang, Foundations of technical analysis: computational algorithms, statistical inference, and empirical implementation. J. Finance 55(4), 1705–1770 (2000)

    Article  Google Scholar 

  21. D. Bunn, E. Dillon Farmer, Comparative models for electrical load forecasting (Wiley and Sons Inc., New York, 1985)

    Google Scholar 

  22. C.-J. Yu, Y.-Y. He, T.-F. Quan, Frequency spectrum prediction method based on EMD and SVR, in Eighth International Conference on Intelligent Systems Design and Applications, ISDA ’08, vol. 3, pp. 39–44 (2008)

    Google Scholar 

  23. D. Benaouda, F. Murtagh, J.-L. Starck, O. Renaud, Wavelet-based nonlinear multiscale decomposition model for electricity load forecasting. Neurocomputing 70(1), 139–154 (2006)

    Article  Google Scholar 

  24. Z.R. Struzik, Wavelet methods in (financial) time-series processing. Phys. A: Stat. Mech. Appl. 296(1), 307–319 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  25. T. Kohonen, Self-organizing maps, vol 30 (Springer, Berlin, 2001)

    Google Scholar 

  26. F.E.H. Tay, L. Cao, Application of support vector machines in financial time series forecasting. Omega 29(4), 309–317 (2001)

    Article  Google Scholar 

  27. R.J. Hyndman, Why every statistician should know about cross-validation, (2010). http://robjhyndman.com/hyndsight/crossvalidation/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anthony Mihirana De Silva .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 The Author(s)

About this chapter

Cite this chapter

De Silva, A.M., Leong, P.H.W. (2015). Application of Grammar Framework to Time-Series Prediction. In: Grammar-Based Feature Generation for Time-Series Prediction. SpringerBriefs in Applied Sciences and Technology(). Springer, Singapore. https://doi.org/10.1007/978-981-287-411-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-981-287-411-5_5

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-287-410-8

  • Online ISBN: 978-981-287-411-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics