SlideShare a Scribd company logo
1 of 30
The forecasting of Shanghai Index trend Based on
Genetic Algorithm and Back Propagation Artificial
Neural Network Algorithm
Presented to:
Pro.Dr. : Magda B. Fayek
Date:1 April 2013
By Students :
Amr Abd El Latief Abd El Al
Allam Sheahata Hassanien Allam
Abdullah Shoukry Nagaty
2
Agenda
 Introduction
 Problem statement
 Methodology
 Experiment Results
 Conclustion
 Reference
Introduction
3
 Stock forecast, is a branch of economic forecasts,
which use the accurate survey statistics and stock
market information as the basis.
 If we can predict the stock's ups and downs, and
the stock market in a timely manner to reasonable
regulation and with health guide, it will continue to
develop our economy to provide a solid backing.
Introduction(cont)
4
 Existence of high yield and high-risk
characteristics in the stock market.
 people are continuing to explore its internal rules.
 many traditional time series analysis methods.
 Exponential smoothing method, ARMA (Auto
Regressive Moving Average Model) .
 ARCH (Auto Regressive Conditional
Heteroskedasticity Model)
Problem statement
 Paper presents a BP Artificial neural
network prediction modeling method for
forecasting the end of Shanghai index.
 Paper Uses the genetic algorithm to
optimize the BP network parameters,
weight and structure.
5
Methodology
6
Artificial Neural Network
7
Artificial Neural Network(Cont.)
Artificial Neural Network(Cont.)
 error back-propagation algorithm
 Its:
 error-correction learning rule.
 BP ANN Is Learning By Two
Teqhniques:
Supervised learning
Unsupervised learning
Genetic Algorithm
10
http://ib-poland.virtualave.net/ee/genetic1/3geneticalgorithms.htm
GA Steps To Optimize BP ANN:
 Intialization:
p , Crossover Scale – pc Crossover
Probability
Pm Mutation Probability
WIH(ji ) Connection Weights of Hidden L.
WHO(ji) Weights of Output L.
GA Steps To Optimize BP ANN:
 Coding :
Real Number Coding .
Initial Pobulation Takes 30
Fitness Function
. F(i) fitness value of indvidual i.
. Sum(E) sum of the squares errors
Fitness Function
 i=1…..N number of chromosomes.
 K= 1……4 for the number of output Layers
 P=1…….5 the study sample size
 T(k) Teacher Signal
Using genetic algorithm to optimize the
weights of the neural network
 1) Initialize: Initialize population P, including
crossover scale, Pc ,Pm and initialization for WIHij
and WHOji, Paper Author use the real number
coding, and the initial population take 30.
 2) Select and Computing fitness: each individual
evaluation function, and sort them; we can choose the
network by the probability value that show in
Formula; 15
Using genetic algorithm to optimize
the weights of the neural network
Using genetic algorithm to optimize the weights of
the neural network
 3) crossover: Individual G i and G i+1 crossover operation with probability Pc
to generate new individuals 'G i and , G i+1.
 4) mutate: Individual Gj mutate by probability Pm, and then produce new
individuals , Gj.
 5) evaluate new pop: Put the individuals into the new population P, and
calculate the new evaluation function of the individual.
 6) decide satisfactory: If you find a satisfactory individual, then the end, or
switch to 3).
 After achieve the required performance indicators, will eventually decode the
group's best individual you can get the optimized network connection weights.
17
Genetic algorithm to optimize the BP
network’s workflow
18
Establish Forecasting Model
 BP ANN :
 3 Layers ANN.
 parameters of Related Training
 start Training
 Use G A To Optimize ANN Weights
 Train the Optimized ANN Again
 Use the Optimized ANN To test Samples.
BP neural Network Weights
Optimization
 We need to use GA for BP weights to
be Optimized.
 Initialize Weights Encoding and Fitness
Calculations.
 Choose new Generation According to
Fitness.
 Repeat until Getting a set of Weights
to meet the Accuracy Req’s.
Training of BP ANN (again)
 Asseign the Weights and Threshold
Optimized to the BP ANN.
 Use training Sample To Train The BP
ANN again .
 Untill NN o/p and Sample o/p Tailed .
 Terminate the Trainig.
Experiment Results(Cont.)
 After a series of training, eventually selected parameters are:
a) Population scale: popu=30
b) Selection rate: opti=0.09
c) Crossover: arithXover
d) Crossover rate: Pc=0.95
e) Mutation: nonUnifMutation
f) Mutation rate: Pm=0.1
g) Genetic generations: gen=120
22
Experiment Results(Cont.)
 The training of the BP neural network after optimized Using genetic algorithm
program assign the weights and threshold (W1, B1, B2 W2) that after
optimized to the BP neural network.
 Use the training sample, to train BP network again, each 2,000 times, until
network output and sample output tallied, terminate the training.
 Stock Index Forecast Using the established GA-BP neural network based
stock index forecasting model to predict the stock price index Output the
results of the model predicted values and target values, and draw curve, to
used to verify the prediction accuracy, operability and practicability.
23
Experiment result(Cont.)
24
Experiment result(Cont.)
 R .. BP ANN Target Value
 P .. Predicted Value
 E .. Absolute Error.
Experiment result(Cont.)
26
Conclusion
 GA-BP algorithm used to avoid the BP algorithm into a local minimum,
slow convergence problem, and also to overcome the GA in a similar
form of exhaustive search for optimal solution search time caused by
long, slow shortcomings, is a fast, reliable method.
 Paper results shows that BP neural network using GA for the learning of
rules and to optimize the network weights and weights of the network and
the fixed threshold can improve the accuracy of stock index prediction
model.
27
References
 [1] Shen Bing. Equity Investment Analysis [M]. Chongqing: Chongqing
Publishing House, 2002: 94.
 [2] Chu Yuan. Securities Investment Principles [M]. Beijing: Lixin Accounting
Book Publishing ,2003:74-78.
 [3] Liu Yong. China's stock market and the empirical relationship between
macroeconomic variables [J]. Finance and Trade Economics, 2004 (4): 21-27.
 [4] Zhang Ling Song, Tao Chongen. Stock technical analysis tool [M]. Beijing:
China Encyclopedia Publishing House, 1994: 52-56 .
 [5] Ma Weihua, LI Yu-hong. Stock index futures and stock market development
in China [J]. Finance Teaching and Research, 2004, (5): 50-54.
 [6] E.W. Saad, D. V. Prokhorov, D.C. Wunsch. Comparative Study of Stock
Trend Prediction Using Time Delay, Recurrent and Probability Neural Networks.
IEEE Trans on Nerual Netowrks, 1998, 9(6): 1 4561 470.
28
Questions
?
Thank You

More Related Content

What's hot

stock market prediction
stock market predictionstock market prediction
stock market predictionSRIGINES
 
Improved stock prediction accuracy using ema technique
Improved stock prediction accuracy using ema techniqueImproved stock prediction accuracy using ema technique
Improved stock prediction accuracy using ema techniquePrashant Singhal
 
IRJET- Stock Price Prediction using Long Short Term Memory
IRJET-  	  Stock Price Prediction using Long Short Term MemoryIRJET-  	  Stock Price Prediction using Long Short Term Memory
IRJET- Stock Price Prediction using Long Short Term MemoryIRJET Journal
 
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...Hari KC
 
Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Hari KC
 
Stock market prediction using data mining
Stock market prediction using data miningStock market prediction using data mining
Stock market prediction using data miningShivakumarSoppannavar
 
Predicting Stock Market Price Using Support Vector Regression
Predicting Stock Market Price Using Support Vector RegressionPredicting Stock Market Price Using Support Vector Regression
Predicting Stock Market Price Using Support Vector RegressionChittagong Independent University
 
Stock Price Prediction
Stock Price PredictionStock Price Prediction
Stock Price PredictionManisha Mishra
 
Stock Market Prediction
Stock Market Prediction Stock Market Prediction
Stock Market Prediction SalmanShezad
 
IRJET- Prediction in Stock Marketing
IRJET- Prediction in Stock MarketingIRJET- Prediction in Stock Marketing
IRJET- Prediction in Stock MarketingIRJET Journal
 
Aditya report finaL
Aditya report finaLAditya report finaL
Aditya report finaL2767882
 
IRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET Journal
 
Indian Stock Market Using Machine Learning(Volume1, oct 2017)
Indian Stock Market Using Machine Learning(Volume1, oct 2017)Indian Stock Market Using Machine Learning(Volume1, oct 2017)
Indian Stock Market Using Machine Learning(Volume1, oct 2017)sk joshi
 
IRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET Journal
 
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...Richa Handa
 
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTION
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTIONIMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTION
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTIONIJDKP
 

What's hot (20)

stock market prediction
stock market predictionstock market prediction
stock market prediction
 
STOCK MARKET PREDICTION
STOCK MARKET PREDICTIONSTOCK MARKET PREDICTION
STOCK MARKET PREDICTION
 
Improved stock prediction accuracy using ema technique
Improved stock prediction accuracy using ema techniqueImproved stock prediction accuracy using ema technique
Improved stock prediction accuracy using ema technique
 
IRJET- Stock Price Prediction using Long Short Term Memory
IRJET-  	  Stock Price Prediction using Long Short Term MemoryIRJET-  	  Stock Price Prediction using Long Short Term Memory
IRJET- Stock Price Prediction using Long Short Term Memory
 
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
PERFORMANCE ANALYSIS and PREDICTION of NEPAL STOCK MARKET (NEPSE) for INVESTM...
 
Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...Performance analysis and prediction of stock market for investment decision u...
Performance analysis and prediction of stock market for investment decision u...
 
Stock market prediction using data mining
Stock market prediction using data miningStock market prediction using data mining
Stock market prediction using data mining
 
Predicting Stock Market Price Using Support Vector Regression
Predicting Stock Market Price Using Support Vector RegressionPredicting Stock Market Price Using Support Vector Regression
Predicting Stock Market Price Using Support Vector Regression
 
Stock Price Prediction
Stock Price PredictionStock Price Prediction
Stock Price Prediction
 
Stock prediction system using ann
Stock prediction system using annStock prediction system using ann
Stock prediction system using ann
 
Stock Market Prediction
Stock Market Prediction Stock Market Prediction
Stock Market Prediction
 
IRJET- Prediction in Stock Marketing
IRJET- Prediction in Stock MarketingIRJET- Prediction in Stock Marketing
IRJET- Prediction in Stock Marketing
 
Aditya report finaL
Aditya report finaLAditya report finaL
Aditya report finaL
 
IRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine LearningIRJET- Stock Market Prediction using Machine Learning
IRJET- Stock Market Prediction using Machine Learning
 
Indian Stock Market Using Machine Learning(Volume1, oct 2017)
Indian Stock Market Using Machine Learning(Volume1, oct 2017)Indian Stock Market Using Machine Learning(Volume1, oct 2017)
Indian Stock Market Using Machine Learning(Volume1, oct 2017)
 
IRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning AlgorithmIRJET - Stock Market Prediction using Machine Learning Algorithm
IRJET - Stock Market Prediction using Machine Learning Algorithm
 
Fuzzy Presentation
Fuzzy PresentationFuzzy Presentation
Fuzzy Presentation
 
Stock Market Prediction Using ANN
Stock Market Prediction Using ANNStock Market Prediction Using ANN
Stock Market Prediction Using ANN
 
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...
DEVELOPMENT OF INTELLIGENT PREDICTIVE MODEL FOR STOCK DATA PREDICTION WITH FE...
 
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTION
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTIONIMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTION
IMPROVED TURNOVER PREDICTION OF SHARES USING HYBRID FEATURE SELECTION
 

Viewers also liked

Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications Ahmed_hashmi
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networksstellajoseph
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkDEEPASHRI HK
 
Advancing Climate Prediction Science – Decadal Prediction
Advancing Climate Prediction Science – Decadal PredictionAdvancing Climate Prediction Science – Decadal Prediction
Advancing Climate Prediction Science – Decadal PredictionPermaculture Cooperative
 
Artificial Neural Networks for Storm Surge Prediction in North Carolina
Artificial Neural Networks for Storm Surge Prediction in North CarolinaArtificial Neural Networks for Storm Surge Prediction in North Carolina
Artificial Neural Networks for Storm Surge Prediction in North CarolinaAnton Bezuglov
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyayabhishek upadhyay
 
Presentation: Wind Speed Prediction using Radial Basis Function Neural Network
Presentation: Wind Speed Prediction using Radial Basis Function Neural NetworkPresentation: Wind Speed Prediction using Radial Basis Function Neural Network
Presentation: Wind Speed Prediction using Radial Basis Function Neural NetworkArzam Muzaffar Kotriwala
 
Application of cgpann in solar irradiance
Application of cgpann in solar irradianceApplication of cgpann in solar irradiance
Application of cgpann in solar irradianceJawad Khan
 
Goswami Climate Change And Indian Monsoon Cse Workshop
Goswami  Climate Change And Indian Monsoon Cse WorkshopGoswami  Climate Change And Indian Monsoon Cse Workshop
Goswami Climate Change And Indian Monsoon Cse Workshopequitywatch
 
DisEMBL - Artificial neural network prediction of protein disorder
DisEMBL - Artificial neural network prediction of protein disorderDisEMBL - Artificial neural network prediction of protein disorder
DisEMBL - Artificial neural network prediction of protein disorderLars Juhl Jensen
 
Rudi hartanto tutorial 01 rapid miner 5.3 decision tree
Rudi hartanto   tutorial 01 rapid miner 5.3 decision treeRudi hartanto   tutorial 01 rapid miner 5.3 decision tree
Rudi hartanto tutorial 01 rapid miner 5.3 decision treeilmuBiner
 
Neural networks for the prediction and forecasting of water resources variables
Neural networks for the prediction and forecasting of water resources variablesNeural networks for the prediction and forecasting of water resources variables
Neural networks for the prediction and forecasting of water resources variablesJonathan D'Cruz
 
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...u772020
 
Short-term Load Forecasting based on Neural network and Local Regression
Short-term Load Forecasting based on Neural network and Local RegressionShort-term Load Forecasting based on Neural network and Local Regression
Short-term Load Forecasting based on Neural network and Local RegressionJie Bao
 
Back propagation
Back propagationBack propagation
Back propagationNagarajan
 
RapidMiner: Data Mining And Rapid Miner
RapidMiner: Data Mining And Rapid MinerRapidMiner: Data Mining And Rapid Miner
RapidMiner: Data Mining And Rapid MinerDataminingTools Inc
 

Viewers also liked (20)

Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Advancing Climate Prediction Science – Decadal Prediction
Advancing Climate Prediction Science – Decadal PredictionAdvancing Climate Prediction Science – Decadal Prediction
Advancing Climate Prediction Science – Decadal Prediction
 
Artificial Neural Networks for Storm Surge Prediction in North Carolina
Artificial Neural Networks for Storm Surge Prediction in North CarolinaArtificial Neural Networks for Storm Surge Prediction in North Carolina
Artificial Neural Networks for Storm Surge Prediction in North Carolina
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyay
 
Presentation: Wind Speed Prediction using Radial Basis Function Neural Network
Presentation: Wind Speed Prediction using Radial Basis Function Neural NetworkPresentation: Wind Speed Prediction using Radial Basis Function Neural Network
Presentation: Wind Speed Prediction using Radial Basis Function Neural Network
 
Application of cgpann in solar irradiance
Application of cgpann in solar irradianceApplication of cgpann in solar irradiance
Application of cgpann in solar irradiance
 
Goswami Climate Change And Indian Monsoon Cse Workshop
Goswami  Climate Change And Indian Monsoon Cse WorkshopGoswami  Climate Change And Indian Monsoon Cse Workshop
Goswami Climate Change And Indian Monsoon Cse Workshop
 
DisEMBL - Artificial neural network prediction of protein disorder
DisEMBL - Artificial neural network prediction of protein disorderDisEMBL - Artificial neural network prediction of protein disorder
DisEMBL - Artificial neural network prediction of protein disorder
 
Rudi hartanto tutorial 01 rapid miner 5.3 decision tree
Rudi hartanto   tutorial 01 rapid miner 5.3 decision treeRudi hartanto   tutorial 01 rapid miner 5.3 decision tree
Rudi hartanto tutorial 01 rapid miner 5.3 decision tree
 
NS2 3.5 Weather Forecasting
NS2 3.5 Weather ForecastingNS2 3.5 Weather Forecasting
NS2 3.5 Weather Forecasting
 
Neural networks for the prediction and forecasting of water resources variables
Neural networks for the prediction and forecasting of water resources variablesNeural networks for the prediction and forecasting of water resources variables
Neural networks for the prediction and forecasting of water resources variables
 
Neural
NeuralNeural
Neural
 
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...
FORECASTING OF RENEWABLE ENERGY PRODUCTION BY USING GENETIC ALGORITHM (GA) FO...
 
Short-term Load Forecasting based on Neural network and Local Regression
Short-term Load Forecasting based on Neural network and Local RegressionShort-term Load Forecasting based on Neural network and Local Regression
Short-term Load Forecasting based on Neural network and Local Regression
 
Advanced Predictive Modeling with R and RapidMiner Studio 7
Advanced Predictive Modeling with R and RapidMiner Studio 7Advanced Predictive Modeling with R and RapidMiner Studio 7
Advanced Predictive Modeling with R and RapidMiner Studio 7
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Back propagation
Back propagationBack propagation
Back propagation
 
RapidMiner: Data Mining And Rapid Miner
RapidMiner: Data Mining And Rapid MinerRapidMiner: Data Mining And Rapid Miner
RapidMiner: Data Mining And Rapid Miner
 

Similar to Stock market analysis using ga and neural network

An Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal ClustersAn Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal ClustersIJCSEA Journal
 
Amnestic neural network for classification
Amnestic neural network for classificationAmnestic neural network for classification
Amnestic neural network for classificationlolokikipipi
 
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...cscpconf
 
A report on designing a model for improving CPU Scheduling by using Machine L...
A report on designing a model for improving CPU Scheduling by using Machine L...A report on designing a model for improving CPU Scheduling by using Machine L...
A report on designing a model for improving CPU Scheduling by using Machine L...MuskanRath1
 
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...Disease Classification using ECG Signal Based on PCA Feature along with GA & ...
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...IRJET Journal
 
CI_GA_module2_ABC_updatedG.ppt .
CI_GA_module2_ABC_updatedG.ppt           .CI_GA_module2_ABC_updatedG.ppt           .
CI_GA_module2_ABC_updatedG.ppt .Athar739197
 
Software Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia WeightSoftware Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia WeightWaqas Tariq
 
Black-box modeling of nonlinear system using evolutionary neural NARX model
Black-box modeling of nonlinear system using evolutionary neural NARX modelBlack-box modeling of nonlinear system using evolutionary neural NARX model
Black-box modeling of nonlinear system using evolutionary neural NARX modelIJECEIAES
 
Face Recognition Using Neural Networks
Face Recognition Using Neural NetworksFace Recognition Using Neural Networks
Face Recognition Using Neural NetworksCSCJournals
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Editor IJARCET
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Editor IJARCET
 
A Threshold Fuzzy Entropy Based Feature Selection: Comparative Study
A Threshold Fuzzy Entropy Based Feature Selection:  Comparative StudyA Threshold Fuzzy Entropy Based Feature Selection:  Comparative Study
A Threshold Fuzzy Entropy Based Feature Selection: Comparative StudyIJMER
 
Performance Comparision of Machine Learning Algorithms
Performance Comparision of Machine Learning AlgorithmsPerformance Comparision of Machine Learning Algorithms
Performance Comparision of Machine Learning AlgorithmsDinusha Dilanka
 
自然方策勾配法の基礎と応用
自然方策勾配法の基礎と応用自然方策勾配法の基礎と応用
自然方策勾配法の基礎と応用Ryo Iwaki
 
Optimal buffer allocation in
Optimal buffer allocation inOptimal buffer allocation in
Optimal buffer allocation incsandit
 
Parameter Optimisation for Automated Feature Point Detection
Parameter Optimisation for Automated Feature Point DetectionParameter Optimisation for Automated Feature Point Detection
Parameter Optimisation for Automated Feature Point DetectionDario Panada
 
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...A Mathematical Programming Approach for Selection of Variables in Cluster Ana...
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...IJRES Journal
 
I041214752
I041214752I041214752
I041214752IOSR-JEN
 
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...Pratheeban Rajendran
 

Similar to Stock market analysis using ga and neural network (20)

An Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal ClustersAn Automatic Clustering Technique for Optimal Clusters
An Automatic Clustering Technique for Optimal Clusters
 
Amnestic neural network for classification
Amnestic neural network for classificationAmnestic neural network for classification
Amnestic neural network for classification
 
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
 
A report on designing a model for improving CPU Scheduling by using Machine L...
A report on designing a model for improving CPU Scheduling by using Machine L...A report on designing a model for improving CPU Scheduling by using Machine L...
A report on designing a model for improving CPU Scheduling by using Machine L...
 
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...Disease Classification using ECG Signal Based on PCA Feature along with GA & ...
Disease Classification using ECG Signal Based on PCA Feature along with GA & ...
 
CI_GA_module2_ABC_updatedG.ppt .
CI_GA_module2_ABC_updatedG.ppt           .CI_GA_module2_ABC_updatedG.ppt           .
CI_GA_module2_ABC_updatedG.ppt .
 
Software Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia WeightSoftware Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia Weight
 
Black-box modeling of nonlinear system using evolutionary neural NARX model
Black-box modeling of nonlinear system using evolutionary neural NARX modelBlack-box modeling of nonlinear system using evolutionary neural NARX model
Black-box modeling of nonlinear system using evolutionary neural NARX model
 
Perceptron in ANN
Perceptron in ANNPerceptron in ANN
Perceptron in ANN
 
Face Recognition Using Neural Networks
Face Recognition Using Neural NetworksFace Recognition Using Neural Networks
Face Recognition Using Neural Networks
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
 
Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138Volume 2-issue-6-2130-2138
Volume 2-issue-6-2130-2138
 
A Threshold Fuzzy Entropy Based Feature Selection: Comparative Study
A Threshold Fuzzy Entropy Based Feature Selection:  Comparative StudyA Threshold Fuzzy Entropy Based Feature Selection:  Comparative Study
A Threshold Fuzzy Entropy Based Feature Selection: Comparative Study
 
Performance Comparision of Machine Learning Algorithms
Performance Comparision of Machine Learning AlgorithmsPerformance Comparision of Machine Learning Algorithms
Performance Comparision of Machine Learning Algorithms
 
自然方策勾配法の基礎と応用
自然方策勾配法の基礎と応用自然方策勾配法の基礎と応用
自然方策勾配法の基礎と応用
 
Optimal buffer allocation in
Optimal buffer allocation inOptimal buffer allocation in
Optimal buffer allocation in
 
Parameter Optimisation for Automated Feature Point Detection
Parameter Optimisation for Automated Feature Point DetectionParameter Optimisation for Automated Feature Point Detection
Parameter Optimisation for Automated Feature Point Detection
 
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...A Mathematical Programming Approach for Selection of Variables in Cluster Ana...
A Mathematical Programming Approach for Selection of Variables in Cluster Ana...
 
I041214752
I041214752I041214752
I041214752
 
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...
Predicting and Optimizing the End Price of an Online Auction using Genetic-Fu...
 

More from Amr Abd El Latief

More from Amr Abd El Latief (12)

master-journey.pptx
master-journey.pptxmaster-journey.pptx
master-journey.pptx
 
Micro frontend
Micro frontendMicro frontend
Micro frontend
 
I feel presentation [autosaved]
I feel presentation [autosaved]I feel presentation [autosaved]
I feel presentation [autosaved]
 
Design p atterns
Design p atternsDesign p atterns
Design p atterns
 
AngularJs advanced Topics
AngularJs advanced TopicsAngularJs advanced Topics
AngularJs advanced Topics
 
Angular js slides
Angular js slidesAngular js slides
Angular js slides
 
Data mining concepts and work
Data mining concepts and workData mining concepts and work
Data mining concepts and work
 
Test vector compression
Test vector compressionTest vector compression
Test vector compression
 
Designing energy efficient lte
Designing energy efficient lteDesigning energy efficient lte
Designing energy efficient lte
 
Chromium os architecture report
Chromium os  architecture reportChromium os  architecture report
Chromium os architecture report
 
Marketing plane of cadbry bupply kids
Marketing plane of cadbry bupply kidsMarketing plane of cadbry bupply kids
Marketing plane of cadbry bupply kids
 
Test vector compression in Digital Testing
Test vector compression in Digital Testing Test vector compression in Digital Testing
Test vector compression in Digital Testing
 

Recently uploaded

VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...Suhani Kapoor
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 

Recently uploaded (20)

VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 

Stock market analysis using ga and neural network

  • 1. The forecasting of Shanghai Index trend Based on Genetic Algorithm and Back Propagation Artificial Neural Network Algorithm Presented to: Pro.Dr. : Magda B. Fayek Date:1 April 2013 By Students : Amr Abd El Latief Abd El Al Allam Sheahata Hassanien Allam Abdullah Shoukry Nagaty
  • 2. 2 Agenda  Introduction  Problem statement  Methodology  Experiment Results  Conclustion  Reference
  • 3. Introduction 3  Stock forecast, is a branch of economic forecasts, which use the accurate survey statistics and stock market information as the basis.  If we can predict the stock's ups and downs, and the stock market in a timely manner to reasonable regulation and with health guide, it will continue to develop our economy to provide a solid backing.
  • 4. Introduction(cont) 4  Existence of high yield and high-risk characteristics in the stock market.  people are continuing to explore its internal rules.  many traditional time series analysis methods.  Exponential smoothing method, ARMA (Auto Regressive Moving Average Model) .  ARCH (Auto Regressive Conditional Heteroskedasticity Model)
  • 5. Problem statement  Paper presents a BP Artificial neural network prediction modeling method for forecasting the end of Shanghai index.  Paper Uses the genetic algorithm to optimize the BP network parameters, weight and structure. 5
  • 9. Artificial Neural Network(Cont.)  error back-propagation algorithm  Its:  error-correction learning rule.  BP ANN Is Learning By Two Teqhniques: Supervised learning Unsupervised learning
  • 11. GA Steps To Optimize BP ANN:  Intialization: p , Crossover Scale – pc Crossover Probability Pm Mutation Probability WIH(ji ) Connection Weights of Hidden L. WHO(ji) Weights of Output L.
  • 12. GA Steps To Optimize BP ANN:  Coding : Real Number Coding . Initial Pobulation Takes 30
  • 13. Fitness Function . F(i) fitness value of indvidual i. . Sum(E) sum of the squares errors
  • 14. Fitness Function  i=1…..N number of chromosomes.  K= 1……4 for the number of output Layers  P=1…….5 the study sample size  T(k) Teacher Signal
  • 15. Using genetic algorithm to optimize the weights of the neural network  1) Initialize: Initialize population P, including crossover scale, Pc ,Pm and initialization for WIHij and WHOji, Paper Author use the real number coding, and the initial population take 30.  2) Select and Computing fitness: each individual evaluation function, and sort them; we can choose the network by the probability value that show in Formula; 15
  • 16. Using genetic algorithm to optimize the weights of the neural network
  • 17. Using genetic algorithm to optimize the weights of the neural network  3) crossover: Individual G i and G i+1 crossover operation with probability Pc to generate new individuals 'G i and , G i+1.  4) mutate: Individual Gj mutate by probability Pm, and then produce new individuals , Gj.  5) evaluate new pop: Put the individuals into the new population P, and calculate the new evaluation function of the individual.  6) decide satisfactory: If you find a satisfactory individual, then the end, or switch to 3).  After achieve the required performance indicators, will eventually decode the group's best individual you can get the optimized network connection weights. 17
  • 18. Genetic algorithm to optimize the BP network’s workflow 18
  • 19. Establish Forecasting Model  BP ANN :  3 Layers ANN.  parameters of Related Training  start Training  Use G A To Optimize ANN Weights  Train the Optimized ANN Again  Use the Optimized ANN To test Samples.
  • 20. BP neural Network Weights Optimization  We need to use GA for BP weights to be Optimized.  Initialize Weights Encoding and Fitness Calculations.  Choose new Generation According to Fitness.  Repeat until Getting a set of Weights to meet the Accuracy Req’s.
  • 21. Training of BP ANN (again)  Asseign the Weights and Threshold Optimized to the BP ANN.  Use training Sample To Train The BP ANN again .  Untill NN o/p and Sample o/p Tailed .  Terminate the Trainig.
  • 22. Experiment Results(Cont.)  After a series of training, eventually selected parameters are: a) Population scale: popu=30 b) Selection rate: opti=0.09 c) Crossover: arithXover d) Crossover rate: Pc=0.95 e) Mutation: nonUnifMutation f) Mutation rate: Pm=0.1 g) Genetic generations: gen=120 22
  • 23. Experiment Results(Cont.)  The training of the BP neural network after optimized Using genetic algorithm program assign the weights and threshold (W1, B1, B2 W2) that after optimized to the BP neural network.  Use the training sample, to train BP network again, each 2,000 times, until network output and sample output tallied, terminate the training.  Stock Index Forecast Using the established GA-BP neural network based stock index forecasting model to predict the stock price index Output the results of the model predicted values and target values, and draw curve, to used to verify the prediction accuracy, operability and practicability. 23
  • 25. Experiment result(Cont.)  R .. BP ANN Target Value  P .. Predicted Value  E .. Absolute Error.
  • 27. Conclusion  GA-BP algorithm used to avoid the BP algorithm into a local minimum, slow convergence problem, and also to overcome the GA in a similar form of exhaustive search for optimal solution search time caused by long, slow shortcomings, is a fast, reliable method.  Paper results shows that BP neural network using GA for the learning of rules and to optimize the network weights and weights of the network and the fixed threshold can improve the accuracy of stock index prediction model. 27
  • 28. References  [1] Shen Bing. Equity Investment Analysis [M]. Chongqing: Chongqing Publishing House, 2002: 94.  [2] Chu Yuan. Securities Investment Principles [M]. Beijing: Lixin Accounting Book Publishing ,2003:74-78.  [3] Liu Yong. China's stock market and the empirical relationship between macroeconomic variables [J]. Finance and Trade Economics, 2004 (4): 21-27.  [4] Zhang Ling Song, Tao Chongen. Stock technical analysis tool [M]. Beijing: China Encyclopedia Publishing House, 1994: 52-56 .  [5] Ma Weihua, LI Yu-hong. Stock index futures and stock market development in China [J]. Finance Teaching and Research, 2004, (5): 50-54.  [6] E.W. Saad, D. V. Prokhorov, D.C. Wunsch. Comparative Study of Stock Trend Prediction Using Time Delay, Recurrent and Probability Neural Networks. IEEE Trans on Nerual Netowrks, 1998, 9(6): 1 4561 470. 28