A Hybrid Prediction Method For Stock Price Using LSTM And . - Hindawi

4m ago
1 Views
1 Downloads
2.58 MB
16 Pages
Last View : 4m ago
Last Download : 1m ago
Upload by : Rafael Ruffin
Transcription

HindawiComplexityVolume 2020, Article ID 6431712, 16 pageshttps://doi.org/10.1155/2020/6431712Research ArticleA Hybrid Prediction Method for Stock Price Using LSTM andEnsemble EMDYang Yujun ,1,2,3 Yang Yimei ,1,2 and Xiao Jianhua1,21School of Computer Science and Engineering, Huaihua University, Huaihua 418008, ChinaKey Laboratory of Intelligent Control Technology for Wuling-Mountain Ecological Agriculture in Hunan Province,Huaihua 418000, China3Key Laboratory of Wuling-Mountain Health Big Data Intelligent Processing and Application in Hunan Province Universities,Huaihua 418000, China2Correspondence should be addressed to Yang Yimei; yym1630@163.comReceived 24 July 2020; Revised 13 September 2020; Accepted 21 November 2020; Published 4 December 2020Academic Editor: Cheng LuCopyright 2020 Yang Yujun et al. This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.The stock market is a chaotic, complex, and dynamic financial market. The prediction of future stock prices is a concern andcontroversial research issue for researchers. More and more analysis and prediction methods are proposed by researchers. Weproposed a hybrid method for the prediction of future stock prices using LSTM and ensemble EMD in this paper. We usecomprehensive EMD to decompose the complex original stock price time series into several subsequences which are smoother,more regular and stable than the original time series. Then, we use the LSTM method to train and predict each subsequence.Finally, we obtained the prediction values of the original stock price time series by fused the prediction values of severalsubsequences. In the experiment, we selected five data to fully test the performance of the method. The comparison results with theother four prediction methods show that the predicted values show higher accuracy. The hybrid prediction method we proposed iseffective and accurate in future stock price prediction. Hence, the hybrid prediction method has practical application andreference value.1. IntroductionAccording to the statistics of China Securities Depositoryand Clearing Corporation, as of March 2020, there are 163.3million securities investors in China. Stock price forecastingis a difficult and meaningful task for financial institutionsand private investors. In order to effectively reduce investment risks and obtain stable returns on investment,many scholars put forward a large number of predictionmodels [1–9]. With the speedy development of big dataapplication technology, especially the application of machine learning and deep learning in the financial field, it hasa profound impact on investors. Research directions includelow-frequency data and high-frequency data [10]. Theprevious research studies are mainly divided into two kindsof methods: fundamental analysis and technical analysis[11].On the one hand, in technical analysis, people widely usemathematical statistical techniques to analyze historicalstock price trends and predict recent stock prices. In recentyears, many researchers have applied a variety of machinelearning algorithms to analyze and predict stock prices, suchas neural networks, multicore learning [12], stepwise regression analysis [13], and deep learning [14, 15]. Althoughmany algorithms have achieved good results in certain aspects, there are many parameter configurations and dataselection problems in the use of machine learning, which isstill an important area of research. On the other hand, in thefundamental analysis [16–18], people mainly use naturallanguage processing to analyze the company’s financial newsand financial statements to predict the future stock pricetrend.The long-short term memory (LSTM) is a very goodmethod in dealing with time series. Stock price data belongs

2to time-series data. Therefore, many researchers use LSTM[19–26] to analyze and predict stock prices. Many studieshave analyzed the correlation between time-series data[27–30], and the results show that LSTM has advantages intime-series data. In the literature [31], researchers usedLSTM to predict the coding unit split, and the experimentalresults proved the advantages of LSTM in terms of efficiency.Time-series data trend research is also a new form of timeseries data prediction, so LSTM is a natural choice.Empirical mode decomposition (EMD) technology isusually applied to nonstationary and nonlinear signals. EMDcan decompose nonlinear signals into several inherentmodal functions (IMF) adaptively. EMD can effectivelysuppress continuous noise, such as Gaussian noise [32].However, EMD cannot suppress intermittent noise andmixed noise. Ensemble empirical mode decomposition(EEMD) technology can solve the problem of noise-modemixing [33]. In the EEMD algorithm, a group of white noiseis first added to the original signal, and then it is decomposedinto several IMF. The average value of the correspondingIMF set is regarded as the correct result. EEMD will separatethe noise in different IMF from the original signal components [34], thus eliminating the noise-mode mixingphenomenon. In recent years, the application of EEMD hasattracted the attention of many researchers and scholars[27, 35–44]. In order to solve the problem that noise inpractical applications makes interference term retrievaldifficult, Zhang et al. [35] proposed a technique based onEEMD and EMD to achieve automatic interference termretrieval from the spectral domain low-coherence interferometry. The proposed algorithm uses EEMD technology tomake the relative error of coupling strength less than 2%. Tosolve the problem that Gaussian noise and non-Gaussiannoise seriously hinder the detection of rolling bearing defectsby traditional methods, Jiang et al. [36] proposed a newrolling bearing inspection method that combines bispectrumanalysis with improved integrated EMD. This method usesensemble empirical mode decomposition technology to havesuperior performance in reducing multiple backgroundnoises and can more effectively detect defects in rollingbearings. To solve the problem of the influence of the authenticity of the partial discharge signal on the evaluationaccuracy of the transformer insulation performance, Wanget al. [37] proposed a method to suppress white noise in PDsignals based on the integration of EMD and the combination of high-order statistics. This method uses EEMDdecomposition to the threshold and reconstructs each IMFto suppress the white noise in each component. To solve theproblem that most existing measurement methods onlyfocus on mathematical values and are affected by measurement errors, interference, and uncertainty, Wei et al.[38] proposed a new time-history comparison for vehiclesafety analysis by the integrating empirical mode decomposition method. This method uses EEMD decomposition tomake the trend signal to reflect the overall change and is notaffected by high-frequency interference. To solve the difficultproblem of wind speed prediction, Yang and Yang [39]proposed a hybrid BRR-EEMD short-term predictionmethod for wind speed based on the EMD and BayesianComplexityridge regression (BRR). This hybrid method uses theBayesian regression method and the EEMD to performregression prediction on each subsequence decomposed bythe EEMD and obtains good results in wind speed prediction. In order to find potential profit arbitrage opportunities when the returns of stock index futures contractsand stock index futures contracts continue to deviate fromfair prices in irrational and nonefficiently operating markets,Sun and Sheng [40] proposed a time-series analysis methodbased on integrated EMD. This method uses EEMD toanalyze the stock futures basis sequence and extracts amonotonically decreasing trend from the sequence to discover business opportunities. To improve the problem that asingle method of predicting complex and nonlinear stockprices cannot achieve good results, Al-Hnaity and Abbod[41] proposed a hybrid integrated model based on ensembleempirical mode decomposition and backpropagation neuralnetwork to predict the closing price of the stock index. Theresearchers [41] have proposed five hybrid predictionmodels: ensemble EMD-NN, ensemble EMD-Bagging-NN,ensemble EMD-Crossvalidation-NN, ensemble EMD-CVBagging-NN, and ensemble EMD-NN. The experimentalresults show that the performance of the ensemble EMDCV-Bagging-NN, ensemble EMD-Crossvalidation-NN, andensemble EMD-Bagging-NN models based on ensembleEMD are all a grade higher than that of the ensemble EMDNN model and significantly higher than the single neuralnetwork model.The typical forecasting scheme is based on the forecast ofthe time-series data itself and does not deal with the timeseries data itself. It has become a challenge that how tocombine the existing forecasting methods to improve theforecasting effect by decomposing the time-series data. Theabove methods use EEMD to decompose the time-seriesdata to improve the performance of the algorithm. How toeffectively decompose complex and nonlinear stock timeseries data for prediction has been puzzled by many researchers. Due to the uncertainty and nonlinearity of thestock time series, the deviation of a single method to predictstock prices is generally relatively large. The abovementionedhybrid method does indeed improve the algorithm significantly. Therefore, it can be boldly guessed that the hybridmethod generally can get better prediction results than thesingle specific method. Besides, the original complex timeseries was decomposed by the EEMD method into severalrelatively stable subsequence time series. By effectivelycombining several current effective forecasting methods, theforecasting results of relatively stable subsequence timeseries are theoretically better. Combining the features of theEEMD method based on the improved empirical modedecomposition method and the LSTM machine learningalgorithm, this paper proposes a hybrid LSTM-EEMDmethod for stock index price prediction.The rest of this paper is organized as follows. Threerelated terminology such as EMD, EEMD, and BRR arepresented in Section 2, while Section 3 briefly introduces theflowchart of our proposed LSTM-EEMD method and thestructure of our proposed hybrid LSTM-EEMD method. InSection 4, we describe the experiment data collection,

Complexityexperiment data preprocessing, and modeling processing. InSection 5, we describe the experimental results of ourproposed hybrid LSTM-EEMD method and analyze theresults of simulation experiment of our proposed hybridLSTM-EEMD method for prediction. Finally, the conclusionof this paper and some future works are described in Section8.2. Related WorksOver the years, many studies in the financial field havefocused on the problems of stock price prediction. Thesestudies mainly focus on three important research directions:(1) based on the machine learning method; (2) based on thetime-series analysis method; and (3) based on the hybridmethod. Below, we first briefly introduce related terminology. Then, we introduce the LSTM and EEMD related tothis study.2.1. Stock Price Predicting. Stock prices are a highly volatiletime series. Stock prices are affected by various factors suchas national policies, interest rates, exchange rates, industrynews, inflation, monetary policies, temporary events, investor sentiment, and human intervention. Predicting stockprices on the surface requires the establishment of a model ofthe relationship between stock prices and these factors.Although these factors will temporarily change the stockprice, in essence, these factors will be reflected in the stockprice and will not change the long-term trend of the stockprice. Therefore, stock prices can be predicted simply withhistorical data.This paper believes that there are many studies using asingle analysis method to predict stock market trends, butthe results are not good. Need to consider a variety of factorsor use a variety of techniques to build a hybrid model tofurther explore the prediction of stock prices. In-depthsystematic research is required to answer the followingresearch questions:RQ1 Which factors or combinations of factors mostaffect the trend of the stock?RQ2 What kind of analysis technology combination ismost suitable for stock trend prediction?RQ3 Do we need to use deep learning methods to minedata in order to better discover the internal relationshipbetween the stock market and influencing factors?RQ4 Whether the predictability of the analysis modeldepends on specific stock company characteristics,such as the domain, shareholder background, andpolicies?RQ5 In the context of stock market forecasting, have wedeveloped some effective forecasting methods?RQ6 We should focus on the analysis of the specificnature of the stock price itself, rather than solvinggeneral relationship problems. Whether the priceanalysis driven by influencing factors can be moreeffective?32.2. LSTM. The long-short term memory neural network isgenerally called LSTM. The LSTM was proposed byHochreiter and Schmidhuber [27] in 1997. The LSTM is aspecial type of recurrent neural network (RNN). The biggestfeature of the RNN which was improved and promoted byAlex Graves is that long-term dependent information of datacan be obtained. LSTM has been widely used in many fieldsand has achieved considerable success in many problems.Since LSTM can remember the long-term information ofdata, the design of LSTM can avoid the problem of longterm dependence. Currently, the LSTM is a very populartime-series forecasting model. Below, we first introduce theRNN network, followed by the LSTM neural network.3. Preliminaries3.1. Recurrent Neural Network. When we deal with problemsrelated to the timeline of events, such as speech recognition,sequence data, machine translation, and natural languageprocessing, traditional neural networks are powerless. RNNis specifically proposed to solve these problems. Because thecorrelation between the contexts of the text needs to beconsidered in the word processing, the weather conditions ofconsecutive days and the relationship between the weatherconditions of the day and the past days need to be consideredwhen predicting the weather.The RNN has a chain form of repeating neural networkmodules. In the standard RNN, this repeated structuralmodule has only a very simple structure, such as a tanh layer.The simple structure of the recurrent neural network isshown in Figure 1.The design intent of RNN is to solve nonlinear problemswith timelines. The way of internal connection of the recurrent neural network generally only feeds forward thedata, but in the bidirectional recurrent neural network, itallows the forward and backward directions to feedback thedata. The RNN has designed a feedback mechanism, so theRNN can easily update the weight or residual value of theprevious step. The design of the feedback mechanism is verysuitable for time-series forecasting. The RNN can extractrules from historical data and then use the rules to predicttime series. Figure 1 shows the simple structure of the RNN,and Figure 2 shows the expanded diagram of the basicstructure of the RNN. The left side of the arrow with unfoldlabel in Figure 2 is the basic structure of the recurrent neuralnetwork. The right side of the arrow with unfold label inFigure 2 is a continuous 3-level expansion of the basicstructure of the recurrent neural network. An input data xt isinput into module h of the RNN. The yt is an output ofmodule h of the RNN values at time t. Like other neuralnetworks, the recurrent neural network shares all parametersof each layer, such as Whx, Whh, and Wyh in Figure 2. Asshown in Figure 2, the RNN shares two input parametersWhx and Whh, and one output parameter Wyh. As we allknow, the number of parameters in each layer of a generalmultilayer neural network is different. Looking at Figure 2,we feel that the operation of each step of the recurrent neuralnetwork is the same on the surface. In fact, the output yt andthe input xt are different. The number of parameters of the

4Complexityht–1htAht 1tanhXt–1AXtXt 1Figure 1: The simple structure of the RNN.yt–1yWyhWhhytWyhhWhxht–1UnfoldWhxxXt–1yt 1WyhWhhWyhhtWhhWhxht 1WhxXtXt 1Figure 2: The expanded diagram of the basic structure of the RNN.recurrent neural network will be significantly reducedduring training. After multilevel expansion, the recurrentneural network becomes a multilayer neural network.Looking closely at Figure 2, we find that Whh between layerht-1 and ht is the same as Whh between layer ht and ht 1 inform. In value and meaning, Whh between layer ht-1 and ht isdifferent as Whh between layer ht and ht 1. Similarly, Whxand Wyh have similar situations.Although each layer of the RNN neural network has outputand input modules, the output and input modules of somelayers can be omitted in specific application scenarios. Forexample, in language translation, we only need the overalllanguage symbol output after the last language symbol is inputand do not need to know the language symbol output after eachlanguage symbol is input. The main feature of RNN is selfexpanding, with multiple hidden layers.As we all know, during network training, the recurrentneural network models are prone to disappearing gradients.Once the gradient of the model disappears completely, thealgorithm enters an endless loop, and the network trainingwill not end, eventually leading to RNN paralysis. Therefore,simple RNNs are prone to gradient disappearance problemsand are not suitable for long-term predicting.The purpose of designing LSTM is to avoid or reduce theappearance of the problem of vanishing gradient whiledealing with long-term correlation time series by simpleRNN. Based on the simple RNN, the LSTM adds the outputgates, the input gates, and the forget gates. In Figure 3, allthree gates are replaced by σ, which can effectively preventthe gradient from being eliminated. Therefore, LSTM cansolve long-term dependence problems. The purpose of designing memory neurons is to store some LSTM importantinformation for state information. In addition, in general,each gate has an activation function. This function performsnonlinear transformations or trade-offs on data. Generally,the forget gate ft can filter some status information. Equations (1)–(6)fd6 associated with the LSTM neural network isshown below. They are for the forget gate, input gate, inverseof the memory cell, memory cell, output gate, and output,respectively: ft σ Wf · ht 1 xt bf ,(1) it σ Wi · ht 1 xt bi , t tanh WC · ht 1 xt bC ,C(2)(3)

Complexity5ytCt–1Ct tanhftitσ Ctσ ottanhσht–1htXtFigure 3: The basic structure of the LSTM neural network. t,Ct ft Ct 1 it C(4) ot σ Wo · ht 1 xt bo ,(5)1ht ot tanh Ct .(6)0IMF 1; iteration 02–13.2. EMD. The empirical mode decomposition (EMD)proposed by Huang et al. in 1998 [42] is a widely usedadaptive time-frequency analysis method. Empirical modedecomposition is an effective decomposition method fortime-series data. Due to the common local features of timeseries data, the EMD method has extracted the required datafrom them and obtained very good results in applicationsfields. Hence, many scholars apply the EMD method inmany fields successfully. The prerequisite for EMD decomposition is the existence of the following three assumptions [43]:The following briefly introduces the decompositionprocess:(1) Suppose there is a signal s(i) with the black line inFigure 4. The extreme value of the signal is shown inred and blue dots. Form the upper wrapping linethrough all the blue dots and form the lowerwrapping line through all the red dots.(2) Calculate the average value of the lower and upperwrapping lines to form an average purple-red linem(i). Here, define the discrepancy line d(i) asd(i) s(i) m(i).(7)(3) Judge whether the discrepancy line d(i) is an IMFaccording to IMF judgment rules. If the discrepancyline d(i) comply with IMF judgment rules, the discrepancy line d(i) is the ith IMF f(i). Otherwise, thediscrepancy line d(i) is considered the signal s(i) and–2102030405060708090100 110 120Figure 4: The decomposition process chart of sequences.repeat two steps above until d(i) complies with IMFjudgment rules. After this, the IMF f(t) is defined asf(t) d(t),t 1, 2, 3, . . . , n 1.(8)(4) Calculate and get the IMF f(t) byr(t) s(i) c(t) ,(9)where r(t) is considered the residual signal.(5) Repeat execution the four steps above N times untilrunning status meets stop conditions. Obtain the NIMFs which meet withr 1 c 2 r2 , rN 1 cN rN .(10)(1) Next level signal has to contain more than two extreme values: one is the minimum value and theother is the maximum value

6Complexity(2) Determine the time scale of signal characteristicbased on the time difference between two extremevalues(3) If the data has only an inflection point and no extremum, more times judgments are needed to revealthe extremumFinally, the following equation (11) expresses the composition of the original signal s(i):Ns(i) fj (t) rj (t) .(11)j 13.3. EEMD. A classical EMD has mode mixing problemswhen decomposing complex vibration signals. To solve theabove problem, Wu and Huang [44] proposed the EEMDmethod in 2009. The EEMD method is short for ensembleempirical mode decomposition method. EEMD is commonly used for nonstationary signal decomposition.However, the EEMD method is significantly different fromWT transform and FFT transform. Here, WT is the wavelettransform and FFT is the fast Fourier transform. Without theneed for basis functions, the EEMD method can decomposeany complex signal. At the same time, the EEMD methodcan decompose any signal into many IMFs. Here, IMF is theintrinsic modal function. The decomposed IMF componentscontain local different feature signals. EEMD can decomposenonstationary data into multiple stable subdata and then useHilbert transform to get the time spectrum, which hasimportant physical significance. Comparative analysis withFFT and WT decomposition, the EEMD has the characteristics of intuitive, direct, posterior, and adaptive. TheEEMD method has adaptive characteristics because of thelocal features of the time-series signal. The following brieflyintroduces the process of EEMD decomposing data.Assume that the EEMD will decompose the sequence X.According to the steps of EEMD decomposition, n subsequences will be obtained after decomposition. These nsubsequences include n 1 IMFs and one remaining subsequence Rn. Here, these n 1 IMFs are n 1 componentsubsequence Ci(i 1, 2, ., n 1) of the original sequence X.These n 1 IMFs are named IMFi(i 1, 2, ., n 1). Theremaining subsequence Rn is sometimes named residualsubsequence. The detailed steps of using EEMD to decompose the sequence are introduced as follows:(1) Suppose there is a signal s(i) with the black line inFigure 4. The extreme value of the signal is shown inred and blue dots. Form the upper wrapping linethrough all the blue dots and form the lowerwrapping line through all the red dots. The lowerwrapping line is shown in the red line in Figure 4.And the upper wrapping line is the blue line inFigure 4.(2) Calculate the average value of the lower and upperwrapping lines to form a mean line m(i) which isshown in purple-red line in Figure 4.(3) Obtain the first component IMF1 of the signal s(i).The IMF1 is obtained by calculation formula d(i) s(i) m(i). This formula means the difference of theoriginal signal s(i) minus the mean line m(i) of thelower and upper wrapping lines.(4) Take the first component IMF1 d(i) as a new signals(i) and repeat execution the three steps above untilrunning status meets stop conditions. The followingdescribes the stop condition in detail:(a) The average m(i) is approximately 0(b) The number of signal lines d(i) passing throughzero points is greater than or equal to the numberof extreme points(c) The number of iterations reaches the setmaximum(5) Take subsequence d(i) as the ith IMF fi (i 1, 2, . . .,n 1). Obtain the residual R by calculating theformula r(i) s(i) d(i).(6) Take the residual r(i) as the new signal s(i) to calculate the (i 1)th IMF, and repeat execution the fivesteps above until running status meets stop conditions. The following describes the stop condition indetail:(a) The signal s(i) has been completely decomposedand has obtained all IMF(b) The number of decomposition level reaches theset maximumFinally, the following equation (12) expresses the composition of the original sequences and n subsequencesdecomposed by the EEMD:n 1x(t) Ci Rn ,i 1, 2, . . . , n 1,(12)i 1where the number n of subsequences depends on thecomplexity of the original sequences. Figure 5 shows the sintime series represented by equation (13) and the IMF diagram of it which is decomposed by the EEMD:x(t) sin(20πt) 2 sin(200πt) 3t,(13)where t 0, f, 2f, . . . , 1000f, f 0.001 .4. MethodologyThe principle of our hybrid prediction method LSTMEEMD for stock price based on LSTM and EEMD is introduced in detail in this section. These theories are thetheoretical formation of our forecasting methods. The following first introduces the flowchart, the basic structure, andthe process of the LSTM-EEMD hybrid stock index prediction method based on the ensemble empirical modedecomposition and the long-short term memory neuralnetwork. Our proposed hybrid LSTM-EEMD predictionmethod first uses the EEMD to decompose the stock indexsequences into a few simple stable subsequences. Then, thepredict result of each subsequence is predicted by the LSTM

Complexity7EEMD decomposition of sin .0IMF 120–2IMF 210–13R.210Time (s)Figure 5: The sequences of sin signal decomposed by the EEMD.method. Finally, the LSTM-EEMD obtains the final prediction result of the original stock index sequence by fusingall LSTM prediction results of several stock indexsubsequences.Figure 6 shows the structure and process of the LSTMEEMD method. The basic structure and process of theLSTM-EEMD predict method include three modules. Thethree modules are the EEMD decomposition module, LSTMprediction module, and fusion module. Our proposedLSTM-EEMD prediction method includes three stages andeight steps. Figure 7 shows three stages and eight steps of ourproposed method. The three stages of the proposed hybridLSTM-EEMD prediction method are input data, modelpredict, and evaluate model. The model evaluation stage andthe data input stage each include 4 steps, and the modelprediction stage includes 3 steps. The hybrid LSTM-EEMDprediction method is introduced in detail as follows:(1) The simulation data is generated. And the real-worldstock index time-series data are collected. Then, theoriginal stock index time-series data are preprocessed to make the data format of stock indextime series satisfy the format requirements for decomposition of the EEMD. Finally, the input data Xof the LSTM-EEMD hybrid prediction method isformed.(2) The input data X is decomposed into a few sequencesby the EEMD method. If n subsequences are obtained, then there are one residual subsequence Rnand n 1 subsequences. These n subsequences areStock index sequence input g LSTM predict for IMFi and RnSubP1SubPn-1SubP2SubPnFusionPrediction results totalPFigure 6: The structure and process of the LSTM-EEMD method.expressed as Rn, IMF1, IMF2, IMF3, . . ., IMFn 1,respectively.(3) The prediction process of any subsequence is notaffected by the prediction process of other subsequences. A LSTM model is established and trainedfor each subsequence. Hence, we need to build and

8ComplexityR2 to evaluate the LSTM-EEMD hybrid predictionmethod. According to these evaluation values, thepros and cons of the method can be judged.(1) Collection data.Data input(2) Preprocess data.(3) EEMD decompose data.Model predict(4) Obtain IMFi, Rn of n subsequenceIMF1IMF2 IMFn–1RnLSTM1LSTM2 LSTMn–1LSTMnSubP1SubP2 SubPn–1SubPnModel evaluationn (k SubP )(5) Fusion: totalP i 1ii(6) Obtain prediction results totalP.(7) Obtain RMSE, MAE, R2 of totalP(8) Model evaluation results.Figure 7: The data flowchart of our proposed hybrid method.train n LSTM for n independent subsequences. Thesen independent LSTM models are namedLSTMk(k 1, 2, . . ., n 1, n), respectively. We use then LSTM models to predict these n independentsubsequences and get n prediction values of the stockindex time series. These n prediction values arenamed SubPk (k 1, 2, . . ., n 1, n), respectively.(4) Fusion function is the core of hybrid method. Atpresent, there are many fusion functions, such assum, weighted sum, weighted product, and so on.The function of these fusion functions is to mergeseveral results into the final result. In this paper, theproposed hybrid stock prediction method selectedthe weighted sum as the fusion function. Theweighted results of all subsequences are accumulatedto form the final prediction result for the originalstock index data. The weight here can be presetaccording to the actual application. In this paper, weuse the same weight of each subsequence and theweight of each subsequence is 1.(5) Finally, we compare the predicted values with theactual value of stock index time-series data sequenceand calculate the values of RMSE, MAE, and R2. Weuse three evaluation criteria of the RMSE, MAE, andFigure 7 shows the predict progress and data flowchart ofthe proposed LSTM-EEMD method in this paper. Thepredict progress in Figure 7 can be introduced in 3 stages.The three stages are input data, model predict, and evaluatemodel. The stage of input data is divided into 4 steps. Thefour steps are collect data, preprocess data, decompose databy the EEMD, and generate n sequence. There are n LSTMmodel in the stage of model predict. The input data of theLSTM model is n sequences genera

the relationship between stock prices and these factors. Although these factors will temporarily change the stock price, in essence, these factors will be reflected in the stock price and will not change the long-term trend of the stock price. erefore, stock prices can be predicted simply with historical data.

Related Documents:

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

10 tips och tricks för att lyckas med ert sap-projekt 20 SAPSANYTT 2/2015 De flesta projektledare känner säkert till Cobb’s paradox. Martin Cobb verkade som CIO för sekretariatet för Treasury Board of Canada 1995 då han ställde frågan

service i Norge och Finland drivs inom ramen för ett enskilt företag (NRK. 1 och Yleisradio), fin ns det i Sverige tre: Ett för tv (Sveriges Television , SVT ), ett för radio (Sveriges Radio , SR ) och ett för utbildnings program (Sveriges Utbildningsradio, UR, vilket till följd av sin begränsade storlek inte återfinns bland de 25 största

Hotell För hotell anges de tre klasserna A/B, C och D. Det betyder att den "normala" standarden C är acceptabel men att motiven för en högre standard är starka. Ljudklass C motsvarar de tidigare normkraven för hotell, ljudklass A/B motsvarar kraven för moderna hotell med hög standard och ljudklass D kan användas vid

LÄS NOGGRANT FÖLJANDE VILLKOR FÖR APPLE DEVELOPER PROGRAM LICENCE . Apple Developer Program License Agreement Syfte Du vill använda Apple-mjukvara (enligt definitionen nedan) för att utveckla en eller flera Applikationer (enligt definitionen nedan) för Apple-märkta produkter. . Applikationer som utvecklas för iOS-produkter, Apple .

EPA Test Method 1: EPA Test Method 2 EPA Test Method 3A. EPA Test Method 4 . Method 3A Oxygen & Carbon Dioxide . EPA Test Method 3A. Method 6C SO. 2. EPA Test Method 6C . Method 7E NOx . EPA Test Method 7E. Method 10 CO . EPA Test Method 10 . Method 25A Hydrocarbons (THC) EPA Test Method 25A. Method 30B Mercury (sorbent trap) EPA Test Method .

SONATA Hybrid & Plug-in Hybrid Hybrid SE Hybrid Limited Plug-in Hybrid Plug-in Hybrid Limited Power & Handling 193 net hp, 2.0L GDI 4-cylinder hybrid engine with 38 kW permanent magnet high-power density motor —— 202 net hp, 2.0L GDI 4-cylinder hybrid engine with 50 kW permanent magnet high-power density motor —— 6-speed automatic .

An ecient stock market prediction model using hybrid feature reduction method based on variational autoencoders and recursive feature elimination Hakan Gunduz* Introduction Financial prediction, especially stock market prediction, has been one of the most attrac - tive topics for researchers and investors over the last decade. Stock market .