Professional Documents
Culture Documents
I.
INTRODUCTION
Algorithm:
N Input, L output fuzzy network has M fuzzy if then
which are explained as
k
k
k
A
If X1 is A1 and Xn is n then Y is B ,
Aik and
A ( xi ) = exp[(
i
k
B ( y ) = exp[(
k
xi aik
ik
y bk
)2 ]
(1)
)2 ]
(2)
f ( x1 ,..., x n ) =
k
mk=1 b [in=1 A k ( xi )]
i
mk=1[in=1 Ak
i
( xi )]
(3)
80
1
E p = [ f ( x1p ,..., x np ) y p ] 2
2
1
output
system
as
such
format(d1,d2,,d3),(d2,d3,,d4),(d3,d4,...,d5), where first
vector d1,d2 are inputs and d3 is an output, in the second and
third vector d2,d3 and d3,d4 are inputs while d4 and d5 is an
output.
(4)
functions(
E P
) the widths of put membership
b k
E P
), the centers of input membership functions
k
E P
)and the centers of input membership functions
a k
E P
), then we obtain the training algorithm [4-6]:
k
b k (t + 1) = b k (t )
E P
b k
(5)
t
k (t + 1) = k (t )
E
k
(6)
t
E P
a (t + 1) = a (t )
a k
E P
k
k (t + 1) = k (t )
(7)
(8)
2) Implementation
System implementation described as under:
Download historical data from the web.
System is written through which user can get the data
requirement, arrange all data into format that used
for next step and stored into database.
Algorithm, which trains neural networks using the
Mean Square (MS) error as stop criterion for
learning, while never exceeding the maximum
number of cycles which can take testing data from
the initial date to the user entered date and predicts
future stock closing values
81
V. TERMINATION
After finishing several mock ups for predicting several
stocks based on the past historical data using fuzzy neural
network through the Back Propagation learning algorithm,
it is sure that standard error for mock ups using large data is
less and then using small data is more. If training error is
slow then predicted values are very close to the real values.
Using past data, we can predict stock values for future some
weeks by Back Propagation algorithm we able to calculate
predicted stock values by means of the real values. Table A
and Figure B prove the predicted and current values of the
weekly average of the stock I2 Technologies, When the past
data is from Table B and Figure C represent the predicted and
real values of the weekly average of the stock of Cypress
Semiconductor Corporation.
VI. ORIENTATION
[1]
[2]
[3]
[4]
[5]
TABLE A
AVERAGE PRICES OF STOCKS OF I2 TECHNOLOGY
[6]
TABLE B
AVERAGE PRICES OF STOCKS OF CYPRESS SEMICONDUCTOR CORPORATION
82