| 研究生: |
吳宗翰 Wu, Tsung-Han |
|---|---|
| 論文名稱: |
利用模糊邏輯加強LSTM的預測準確性 Enhancing the predictive accuracy of LSTM using fuzzy logic |
| 指導教授: | 曾正男 |
| 口試委員: |
曾睿彬
李勇達 |
| 學位類別: |
碩士
Master |
| 系所名稱: |
理學院 - 應用數學系 Department of Mathematical Sciences |
| 論文出版年: | 2025 |
| 畢業學年度: | 113 |
| 語文別: | 中文 |
| 論文頁數: | 58 |
| 中文關鍵詞: | LSTM預測 、模糊邏輯 、高斯模糊系統修正 、三角模糊系統修正 、股價預測 |
| 外文關鍵詞: | Long Short-Term Memory, Fuzzy Logic System, Gaussian membership functions, Triangular membership functions, Stock price prediction |
| 相關次數: | 點閱:26 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本研究主旨在透過結合長短期記憶(Long Short-Term Memory, LSTM)模型與模糊邏輯系統(Fuzzy Logic System),提升股價預測之準確性與穩定性。以三種不同價位的股票台灣鴻海精密工業股份有限公司(股票代號:2317.TW);台灣積體電路製造股份有限公司(股票代號:2330.TW);陽明海運股份有限公司(股票代號:2609.TW)之歷史股價作為研究範例,建立雙層 LSTM 模型,並於預測誤差上導入高斯隸屬函數(Gaussian Membership Function)與三角形隸屬函數(Triangular Membership Function)所構成之模糊邏輯系統進行誤差修正。實驗結果顯示,融合模糊邏輯的 LSTM 模型在多次隨機預測中,其平均均方根誤差(Root Mean Square Error, RMSE)明顯低於單純使用 LSTM 的模型。該混合模型展現出更佳的預測穩定性,並提供更具彈性與可解釋性的預測結果。本研究顯示深度學習與模糊邏輯結合的潛力,未來可進一步應用於多種金融預測場景,以提升預測的準確度與模型透明度。
This study aims to enhance the accuracy and stability of stock price prediction by integrating the Long Short-Term Memory (LSTM) model with a Fuzzy Logic System (FLS). Historical stock price data from three Taiwanese companies with varying price levels—Hon Hai Precision Industry Co., Ltd. (2317.TW), Taiwan Semiconductor Manufacturing Company Limited (2330.TW), and Yang Ming Marine Transport Corporation (2609.TW)—are used as case studies. A two-layer LSTM model is constructed, and a fuzzy logic correction mechanism based on Gaussian and triangular membership functions is applied to adjust the prediction errors. Experimental results show that the LSTM model integrated with fuzzy logic consistently achieves lower average Root Mean Square Error (RMSE) across multiple randomized prediction trials compared to the standalone LSTM model. The proposed hybrid model demonstrates superior forecasting stability and provides more flexible and interpretable results. This study highlights the potential of combining deep learning with fuzzy logic systems and suggests future applications in various financial forecasting scenarios to improve predictive accuracy and model transparency.
致謝...p1
摘要...p2
Abstract...p3
目錄...p4
第一章 緒論...p5
第一節 研究背景與動機...p5
第二節 研究問題與目標...p6
第三節 研究範圍與限制...p7
第四節 研究方法概述...p7
第五節 章節架構說明...p8
第二章 文獻回顧...p9
第一節 LSTM(Long Short-Term Memory)模型介紹...p9
第二節 模糊邏輯(Fuzzy Logic)系統介紹...p11
第三節 前人研究成果...p17
第四節 研究空間...p19
第三章 研究方法...p21
第一節 研究設計...p21
第二節 研究對象與取樣方法...p21
第三節 標準化數據...p23
第四節 LSTM模型建構...p24
第五節 模糊邏輯系統設置...p25
第六節 模糊預測與誤差補償流程...p29
第七節 預測表現評估指標...p32
第四章 研究結果...p33
第一節 預測結果呈現...p33
第二節 結果分析與比較...p36
第三節 統計顯著性檢定...p43
第五章 討論與建議...p45
第一節 研究發現之意涵...p45
第二節 理論與實務貢獻...p46
第三節 研究限制與未來發展...p47
第四節 實務建議...p48
參考文獻...p49
程式碼與參數設定...p51
• Chen, S.-M., & Lee, L.-C. (2010). Fuzzy time-series models for forecasting enrolments. Applied Soft Computing, 10(4), 1497–1504.
• Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014). Learning phrase representations using RNN encoder–decoder for statistical machine translation. Proceedings of EMNLP 2014, 1724–1734.
• Fischer, T., & Krauss, C. (2018). Deep learning with long short term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669.
• Gers, F. A., & Schmidhuber, J. (2000). Recurrent nets that time and count. Proceedings of the IJCNN, 189–194.
• Greff, K., Srivastava, R. K., Koutník, J., Steunebrink, B. R., & Schmidhuber, J. (2017). LSTM: A search space odyssey. IEEE Transactions on Neural Networks and Learning Systems, 28(10), 2222–2232.
• Gulmez, A., Erdem, H., & Yilmaz, E. (2023). GA-attention-fuzzy-stock-net: Hybrid deep fuzzy system for intraday trading. Neurocomputing, 515, 310–324.
• Hochreiter, S., & Schmidhuber, J. (1997). Long short‑term memory. Neural Computation, 9(8), 1735–1780.
• Huang, P., Chen, T., & Kuo, Y. (2024). Gaussian versus triangular fuzzy post-compensation on deep neural stock predictors. Expert Systems with Applications (in press).
• Klir, G. J., & Yuan, B. (1995). Fuzzy sets and fuzzy logic: Theory and applications. Prentice Hall.
• Mamdani, E. H., & Assilian, S. (1975). An experiment in linguistic synthesis with a fuzzy logic controller. International Journal of Man‑Machine Studies, 7(1), 1–13.
• Merity, S., Keskar, N. S., & Socher, R. (2018). Regularizing and optimizing LSTM language models. ICLR.
• Porru, S., Pinna, A., & Marchesi, M. (2018). A fuzzy-rule-based portfolio selection system with dynamic risk adjustment. Expert Systems with Applications, 104, 113–123.
• Ragab, A., Abdel-Aziz, M., & Ibrahim, H. (2024). Fuzzy BiLSTM with improved CPSO for cryptocurrency volatility forecasting. Applied Soft Computing, 146, 111226.
• Ross, T. J. (2010). Fuzzy logic with engineering applications (3rd ed.). Wiley.
• Sutskever, I., Vinyals, O., & Le, Q. V. (2014). Sequence to sequence learning with neural networks. Advances in NIPS, 27, 3104–3112.
• Takagi, T., & Sugeno, M. (1985). Fuzzy identification of systems and its applications to modeling and control. IEEE Transactions on Systems, Man, and Cybernetics, 15(1), 116–132.
• Wang, W., Liu, F., & Zhang, J. (2021). Fuzzy inference-based LSTM for long-term wind speed forecasting. Renewable Energy, 179, 1184–1198.
• Zadeh, L. A. (1965). Fuzzy sets. Information and Control, 8(3), 338–353.
• Zadeh, L. A. (1975). The concept of a linguistic variable and its application to approximate reasoning—I. Information Sciences, 8(3), 199–249.
此全文未授權公開