【正文】
青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) 本科畢業(yè)論文 (設(shè)計(jì) ) 題 目 : ____神經(jīng)網(wǎng)絡(luò)在股價預(yù)測中的應(yīng)用 _______ Neural Networks Application in Stock Price Forecsting 學(xué) 院 : __ _自動化工程學(xué)院 _____________ 專 業(yè) : 自動化 _______________ 姓 名 : 指導(dǎo)教師 : _______ _ ________________ 2022年 6 月 5 日 青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) I 摘 要 隨著全球經(jīng)濟(jì)的高速發(fā)展和各國人們對于股票市場投資認(rèn)識的不斷加深,越來越多的人們踏入了股市投資這個行 業(yè),因此更多的投資者便越來越關(guān)心股票價格預(yù)測這個話題。由于股票投資一個最大的特點(diǎn)是更大的風(fēng)險就意味著更大的利益,因此股票投資者希望通過建立一個非常精確的股市價格的預(yù)測模型來獲得更多的利益,故股市價格的預(yù)測具有非常重要的應(yīng)用價值。 但是由于股票市場是一個十分繁雜的非線性的動力學(xué)系統(tǒng),影響股票市場變化的因素除了其自身所包含的規(guī)律之外,還包括經(jīng)濟(jì)環(huán)境等諸多因素,故一般的預(yù)測方法難以對其進(jìn)行準(zhǔn)確的預(yù)測。由于 BP 神經(jīng)網(wǎng)絡(luò)具有非常好的非線性映射能力、泛化能力和容納錯誤的能力,因而其非常適合用來解決股票預(yù)測領(lǐng)域中的一些 問題。 在本文中,詳細(xì)介紹了 BP 算法的基本知識,同時針對 BP 算法在股市預(yù)測中存在的學(xué)習(xí)速度慢、容易陷入局部極小值、預(yù)測結(jié)果精度不高等問題,提出一種改進(jìn)的 BP 神經(jīng)網(wǎng)絡(luò)算法。然后本文基于 BP 網(wǎng)絡(luò)進(jìn)行股市的價格進(jìn)行預(yù)測分析的原理,建立一個基于 BP網(wǎng)絡(luò)的股市價格的預(yù)測模型,然后采用改進(jìn)后的 BP 算法進(jìn)行股市預(yù)測,并通過 MATLAB軟件對其預(yù)測過程進(jìn)行仿真實(shí)驗(yàn),最終結(jié)果達(dá)到了所預(yù)料的效果。 關(guān)鍵詞 :神經(jīng)網(wǎng)絡(luò),股票預(yù)測, BP 算法 青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) II Abstract With the increasingly rapid economic development and the change of people39。s investment consciousness, stock investment has bee an important part of modern life, and the prediction of stock price has bee the focus of concern and research of investors. How to build a higher puting speed and a more accurate prediction model of stock market, not only has theoretical significance for financial investors, but also has a more important practical application value. Because the ine of stock investment is often proportional to the risk. Although the stock market is a highly plicated nonlinear system, its variation has its own regulation, it is influenced by the market, the macroeconomic environment and other noneconomic reasons, so ,it is hard to forecast the accuracy of the method. The BP neural is suitable to solve some problems in stock market prediction, because of its nonlinear mapping ability, generalization ability and good tolerance, In this thesis, the author introduces the basic knowledge of BP algorithm, as well as an improved algorithm of BP neural work which is in order to solve the problems of the BP algorithm in stock prediction in the presence of slow learning speed, easily falling into local minimum and low prediction accuracy. Then the theory of stock market prediction based on BP work and the shock market prediction model which is based on the BP work is established. The shock market prediction model applies the improved BP algorithm for stock market prediction, and simulation experiments are conducted on the prediction by MATLAB software. Then the final results have achieved the desired effect. Keywords: neural works, the stock prediction, BP algorithm 青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) III 目錄 摘要 ........................................................................ I Abstract ................................................................... II 目錄 ...................................................................... III 第 1 章 緒論 ................................................................. 1 課題的研究背景 ...................................................... 1 國內(nèi)外研究現(xiàn)狀 ...................................................... 2 研究目的及意義 ...................................................... 3 第 2 章 股票預(yù)測的有關(guān)知識 ................................................... 4 股票的基本知識 ...................................................... 4 股票預(yù)測的評價指標(biāo) .................................................. 5 第 3 章 神經(jīng)網(wǎng)絡(luò)理論及其算法 ................................................. 7 人工神經(jīng)網(wǎng)絡(luò)概論 .................................................... 7 神經(jīng)元模型 ..................................................... 7 神經(jīng)元傳遞函數(shù) ................................................. 8 人工神經(jīng)網(wǎng)絡(luò)的特點(diǎn) ............................................. 9 BP 神經(jīng)網(wǎng)絡(luò) ......................................................... 10 BP 網(wǎng)絡(luò)的訓(xùn)練過程 ............................................. 11 標(biāo)準(zhǔn) BP 神經(jīng)網(wǎng)絡(luò)的優(yōu)缺點(diǎn) ....................................... 13 BP 算法的改進(jìn) ....................................................... 14 第 4 章 基于 BP 網(wǎng)絡(luò)的股市預(yù)測 .............................................. 16 BP 網(wǎng)絡(luò)進(jìn)行股市預(yù)測的原理 ........................................... 16 BP 網(wǎng)絡(luò)預(yù)測方法設(shè)計(jì) ........................................... 16 BP 網(wǎng)絡(luò)用于股市預(yù)測的一般步驟 ................................. 17 預(yù)測模型參數(shù)的選擇 ................................................. 17 BP 網(wǎng)絡(luò)在 MATLAB 中的實(shí)現(xiàn) ............................................ 18 BP 神經(jīng)網(wǎng)絡(luò)進(jìn)行股市預(yù)測的準(zhǔn)備 ....................................... 20 BP 網(wǎng)絡(luò)預(yù)測的仿真及結(jié)果分析 ......................................... 20 原始數(shù)據(jù) ...................................................... 20 仿真結(jié)果 ...................................................... 25 青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) IV 實(shí)驗(yàn)結(jié)論 ...................................................... 28 結(jié)束語 ..................................................................... 30 謝辭 ....................................................................... 31 參考文獻(xiàn) ................................................................... 32 附錄 ....................................................................... 34 青島大學(xué)本科生畢業(yè)論文(設(shè)計(jì)) 1 第 1 章 緒論 課題的研究背景 股票是市場經(jīng)濟(jì)的產(chǎn)物,股票的發(fā)行與交易促進(jìn)了市場經(jīng)濟(jì)的發(fā)展。近一些年來,股票市場已經(jīng)顯露出非常強(qiáng)大的生命力,并逐漸成為證券行業(yè)乃至整個金融行業(yè)不可或缺的組成部分,而股票投資也成為了人們?nèi)粘I畹囊粋€重要組成部分。股市的突然變 化直接影響穩(wěn)定的金融市場和健康發(fā)展的經(jīng)濟(jì),這樣對金融市場會產(chǎn)生很大的振蕩。如果股票的突然變化能夠提前得到預(yù)測,我們就可以對股票市場進(jìn)行很大程度上的的調(diào)控和引導(dǎo),這將促進(jìn)我們經(jīng)濟(jì)的健康發(fā)展。 因?yàn)楣善笔袌鍪艿絿医?jīng)濟(jì)、政治等因素的影響,它的內(nèi)部規(guī)律十分復(fù)雜,無固定的變化周期,同時我國個人投資者對股票交易的行為可產(chǎn)生直接的影響,其比例已經(jīng)高達(dá)99%,由于投資者的個人心理狀態(tài)不同,因而造成了資本市場投資者結(jié)構(gòu)具有特殊性,從而使股價產(chǎn)生波動,使股價走勢變得難以把握。與機(jī)構(gòu)投資者相比,單獨(dú)進(jìn)行投資的人的專業(yè)知識比較 缺乏,人數(shù)也比較多,并且他們的風(fēng)險承受能力也相應(yīng)的比較差,這樣就對那些從事投資咨詢服務(wù)的各單位提出了一些更高的要求。非職業(yè)的股民一般無法長期的關(guān)注著股市的變動,由于他們還得從事各種職業(yè)。上述原因便給股票預(yù)測提出了新的課題。 股票預(yù)測分析是投資者衡量自身的投資風(fēng)險,并判斷其投資價值的前提和基礎(chǔ)。它是基于精確的考察統(tǒng)計(jì)和股市信息,運(yùn)用一些比較好的方法,從股市的內(nèi)在規(guī)律出發(fā),來確定股票的未來前景。投