Skip to main content
Log in

An interpretable neuro-fuzzy approach to stock price forecasting

  • Methodologies and Application
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Stock price prediction is a complex and difficult task due to the chaotic behavior and high uncertainty in stock market prices. The design of a highly accurate, simple and intelligible forecasting model is of prime importance in this field. With this aim, a number of research studies have employed fuzzy rule-based systems for stock price forecasting. But the main focus has been on obtaining fuzzy systems with high accuracy and the interpretability aspect has been overlooked due to the assumption that the fuzzy rule-based systems are implicitly interpretable in the form of fuzzy rules which is not essentially true. This paper proposes an efficient and interpretable neuro-fuzzy system for stock price prediction using multiple technical indicators with focus on interpretability–accuracy trade-off. The interpretability of the system is ensured by: (1) rule base reduction via selection of the best rules using rule performance criteria to obtain an efficient and a compact rule base which is easily comprehendible and (2) constrained learning during model optimization stage so that simple constraints are imposed on the updates of fuzzy set parameters due to which the system remains interpretable and forecasting accuracy is not compromised. For experimental evaluation of the proposed system, daily stock data of Bombay Stock Exchange, CNX Nifty and S&P 500 stock indices are used. The simulation results show that the proposed system obtains a better balance between accuracy and interpretability than two other artificial intelligence techniques and two statistical techniques commonly used in stock price prediction.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  • Alonso JM, Magdalena L (2011) Special issue on interpretable fuzzy systems. Inf Sci 181:4331–4339

  • Ang KK, Quek C (2006) Stock trading using RSPOP: a novel rough set-based neuro-fuzzy approach. IEEE Trans Neural Netw 17:1301–1315

    Article  Google Scholar 

  • Atsalakis G, Valavanis K (2008) Surveying stock market forecasting techniques—part II: soft computing methods. Exp Syst Appl 36:5932–5941

    Article  Google Scholar 

  • Atsalaki G, Valavanis K (2009) Forecasting stock market short-term trends using neuro-fuzzy based methodology. Exp Syst Appl 7:10696–10707

    Article  Google Scholar 

  • Atsalakis G, Valavanis K (2013) Computation optimization in economics and finance research compendium. In: Zopounidis C (ed) Surveying stock market forecasting techniques—part I: conventional methods. Nova Science Publishers Inc, New York, pp 49–104

    Google Scholar 

  • Atsalakis G, Dimitrakakis E, Zopounidis C (2011) Elliot wave theory and neuro-fuzzy systems, in stock market prediction. The WASP system. Exp Syst Appl 8:9196–9206

    Article  Google Scholar 

  • Atsalakis G, Protopapadakis E, Valavanis K (2015) Stock trend forecasting in turbulent market periods using neuro-fuzzy systems. Oper Res 16:245–269

    Google Scholar 

  • Babushka R (1999) Data-driven fuzzy modeling: transparency and complexity issues. In: Proceedings 2nd European Symposium on Intelligent Techniques ESIT’99

  • Bagheri A, Peyhani HM, Akberi M (2014) Financial forecasting using ANFIS networks with quantum-behaved particle swarm optimization. Exp Syst Appl 41:6235–6250

    Article  Google Scholar 

  • Banik S, Rouf RA and Khan K (2007) Modeling chaotic behavior of Dhaka Stock Market Index values using the neuro-fuzzy model. In: 10th International Conference on Computer Aid in Information Technology. doi:10.1109/ICCITECHN.2007.4579362

  • Berenji HR, Khedkar P (1992) Learning and tuning fuzzy logic controllers through reinforcements. IEEE Trans Neural Netw 3:724–740

    Article  Google Scholar 

  • Bollerslev T (1986) Generalized autoregressive conditional heteroscedasticity. J Econom 31:307–327

    Article  MATH  Google Scholar 

  • Casillas J, Cordón O, Herrera F (2003) Interpretability Issues in fuzzy modeling. Springer, Berlin

    Book  MATH  Google Scholar 

  • Chavarnakul T, Enke D (2009) A hybrid stock trading system for intelligent technical analysis-based equivolume charting. Neurocomputing 72:16–18

    Article  Google Scholar 

  • Chen MY (2013) A hybrid ANFIS model for business failure prediction—utilization of particle swarm optimization and subtractive clustering. Inf Sci 220:180–195

    Article  Google Scholar 

  • Chen MY (2013) A high-order fuzzy time series forecasting model for internet stock trading. Future Gener Comput Syst Int J Grid Comput eSci 37:461–467

    Article  Google Scholar 

  • Chen MY, Chen BT (2014) Online fuzzy time series analysis based on entropy discretization and a fast fourier transform. Appl Soft Comput 14:156–166

    Article  Google Scholar 

  • Chen MY, Chen BT (2015) A hybrid fuzzy time series model based on granular computing for stock price forecasting. Inf Sci 294:227–241

    Article  MathSciNet  Google Scholar 

  • Chien YWC, Chen YL (2010) Mining associative classification rules with stock trading data—a GA-based method. Knowl-Based Syst 23:605–614

    Article  Google Scholar 

  • Chiu S (1994) Fuzzy model identification based on cluster estimation. J Intell Fuzzy Syst 2:267–278

    Article  Google Scholar 

  • de Oliveira V (1999) Towards neuro-linguistic modeling: constraints for optimization of membership functions. Fuzzy Sets Syst 106:357–380

    Article  MathSciNet  MATH  Google Scholar 

  • Engle RF (1982) Autoregressive conditional heteroscedasticity with estimator of the variance of United Kingdom inflation. Econometrica 4:987–1008

    Article  MATH  Google Scholar 

  • Escobar A, Moreno J, Munera S (2013) A technical analysis indicator based on fuzzy logic. Electron Notes Theor Comput Sci 292:27–37

    Article  Google Scholar 

  • Esfahanipour A, Aghamiri W (2010) Adapted neuro-fuzzy inference system on indirect approach TSK fuzzy rule base for stock market analysis. Exp Syst Appl 37:4742–4748

    Article  Google Scholar 

  • Espinosa J, Vandewalle J (2000) Constructing fuzzy models with linguistic integrity from numerical data—AFRELI algorithm. IEEE Trans Fuzzy Syst 8:591–600

    Article  Google Scholar 

  • Fallahzadeh E, Montazeri MA (2013) Forecasting foreign exchange rates using an IT2 FCM based IT2 neuro-fuzzy System. In: 21st IEEE Iranian Conference on Electrical Engineering. doi:10.1109/IranianCEE.2013.6599870

  • Gegov A (2015) Rule base simplification in fuzzy systems by aggregation of inconsistent rules. J Intell Fuzzy Syst 28:1331–1343

    MathSciNet  Google Scholar 

  • Hermann CS (1997) Symbolic reasoning about numerical data: a hybrid approach. Appl Intell 7:339–354

    Article  Google Scholar 

  • Jang JS (1993) ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans Syst Man Cybern 23:665–685

    Article  Google Scholar 

  • Jimenez F, Gomez-Skarmeta A, Roubos H, Babuška R (2001) A multi-objective evolutionary algorithm for fuzzy modeling. In: Proceedings of Joint 9th IFSA World Congress and 20th NAFIPS International Conference. doi:10.1109/NAFIPS.2001.944781

  • Lee S, Lee E (1975) Fuzzy neural networks. Math Biosci 23:151–177

    Article  MathSciNet  MATH  Google Scholar 

  • Leigh W, Hightower R, Modani N (2005) Forecasting the New York stock exchange composite index with past price and interest rate on condition of volume spike. Exp Syst Appl 1:1–8

    Article  Google Scholar 

  • Liu CF, Yeh CY, Lee SJ (2012) Application of type-2 neuro-fuzzy modeling in stock price prediction. Appl Soft Comput 12:135–1348

    Google Scholar 

  • Mencar C, Fenelli AM (2008) Interpretability constraints for fuzzy information granulation. Inf Sci 178:4585–4618

    Article  MathSciNet  Google Scholar 

  • Nauck D, Kruse R (1998) A neuro-fuzzy to obtain interpretable model for function approximation. Proc IEEE Conf Fuzzy Syst 1106:1111

    Google Scholar 

  • Paiva RP, Dourado A (2004) Interpretability and learning in neuro-fuzzy systems. Fuzzy Sets Syst 147:17–38

    Article  MathSciNet  MATH  Google Scholar 

  • Roubos H, Setnes M (2001) Compact and transparent fuzzy models and classifiers through iterative complexity reduction. IEEE Trans Fuzzy Syst 9:516–524

    Article  Google Scholar 

  • Tan Z, Quek C, Cheng YKP (2011) Stock trading with cycles: a financial application of ANFIS and reinforcement learning. Exp Syst Appl 38:4741–4755

    Article  Google Scholar 

  • Trinkle BS (2005) Forecasting annual excess stock returns via an adaptive network-based fuzzy inference system. Intell Syst Account Finance Manag 13:165–177

    Article  Google Scholar 

  • Vella V, Ng WL (2014) Enhancing risk-adjusted performance of stock market intraday trading with neuro-fuzzy systems. Neurocomputing 141:170–187

    Article  Google Scholar 

  • Wei LY, Chen TL, Ho TH (2011) A hybrid model based on adaptive-network-based fuzzy inference system to forecast Taiwan stock market. Exp Syst Appl 38:13625–13631

    Google Scholar 

  • Wood S (2002) Float analysis: powerful technical indicators using price and volume. Wiley, New York

    Google Scholar 

  • Zarandi MHF, Hadavandi E, Turksen IB (2012) A hybrid intelligent agent-based system for stock price prediction. Int J Intell Syst 27:947–969

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sharifa Rajab.

Ethics declarations

Conflict of interest

The authors declare that there is no conflict of interest involved.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Communicated by V. Loia.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rajab, S., Sharma, V. An interpretable neuro-fuzzy approach to stock price forecasting. Soft Comput 23, 921–936 (2019). https://doi.org/10.1007/s00500-017-2800-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-017-2800-7

Keywords

Navigation