Optimized Back propagation Learning in Neural. Networks with Bacterial Foraging Optimization to. Predict Forex Gold Index (XAUUSD)

Similar documents
Open Access Research on Application of Neural Network in Computer Network Security Evaluation. Shujuan Jin *

Analecta Vol. 8, No. 2 ISSN

Prediction Model for Crude Oil Price Using Artificial Neural Networks

Performance Evaluation On Human Resource Management Of China S Commercial Banks Based On Improved Bp Neural Networks

Forecasting of Economic Quantities using Fuzzy Autoregressive Model and Fuzzy Neural Network

International Journal of Software and Web Sciences (IJSWS)

Application of Neural Network in User Authentication for Smart Home System

Price Prediction of Share Market using Artificial Neural Network (ANN)

Forecasting Of Indian Stock Market Index Using Artificial Neural Network

Review on Financial Forecasting using Neural Network and Data Mining Technique

Optimization of PID parameters with an improved simplex PSO

Recurrent Neural Networks

Electroencephalography Analysis Using Neural Network and Support Vector Machine during Sleep

A Robustness Simulation Method of Project Schedule based on the Monte Carlo Method

Computational Neural Network for Global Stock Indexes Prediction

Neural Network Based Forecasting of Foreign Currency Exchange Rates

Impact of Feature Selection on the Performance of Wireless Intrusion Detection Systems

Time Series Data Mining in Rainfall Forecasting Using Artificial Neural Network

APPLICATION OF ARTIFICIAL NEURAL NETWORKS USING HIJRI LUNAR TRANSACTION AS EXTRACTED VARIABLES TO PREDICT STOCK TREND DIRECTION

Neural Network Design in Cloud Computing

Neuro-Rough Trading Rules for Mining Kuala Lumpur Composite Index

A Prediction Model for Taiwan Tourism Industry Stock Index

Study on the Evaluation for the Knowledge Sharing Efficiency of the Knowledge Service Network System in Agile Supply Chain

CHAPTER 5 PREDICTIVE MODELING STUDIES TO DETERMINE THE CONVEYING VELOCITY OF PARTS ON VIBRATORY FEEDER

Follow links Class Use and other Permissions. For more information, send to:

Predictive time series analysis of stock prices using neural network classifier

Applied Mathematical Sciences, Vol. 7, 2013, no. 112, HIKARI Ltd,

Research on the Performance Optimization of Hadoop in Big Data Environment

Chapter 2 The Research on Fault Diagnosis of Building Electrical System Based on RBF Neural Network

Review on Financial Forecasting using Neural Network and Data Mining Technique

Real Stock Trading Using Soft Computing Models

How To Use Neural Networks In Data Mining

Applications of improved grey prediction model for power demand forecasting

BMOA: Binary Magnetic Optimization Algorithm

COMPUTATIONIMPROVEMENTOFSTOCKMARKETDECISIONMAKING MODELTHROUGHTHEAPPLICATIONOFGRID. Jovita Nenortaitė

Anupam Tarsauliya Shoureya Kant Rahul Kala Researcher Researcher Researcher IIITM IIITM IIITM Gwalior Gwalior Gwalior

Stock Portfolio Selection using Data Mining Approach

Power Prediction Analysis using Artificial Neural Network in MS Excel

Flexible Neural Trees Ensemble for Stock Index Modeling

EM Clustering Approach for Multi-Dimensional Analysis of Big Data Set

The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network

A New Quantitative Behavioral Model for Financial Prediction

Performance Evaluation of Artificial Neural. Networks for Spatial Data Analysis

Supply Chain Forecasting Model Using Computational Intelligence Techniques

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

Bank Customers (Credit) Rating System Based On Expert System and ANN

Application of Artificial Neural Networks To Predict Intraday Trading Signals

Neural Networks and Wavelet De-Noising for Stock Trading and Prediction

Optimization of Intraday Trading Strategy Based on ACD Rules and Pivot Point System in Chinese Market

TIME SERIES FORECASTING USING NEURAL NETWORKS

Neural Network Stock Trading Systems Donn S. Fishbein, MD, PhD Neuroquant.com

ELLIOTT WAVES RECOGNITION VIA NEURAL NETWORKS

Development of Stock Portfolio. Optimization Application Program Using. Fuzzy Linear Programming

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

A Wavelet Based Prediction Method for Time Series

Iranian J Env Health Sci Eng, 2004, Vol.1, No.2, pp Application of Intelligent System for Water Treatment Plant Operation.

International Journal of Computer Science Trends and Technology (IJCST) Volume 2 Issue 3, May-Jun 2014

Design call center management system of e-commerce based on BP neural network and multifractal

Data Mining on Romanian Stock Market Using Neural Networks for Price Prediction

Hybrid Evolution of Heterogeneous Neural Networks

Optimum Design of Worm Gears with Multiple Computer Aided Techniques

Comparison of Supervised and Unsupervised Learning Classifiers for Travel Recommendations

Applying Multiple Neural Networks on Large Scale Data

Optimization of technical trading strategies and the profitability in security markets

Novel Mining of Cancer via Mutation in Tumor Protein P53 using Quick Propagation Network

A New Method for Traffic Forecasting Based on the Data Mining Technology with Artificial Intelligent Algorithms

Estimation of the COCOMO Model Parameters Using Genetic Algorithms for NASA Software Projects

A New Approach to Neural Network based Stock Trading Strategy

Bank Credit Risk Management Early Warning and Decision-making based on BP Neural Networks

Knowledge Based Descriptive Neural Networks

Genetic Algorithm Evolution of Cellular Automata Rules for Complex Binary Sequence Prediction

Forecasting of Indian Rupee (INR) / US Dollar (USD) Currency Exchange Rate Using Artificial Neural Network

NEURAL NETWORKS IN DATA MINING

NEURAL networks [5] are universal approximators [6]. It

Wireless Sensor Networks Coverage Optimization based on Improved AFSA Algorithm

Neural Networks in Data Mining

A Content based Spam Filtering Using Optical Back Propagation Technique

Lecture 6. Artificial Neural Networks

The Role of Size Normalization on the Recognition Rate of Handwritten Numerals

Keywords: Image complexity, PSNR, Levenberg-Marquardt, Multi-layer neural network.

Neural Networks and Support Vector Machines

Software Development Cost and Time Forecasting Using a High Performance Artificial Neural Network Model

Machine learning algorithms for predicting roadside fine particulate matter concentration level in Hong Kong Central

Forecasting the U.S. Stock Market via Levenberg-Marquardt and Haken Artificial Neural Networks Using ICA&PCA Pre-Processing Techniques

A Health Degree Evaluation Algorithm for Equipment Based on Fuzzy Sets and the Improved SVM

A Review of Data Mining Techniques

Comparison of K-means and Backpropagation Data Mining Algorithms

A Novel Web Optimization Technique using Enhanced Particle Swarm Optimization

An Artificial Neural Networks-Based on-line Monitoring Odor Sensing System

Neural Network Applications in Stock Market Predictions - A Methodology Analysis

Stock Price Prediction Using Artificial Neural Network

High Frequency Trading using Fuzzy Momentum Analysis

Stock Market Prediction System with Modular Neural Networks

A Neural Network and Web-Based Decision Support System for Forex Forecasting and Trading

FRAUD DETECTION IN ELECTRIC POWER DISTRIBUTION NETWORKS USING AN ANN-BASED KNOWLEDGE-DISCOVERY PROCESS

Data Mining using Artificial Neural Network Rules

A Genetic Programming Model for S&P 500 Stock Market Prediction

A New Approach For Estimating Software Effort Using RBFN Network

AN ANALYZE OF A BACKPROPAGATION NEURAL NETWORK IN THE IDENTIFICATION OF CRITICAL LAND BASED ON ALOS IMAGERY. Nursida Arif 1 and Projo Danoedoro 2

Event driven trading new studies on innovative way. of trading in Forex market. Michał Osmoła INIME live 23 February 2016

Transcription:

Applied Mathematical Sciences, Vol. 8, 2014, no. 38, 1847-1854 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.4292 Optimized Back propagation Learning in Neural Networks with Bacterial Foraging Optimization to Predict Forex Gold Index (XAUUSD) I Made Bayu Permana Putra Department of Information Technology Udayana University, Bali, Indonesia Rukmi Sari Hartati Department of Electrical Engineering Udayana University, Bali, Indonesia I Ketut Gede Darma Putra Department of Information Technology Udayana University, Bali, Indonesia Ni Kadek Ayu Wirdiani Department of Information Technology Udayana University, Bali, Indonesia Copyright 2014 I Made Bayu Permana Putra, Rukmi Sari Hartati, I Ketut Gede Darma Putra, and Ni Kadek Ayu Wirdiani. 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. Abstract This paper aims to build systems that can predict the gold price index with the back propagation method so that the back propagation method can run faster and get more accurate results. Back propagation method optimized in weight and bias

1848 I Made Bayu Permana Putra et al. with bacterial foraging optimization. Proven by adding bacterial foraging optimization method, it involve the back propagation method can run 50% faster and accuracy increased 2% average. System performance testing was conducted 1000 times using many different data. Sample data and test data normalization is immersely affect the system performance. Keywords : back propagation, bacterial foraging optimization, forex. 1 Introduction International monetary market needs important data to its trade from forex rate. The index value is influenced by many factors such as economics and politics, and also traders and investors psychological condition. All of that factors make the gold index are very difficult to predict. People that involved in the field of international monetary exchanges have been searching for an explanation to improve the prediction ability. It is this ability to correctly predict gold index rate changes that allows for the maximization of profits. Trading at the right time with the relatively correct strategies can bring large profit, but a trade based on wrong movement can risk big losses. Using the right analytical tool and good methods can reduce the effect of mistakes and also can increase profitability [2][8]. Artificial neural networks has been extensively used in these days in various aspects of science and engineering because of its ability to model both linear and non-linear systems without the need to make assumptions as are implicit in most traditional statistical approaches. ANN has been a aggressive model over the simple linear regression model [1][5][9][10].Neural network algorithms can predict foreign currency exchange rate. Because of back propagation algorithm is used with AFERFM, which gives the 11.3 percentages more accurate than the HFERFM[6]. BFO algorithm is a novel evolutionary computation algorithm, it is proposed based on the foraging behavior of the Escherichia coli (E. coli) bacteria live in human intestine. Natural selection tends to eliminate animals with poor foraging strategies such as locating, handling and ingesting food and favor the propagation of genes of those to achieve successful foraging [7]. The foraging behavior of E.Coli bacteria is adopted for the evolutionary computation algorithm, and it is named as Bacterial Foraging Optimization (BFO). BFO is an optimization technique based on the population search and efficient for global search method[3][4].

Optimized back propagation learning in neural networks 1849 2 Determination of the Architecture Architecture determination is conducted to assign inputs number on neural, hidden layer, output layer, sample data and test data date of use. The number of input will affect to how many number of history data that will be used in back propagation process. For example if the hidden layers input which entered is 5 and the date is 2011-01-01 to 2011-01-20, then the sample data that will be formed after being normalized is as follow: Table 1 Sample data 1 days ago 2 days ago 3 days ago 4 days ago 5 days ago today date 0.0820704 0.0936164 0.102236 0.138942 0.17167 0.088500 2011-01-10 0.0885004 0.0820704 0.0936164 0.102236 0.138942 0.091023 2011-01-11 0.0910233 0.0885004 0.0820704 0.0936164 0.102236 0.103515 2011-01-12 0.103515 0.0910233 0.0885004 0.0820704 0.0936164 0.111172 2011-01-13 0.111172 0.103515 0.0910233 0.0885004 0.0820704 0.109315 2011-01-14 3 Determination of the Bacteria Dimension Bacterial foraging optimization will be optimized weight and bias before using back propagation method, where weights and bias optimized result eventually will be used in back propagation process. To determine cost value on bacterial foraging optimization, it can be calculated with augment feed forward process. Where dimensions of bacteria is weights and bias as on back propagation, then data which included is average value per colom on sample data. How many dimension of the bacteri is determined in accordance to neural architectural, calculated as [3][4]: Dimension = (Input Hidden)+(Hidden Output)+Hidden+ Output Dimension = (3 2) + (2 1) + 2 + 1 = 11 Dimension of Bacteri x1 b1 b2 b3 b4 b5 b6 b7 b11 b10 b9 b8 Backpropagation y1 x2 z y2 x3 Fig 1 Architectural BPBFO

1850 I Made Bayu Permana Putra et al. The bacteria foraging optimization algorithm is: 1. Chemotaxis : Bacteria has a habit to move to approach a food source. This process is the way how bacteria determine its movement between dip and fall because of flagella. Bacteria will automatically move to an error optimum (nutrient source). It contains two steps as follows: [3][4]: Tumbling: Is the process how bacteria falls to the best nourishment position, to get minimum errors of ANN[3][4]. Where ( ) ( ) ( ) ( ) : Random vectors on [-1,1] ( ) ( ) ( ) ( ) ( ) ( ) (3.1) : The unit walk in the random direction C : Run length unit ( ) : It may represent by P (i, j, k, ell) ( ) : It may represent by P (i, j+1, k, ell) that represents the next location of bacterial Swimming: A Bacteria will move towards a certain direction that has a growing number of nourishment (rich nourishment) [3][4]. 2. Swarming: While bacteria is in a group, they have a censor from a dangerous place, and automatically will stay y from it by following nutrient gradient that generated by a group of bacteria that obtain nourishment [3][4]. ( ( )) ( ( )) ( ( ) ) ( ( ) ) (3.2) Where depth attractant to set a magnitude of secretion of attractant by a cell width attractant to set how the chemical cohesion signal diffuse height repellant to set repellant Reproduction : The fitness value from bacteria sequenced in the array sequences that order the lowest value to the highest value [3][4]. ( ) Where N c is the chemotaxis steps and j is the value of error. (3.3)

Optimized back propagation learning in neural networks 1851 Elimination and Dispersal: In the real world bacteria has probability and spreads to a new location. Here begins by generating random vector. [3][4]. 4 Bacterial Foraging Optimization Optimized Back propagation The optimized back propagation process plot with bacterial foraging optimization is as follows: Sample data Initialization bacteria Start BFO BFO optimizes weights BP Start training Fig 2 A Framework of the study Sample data is calculated, the average is used in bacteri initialization process, then the process is continued on bacterial training to detect the lowest cost value which eventually that value is the weight value and the optimal bias. After weights value and the optimal bias are found, it will be continued on back propagation process to find the weights result and bias that will be used to predict. 5 Result of Experiment BP weights and bias result Result of experiment with sample data and data test from 2011-01-01 to 2011-12-31 and 2012-01-01 to 2012-12-31. The architecture was formed by input layer is 5, hiden layer is 10, output layer is 1. Bacterial foraging optimization process that uses chemotaxis is 5, swim step is 5, reproduction is 4, dispersal is 4, dispersal probability is 0.5, and movement size is 0.5. Back propagation learning rate process is 0.05, momentum is 0.01, max epoch is 2000, means square error target is 0.000001.

1852 I Made Bayu Permana Putra et al. Table 2 Comparation BP with BPBFO Sample data Method Interaction epoch mse time (second) Accuration Rate 2011 BP 232460 788 0.0000008 216 92,43% 2011 BPBFO 134225 455 0.0000007 141 94,60% 2012 BP 51744 176 0.0000006 43 95,20% 2012 BPBFO 31458 107 0.0000005 26 96,26% Table 2 shows the processing result of back propagation method and the back propagation method was developed by bacterial foraging optimization and comparation between the result accuracy from back propagation method and back propagation method that optimized with bacterial foraging optimization. (a) (b) Fig 3 (a) BP Result, (b) BPBFO Result test data 2011 (a) (b) Fig 4 (a) BP Result, (b) BPBFO Result test data 2012 Fig 3 and fig 4 shows the comparison of test data and the predicted results where the red line is the target of the data test and the blue line is the predicted outcome. 6 Conclusion This experiment concludes that predicting gold price can be conducted by mathematics methods with using data history from the gold price index. The selection of the sample data architecture and great influence in the prediction

Optimized back propagation learning in neural networks 1853 results by using back propagation. Sample and data test should be tested against the data history of stable gold index is not in a state of crisis. Proved that after optimized with bacterial foraging optimization method it get significantly better in terms of iterating, epoch, and the value of accuracy. Forex gold index prediction can be developed with another neural network method to give better accuration. In further developments, this paper is expected to be a reference in the development of other forex gold index prediction to make better accurate prediction. References [1] T. Abe and T. Saito. An approach to prediction of spatio-temporal patterns based on binary neural networks and cellular automata. IEEE International Joint Conference on Neural Networks. 2008; 2494-2499. [2] Abraham, Ajith and Chowdhury, Morshed U. An Intelligent FOREX Monitoring System. In Proceedings of IEEE International Conference on Info-tech and Infonet, Beijing, China, pp 523-528, 2001. [3] I. AL-Hadi, S.Z. Hashim and S.M. Shamsuddin, Bacterial Foraging Optimization Algorithm for neural network learning enhancement. 978-1-4577-2152-6/11/$26.00 2011 IEEE. [4] I. AL-Hadi, Siti Zaiton. Bacterial Foraging Optimization Algorithm For Neural Network Learning Enhancement. International Journal of Innovative Computing 01(1) 8-14. 2012. [5] O. Deperlioglu and Utku Kose. An educational tool for artificial neural networks. Computers and Electrical Engineering. 2011; 37: 392-402. [6] R. Divyapria. 2013. Accurate Forecasting Prediction of Foreign Exchange Rate Using Neural Network Algorithms. (IJCSMC) International Journal of Computer Science and Mobile Computing. Vol. 2, Issue. 7, July 2013, pg.344 349 [7] D. Hwa Kim, Ajith Abraham, Jae Hoon Cho A hybrid genetic algorithm and bacterial foraging approach for global optimization, Information Sciences 177 (2007) 3918 3937 [8] V Lavanya and M Parveentaj. Foreign Currency Exchange Rate (FOREX) using Neural Network International Journal of Science and Research (IJSR 2013) ISSN (Online): 2319-7064.

1854 I Made Bayu Permana Putra et al. [9] S.Lee, S.Cho and P.M. Wong 1998, Rainfall prediction using Artificial neural networks. journal of geographic information and Decision Analysis, Vol.2,No2,pp.233-242 [10] H Zhao, J Zhang. Pipelined Chebyshev Functional Link Artificial Recurrent Neural Network for Nonlinear Adaptive Filter. IEEE Trans. Systems, Man, and Cybernetics, Part B: Cybernetics. 2010; 40:162-172. Received: February 11, 2014