Neural Computing and Applications

, Volume 21, Issue 8, pp 2057–2063 | Cite as

Using multi-stage data mining technique to build forecast model for Taiwan stocks

Original Article


Taiwan stock market trend is fast changing. It is affected by not only the individual investors and the three major institutional investors, but also impacted by domestic political and economic situations. Therefore, to precisely grasp the stock market movement, one must build a perfect stock forecast model. In this article, we used a multi-stage optimized stock forecast model to grasp the changing trend of the stock market. First, data of 2 stocks, TSMC and UMC were collected, and then inputted the test data into the genetic programing and built a model to find out the arithmetic expressions. Artificial Fish Swarm Algorithm is used to dynamically adjust the variable factors and constant factors in the arithmetic expressions. Next, we took the error term (ε) in arithmetic expressions to Gray Model Neural Network to make the forecast. Finally, we used the Artificial Fish Swarm Algorithm to dynamically adjust the parameters of the Gray Model Neural Network to enhance the precision of the stock forecast model as a whole. The result showed that the forecast capability of each stage after the optimization process is better than that of its previous stage, and the mixed stock forecast model (GP–AFSA+GMNN–AFSA) in stage 4 greatly enhanced the precision of the forecast.


Data mining Genetic programing Grey model neural network Artificial fish swarm algorithm Arithmetic expressions 


  1. 1.
    Tay FEH, Chong TY, Lee FC (2002) Pattern nesting on irregular-shaped stock using Genetic Algorithms. Eng Appl Artif Intell 15(6):551–558CrossRefGoogle Scholar
  2. 2.
    Qian B, Rasheed K (2007) Stock market prediction with multiple classifiers. Appl Intell 26(1):25–33CrossRefGoogle Scholar
  3. 3.
    Jabeen H, Baig AR (2010) A framework for optimization of genetic programming evolved classifier expressions using particle swarm optimization. In: HAIS 2010: Hybrid Artificial Intelligence Systems, 5th International Conference, pp 56–63Google Scholar
  4. 4.
    Jabeen H, Baig AR (2010) Particle swarm optimization based tuning of genetic programming evolved classifier expressions. In: NICSO, pp 385–397Google Scholar
  5. 5.
    Li HL, Shao JJ, Chien JH (2002) Optimization pattern based on animal behaviour: fish group algorithm. Syst Eng Theory Pract 22(11):32–38Google Scholar
  6. 6.
    Deng J (1982) The control problems of grey system. Syst Control Lett 5:288–294Google Scholar
  7. 7.
    Koza JR (1992) Genetic programming: on the programming of computers by means of natural selection. MIT Press, Cambridge. ISBN: 0-262-11170-5Google Scholar
  8. 8.
    Koza JR (1992) Genetic programming II: automatic discovery of reusable programs. MIT Press, CambridgeGoogle Scholar
  9. 9.
    Holland J (1975) Adaptation in natural and artificial systems. University of Michigan Press, Ann ArborGoogle Scholar
  10. 10.
    Babu BV, Karthik S (2007) Genetic programing for symbolic regression of chemical process systems. Eng Lett 14(2):42–55Google Scholar
  11. 11.
    Pai PF, Lin CS (2005) A hybrid ARIMA and support vector machines model in stock price forecasting. Omega 33:497–505CrossRefGoogle Scholar
  12. 12.
    Eberhart RC, Kennedy J (1995) New optimizer using particle swarm theory. In: Proceedings of sixth international symposium on Nagoya, Japan, pp 39–43Google Scholar
  13. 13.
    Teodorovic D, Lucic P, Markovic G, Dell’Orco M (2006) Bee colony optimization: principles and applications. In: Proceedings of the eight seminar on neural network applications in electrical engineering, pp 151–156Google Scholar
  14. 14.
    Teodorovic D (2008) Swarm intelligence systems for transportation engineering: principle and application. Transp Res C 16:651–667CrossRefGoogle Scholar
  15. 15.
    Teodorovic D, Dell’Orco M (2008) Mitigating traffic congestion: solving the ride-matching problem by bee colony optimization. Transp Plan Technol 31:135–152CrossRefGoogle Scholar
  16. 16.
    Shi F (2010) Matlab neural network 30 case analysis. Beihang University Press, BeijingGoogle Scholar

Copyright information

© Springer-Verlag London Limited 2011

Authors and Affiliations

  1. 1.Department of Information ManagementAletheia UniversityNew Taipei CityTaiwan
  2. 2.Department of Information ManagementOriental Institute of TechnologyNew Taipei CityTaiwan, ROC

Personalised recommendations