Geometric Case Based Reasoning for Stock Market Prediction
Abstract
:1. Introduction
2. Literature Review
2.1. Case-Based Reasoning
- RETRIEVE the most similar case or cases.
- REUSE the information and knowledge in that case to solve the problem.
- REVISE the proposed solution.
- RETAIN the parts of this experience likely to be useful for future problem solving.
2.2. Case-Based Reasoning in Financial Area
3. Methodology
3.1. Numeric Distances
3.2. Shape Distance Method
4. Application to Stock Market Data
4.1. The Data
- Opening value (Open). The value of the Dow Jones Industrial Average Index (DJI) at the beginning of the trading day.
- Daily high (High). The high value for the DJI.
- Daily low (Low). The low value for the DJI.
- Daily close (Close). The close value for the DJI.
4.2. Model Construction
5. Results
6. Concluding Remarks and Future Work
- The proposed technique, GCBR, is significantly better than the random walk model at p < 0.01.
- Overall, GCBR is more accurate than conventional CBR models in terms of hit rate. However, the superiority was not statistically significant compared to conventional CBR models.
- The GCBR was not found to surpass a conventional CBR in terms of MAPE.
- GCBR outperformed a conventional CBR in terms of MAPE when the number of nearest neighbors was small and the dataset was recent and smaller.
- When the dataset was larger, GCBR performed significantly more accurately than CBR when the number of nearest neighbors was 75.
- The proposed method has the possibility to improve predictability. Thus, in future research, we propose implementing the shape distance method along with consecutive time series data in searching the nearest neighbors, which would improve GCBR though validating the predictability of GCBR. A promising direction for the future would involve finding optimal neighbors by combining the numeric distance and shape distance methods.
Author Contributions
Funding
Conflicts of Interest
References
- Ince, H. Short term stock selection with case-based reasoning technique. Appl. Soft Comput. 2014, 22, 205–212. [Google Scholar] [CrossRef]
- Aamodt, A.; Plaza, E. Case-based reasoning: Foundational issues, methodological variations, and system approaches. AI Commun. Eur. J. Artif. Intell. 1994, 7, 39–59. [Google Scholar] [CrossRef]
- Kim, S.H.; Chun, S.H. Graded forecasting using an array of bipolar predictions: Application of probabilistic neural networks to a stock market index. Int. J. Forecast. 1998, 14, 323–337. [Google Scholar] [CrossRef]
- Chun, S.-H.; Kim, K.; Kim, S.H. Chaotic analysis of predictability versus knowledge discovery techniques: Case study of the Polish stock market. Expert Syst. 2002, 19, 264–272. [Google Scholar] [CrossRef]
- Chun, S.-H.; Kim, S.H. Impact of momentum bias on forecasting through knowledge discovery techniques in the foreign exchange market. Expert Syst. Appl. 2003, 24, 115–122. [Google Scholar] [CrossRef]
- Chun, S.-H.; Kim, S.H. Data mining for financial prediction and trading: Application to single and multiple markets. Expert Syst. Appl. 2004, 26, 131–139. [Google Scholar] [CrossRef]
- Chun, S.-H.; Kim, S.H. Automated generation of new knowledge to support managerial decision making: Case study in forecasting a stock market. Expert Syst. 2004, 21, 192–207. [Google Scholar] [CrossRef]
- Chun, S.-H.; Park, Y.-J. Dynamic adaptive ensemble case-based reasoning: Application to stock market prediction. Expert Syst. Appl. 2005, 28, 435–443. [Google Scholar] [CrossRef]
- Chun, S.-H.; Park, Y.-J. A new hybrid data mining technique using a regression case based reasoning: Application to financial forecasting. Expert Syst. Appl. 2006, 31, 329–336. [Google Scholar] [CrossRef]
- Park, Y.J.; Kim, B.C.; Chun, S.H. New knowledge extraction technique using probability for case-based reasoning: Application to medical diagnosis. Expert Syst. 2006, 23, 2–20. [Google Scholar] [CrossRef]
- Chun, S.-C.; Kim, J.; Hahm, K.-B.; Park, Y.-J.; Chun, S.-H. Data mining technique for medical informatics: Detecting gastric cancer using case-based reasoning and single nucleotide polymorphisms. Expert Syst. 2008, 25, 163–172. [Google Scholar] [CrossRef]
- Dutta, S.; Shekkar, S. Bond rating: A non-conservative application of neural networks. Int. Jt. Conf. Neural Netw. 1988, 2, 443–450. [Google Scholar]
- Shin, K.S.; Han, I.A. Case-based approach using inductive indexing for corporate bond rating. Decis. Support Syst. 2001, 32, 41–52. [Google Scholar] [CrossRef]
- Kim, K.; Han, I. Maintaining case-based reasoning systems using a genetic algorithms approach. Expert Syst. Appl. 2001, 21, 139–145. [Google Scholar] [CrossRef]
- Li, H.; Sun, J. Gaussian case-based reasoning for business failure prediction with empirical data in China. Inf. Sci. 2009, 179, 89–108. [Google Scholar] [CrossRef]
- Li, H.; Huang, H.-B.; Sun, J.; Lin, C. On sensitivity of case-based reasoning to optimal feature subsets in business failure prediction. Expert Syst. Appl. 2010, 37, 4811–4821. [Google Scholar] [CrossRef]
- Li, H.; Sun, J. Predicting business failure using an RSF-based case-based reasoning ensemble forecasting method. J. Forecast. 2013, 32, 180–192. [Google Scholar] [CrossRef]
- Yip, A.Y.N. Business failure prediction: A case-based reasoning approach. Rev. Pac. Basin Financ. Mark. Policies 2006, 9, 491–508. [Google Scholar] [CrossRef]
- Li, H.; Sun, J. Ranking-order case-based reasoning for financial distress prediction. J. Knowl. Based Syst. 2008, 21, 868–878. [Google Scholar] [CrossRef]
- Li, H.; Sun, J.; Sun, B.-L. Financial distress prediction based on OR-CBR in the principle of k-nearest neighbors. Expert Syst. Appl. 2009, 36, 643–659. [Google Scholar] [CrossRef]
- Li, H.; Sun, J. On performance of case-based reasoning in Chinese business failure prediction from sensitivity, specificity, positive and negative values. J. Appl. Soft Comput. 2011, 11, 460–467. [Google Scholar] [CrossRef]
- Bryant, S.M. A case-based reasoning approach to bankruptcy prediction modeling. Intell. Syst. Account. Financ. Manag. 1997, 6, 195–214. [Google Scholar] [CrossRef]
- Elhadi, M.T. Bankruptcy support system: Taking advantage of information retrieval and case-based reasoning. Expert Syst. Appl. 2000, 18, 215–219. [Google Scholar] [CrossRef]
- Park, C.S.; Han, I. A case-based reasoning with the feature weights derived by analytic hierarchy process for bankruptcy prediction. Expert Syst. Appl. 2002, 23, 255–264. [Google Scholar] [CrossRef]
- Ahn, H.; Kim, K.J. Bankruptcy prediction modeling with hybrid case-based reasoning and genetic algorithms approach. Appl. Soft Comput. 2009, 9, 599–607. [Google Scholar] [CrossRef]
- Yip, A.Y.N. Predicting business failure with a case-based reasoning approach. In Proceedings of the Knowledge-Based Intelligent Information and Engineering Systems: 8th International Conference, Wellington, New Zealand, 20–25 September 2004. [Google Scholar]
- Kapdan, F.; Aktas, M.G.; Aktas, M.S. Financial risk prediction based on case based reasoning methodology. In Proceedings of the 2019 Innovations in Intelligent Systems and Applications Conference (ASYU) Intelligent Systems and Applications Conference (ASYU), Izmir, Turkey, 31 October–2 November 2019. [Google Scholar]
- Yeh, I.-C.; Hsu, T.-K. Building real estate valuation models with comparative approach through case-based reasoning. Appl. Soft Comput. 2018, 65, 260–271. [Google Scholar] [CrossRef]
- Relich, M.; Pawlewski, P. A case-based reasoning approach to cost estimation of new product development. Neurocomputing 2018, 272, 40–45. [Google Scholar] [CrossRef]
- Lei, Z.; Yin, D. Intelligent generation technology of sub-health diagnosis case based on case reasoning. In Proceedings of the 2019 IEEE 3rd Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China, 11–13 October 2019. [Google Scholar]
- Elisabet, D.; Sensuse, D.I.; Al Hakim, S. Implementation of case-method cycle for case-based reasoning in human medical health: A systematic review. In Proceedings of the 2019 3rd International Conference on Informatics and Computational Sciences (ICICoS), Informatics and Computational Sciences (ICICoS), Semarang, Indonesia, 29–30 October 2019. [Google Scholar]
- Chowdhury, A.R.; Banerjee, S. Case Based reasoning in retina abnormalities detection. In Proceedings of the 2019 4th International Conference on Information Systems and Computer Networks (ISCON) Information Systems and Computer Networks (ISCON), Mathura, India, 21–22 November 2019. [Google Scholar]
- Lamy, J.-B.; Sekar, B.; Guezennec, G.; Bouaud, J.; Seroussi, B. Hierarchical visual case-based reasoning for supporting breast cancer therapy. In Proceedings of the 2019 Fifth International Conference on Advances in Biomedical Engineering (ICABME), Tripoli, Lebanon, 17–19 October 2019. [Google Scholar]
- Bentaiba-Lagrid, M.B.; Bouzar-Benlabiod, L.; Rubin, S.H.; Bouabana-Tebibel, T.; Hanini, M.R. A case-based reasoning system for supervised classification problems in the medical field. Expert Syst. Appl. 2020, 150, 113335. [Google Scholar] [CrossRef]
- Lamy, J.-B.; Sekar, B.; Guezennec, G.; Bouaud, J.; Séroussi, B. Explainable artificial intelligence for breast cancer: A visual case-based reasoning approach. Artif. Intell. Med. 2019, 94, 42–53. [Google Scholar] [CrossRef]
- Silva, G.C.; Carvalho, E.E.O.; Caminhas, W.M. An artificial immune systems approach to case-based reasoning applied to fault detection and diagnosis. Expert Syst. Appl. 2020, 140, 112906. [Google Scholar] [CrossRef]
- Sun, J.; Zhai, Y.; Zhao, Y.; Li, J.; Yan, N. Information acquisition and analysis technology of personalized recommendation system based on case-based reasoning for internet of things. In Proceedings of the 2018 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Zhengzhou, China, 18–20 October 2018. [Google Scholar]
- Supic, H. Case-based reasoning model for personalized learning path recommendation in example-based learning activities. In Proceedings of the 2018 IEEE 27th International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE), WETICE Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE), Paris, France, 27–29 June 2018. [Google Scholar]
- Corrales, D.C.; Ledezma, A.; Corrales, J.C. A case-based reasoning system for recommendation of data cleaning algorithms in classification and regression tasks. Appl. Soft Comput. 2020, 90, 106180. [Google Scholar] [CrossRef]
- Nunes, R.C.; Colomé, M.; Barcelos, F.A.; Garbin, M.; Paulus, G.B.; Silva, L.A.D.L. A case-based reasoning approach for the cybersecurity incident recording and resolution. Int. J. Softw. Eng. Knowl. Eng. 2019, 29, 1607–1627. [Google Scholar] [CrossRef]
- Abutair, H.; Belghith, A.; AlAhmadi, S. CBR-PDS: A case-based reasoning phishing detection system. J. Ambient. Intell. Humaniz. Comput. 2019, 10, 2593–2606. [Google Scholar] [CrossRef]
- Kim, S.H.; Kang, D.S. A new geometric criterion for case based reasoning in time series prediction. Spring Conf. Proc. Korean Inst. Ind. Eng. 1997, 4, 191–194. [Google Scholar]
Model Neighbors | Random Walk | GCBR vs. CBR (1985+) * | GCBR vs. CBR (2006+) * | z-Value ** (p-Value) | Decision |
---|---|---|---|---|---|
1 | 46.2% | 50.1% vs. 52.11% | 53.7% vs. 45.2% | 2.099 (0.036) | Reject H0 |
2 | 46.2% vs. 50.8% | 52.4% vs. 52.7% | −0.080 (0.936) | Accept H0 | |
3 | 51.1% vs. 55.4% | 48.9% vs. 51.8% | −0.645 (0.522) | Accept H0 | |
5 | 48.2% vs. 49.8% | 50.8% vs. 50.1% | 0.161 (0.872) | Accept H0 | |
10 | 46.2% vs. 50.1% | 50.1% vs. 52.1% | −0.484 (0.631) | Accept H0 | |
20 | 52.1% vs. 53.0% | 53.0% vs. 51.1% | 0.484 (0.628) | Accept H0 | |
30 | 54.1% vs. 53.7% | 52.8% vs. 51.1% | 0.403 (0.687) | Accept H0 | |
50 | 52.8% vs. 52.1% | 55.7% vs. 51.1% | 1.132 (0.258) | Accept H0 | |
75 | 57.7% vs. 50.8% | 53.1% vs. 53.4% | 1.728 (0.083) *** | Reject H0 | |
100 | 54.2% vs. 50.8% | 50.4% vs. 53.7% | −0.888 (0.379) | Accept H0 | |
150 | 47.6% vs. 52.8% | 52.8% vs. 51.8% | 0.242 (0.809) | Accept H0 | |
200 | 50.8% vs 53.7% | 54.3% vs. 49.5% | 0.970 (0.332) | Accept H0 | |
300 | 50.8% vs 52.4% | 55.0% vs. 52.4% | 0.647 (0.518) | Accept H0 |
Models Neighbors | Random Walk | GCBR vs. CBR (1985+) | GCBR vs. CBR (2006+) | z-Value (p-Value) | Decision |
---|---|---|---|---|---|
1 | 0.856 | 0.934 vs. 0.979 | 0.941 vs. 1.032 | −0.784(0.433) | Accept H0 |
2 | 0.894 vs. 0.914 | 0.917 vs. 0.942 | −0.206(0.836) | Accept H0 | |
3 | 0.882 vs. 0.889 | 0.906 vs. 0.905 | 0.001(0.998) | Accept H0 | |
5 | 0.875 vs. 0.869 | 0.884 vs. 0.888 | −0.032(0.974) | Accept H0 | |
10 | 0.870 vs. 0.870 | 0.870 vs. 0.872 | −0.018(0.985) | Accept H0 | |
20 | 0.859 vs. 0.859 | 0.864 vs. 0.859 | 0.046(0.963) | Accept H0 | |
30 | 0.857 vs. 0.858 | 0.860 vs. 0.858 | 0.015(0.987) | Accept H0 | |
50 | 0.857 vs. 0.854 | 0.854 vs. 0.855 | −0.009(0.992) | Accept H0 | |
75 | 0.858 vs. 0.854 | 0.856 vs. 0.854 | 0.014(0.988) | Accept H0 | |
100 | 0.857 vs. 0.854 | 0.857 vs. 0.854 | 0.029(0.976) | Accept H0 | |
150 | 0.858 vs.0.854 | 0.856 vs. 0.856 | −0.003(0.997) | Accept H0 | |
200 | 0.857 vs. 0.854 | 0.855 vs. 0.857 | −0.020(0.983) | Accept H0 | |
300 | 0.856 vs. 0.856 | 0.853 vs. 0.857 | −0.028(0.976) | Accept H0 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chun, S.-H.; Ko, Y.-W. Geometric Case Based Reasoning for Stock Market Prediction. Sustainability 2020, 12, 7124. https://doi.org/10.3390/su12177124
Chun S-H, Ko Y-W. Geometric Case Based Reasoning for Stock Market Prediction. Sustainability. 2020; 12(17):7124. https://doi.org/10.3390/su12177124
Chicago/Turabian StyleChun, Se-Hak, and Young-Woong Ko. 2020. "Geometric Case Based Reasoning for Stock Market Prediction" Sustainability 12, no. 17: 7124. https://doi.org/10.3390/su12177124
APA StyleChun, S. -H., & Ko, Y. -W. (2020). Geometric Case Based Reasoning for Stock Market Prediction. Sustainability, 12(17), 7124. https://doi.org/10.3390/su12177124