Docsity

EM 582 - Assignment 1 ANN, Assignments of Engineering management

Toggle sidebar
bg1
EM582 Soft Methods for Planing and Management
Izmir Institute of Technology
Engineering Management Department
November 2, 2026
Assignment #1 ANN
Given the following network and the data, perform the single iteration. Employ the learning rate as η= 0.9
and the activation function as the sigmoid. Compact the data first into [0.1 , 0.9] range and then perform
the iteration. Do not consider any bias neuron.
248 124 182 1
24 84 48 2
3
4
-5.3
2.4
4.5
-7.2
5
-6.5
5.5
506 418 626
Network Training
The mathematical expression of the sigmoid activation function is as seen below.
It produces output in [0 ,1] range.
f(netj) = 1
1 + e(netj)(1)
And its derivative is
f′(αx) = f(αx)(1 + f(αx)) (2)
1 Data Standardization
According to assignment, the following method is chosen for compacting data into [0.1 , 0.9] range.
zi= 0.1 + 0.8(xi−xmin)
xmax −xmin
(3)
z1
1= 0.1 + 0.8(x1
1−xmin)
xmax−xmin = 0.1 + 0.8(182−124)
248−124 = 0.47 // z1
2= 0.1 + 0.8(x1
2−ymin)
xmax−xmin = 0.1 + 0.8(48−24)
84−24 = 0.42
z2
1= 0.1 + 0.8(x2
1−xmin)
xmax−xmin = 0.1 + 0.8(124−124)
248−124 = 0.1// z2
2= 0.1 + 0.8(x2
2−ymin)
xmax−xmin = 0.1 + 0.8(84−24)
84−24 = 0.9
z3
1= 0.1 + 0.8(x3
1−xmin)
xmax−xmin = 0.1 + 0.8(248−124)
248−124 = 0.9// z3
2= 0.1 + 0.8(x3
2−ymin)
xmax−xmin = 0.1 + 0.8(24−24)
84−24 = 0.1
t1
1= 0.1 + 0.8(t1−tmin)
tmax−tmin = 0.1 + 0.8(506−418)
626−418 = 0.43
t2
1= 0.1 + 0.8(t2−tmin)
tmax−tmin = 0.1 + 0.8(418−418)
626−418 = 0.1
1
pf3

Partial preview of the text

Download EM 582 - Assignment 1 ANN and more Assignments Engineering management in PDF only on Docsity!

EM582 Soft Methods for Planing and Management

Izmir Institute of Technology

Engineering Management Department

November 2, 2026

Assignment #1 ANN

Given the following network and the data, perform the single iteration. Employ the learning rate as η = 0. 9 and the activation function as the sigmoid. Compact the data first into [0.1 , 0.9] range and then perform the iteration. Do not consider any bias neuron.

Network Training

The mathematical expression of the sigmoid activation function is as seen below. It produces output in [0 ,1] range.

f (netj ) =

1 + e(netj^ )^

And its derivative is f ′(αx) = f (αx)(1 + f (αx)) (2)

1 Data Standardization

According to assignment, the following method is chosen for compacting data into [0.1 , 0.9] range.

zi = 0.1 + 0 .8(xi − xmin) xmax − xmin

z 11 = 0.1 + 0 .8(x

(^11) −xmin) xmax−xmin = 0.1 +^

0 .8(182−124) 248 − 124 = 0.^47 //^ z

1 2 = 0.1 +^

0 .8(x^12 −ymin) xmax−xmin = 0.1 +^

0 .8(48−24) 84 − 24 = 0.^42

z 12 = 0.1 + 0 .8(x

(^21) −xmin) xmax−xmin = 0.1 +^

0 .8(124−124) 248 − 124 = 0.^1 //^ z

2 2 = 0.1 +^

0 .8(x^22 −ymin) xmax−xmin = 0.1 +^

0 .8(84−24) 84 − 24 = 0.^9

z 13 = 0.1 + 0 .8(x

(^31) −xmin) xmax−xmin = 0.1 +^

0 .8(248−124) 248 − 124 = 0.^9 //^ z

3 2 = 0.1 +^

0 .8(x^32 −ymin) xmax−xmin = 0.1 +^

0 .8(24−24) 84 − 24 = 0.^1

t^11 = 0.1 + (^0) t.max8(t^1 −−ttminmin )= 0.1 + 0 .8(506 626 −− 418 418) = 0. 43

t^21 = 0.1 + (^0) t.max8(t^2 −−ttminmin )= 0.1 + 0 .8(418 626 −− 418 418) = 0. 1

t^31 = 0.1 + (^0) t.max8(t^3 −−ttminmin )= 0.1 + 0 .8(626 626 −− 418 418) = 0. 9

2 Back Propagation Algorithm

2.1 Forward Pass

netpj =

X

zpiwij (4)

ypj = f (netpj ) =

1 + e(net

p j )^

E =

X^ p

k=

X^ q

j=

(ykj − tkj )^2 (6)

where, p is the number of training patterns, q is the number of output nodes (q=0), y is the model output, t is the target output, E is the error function.

net^13 = z 11 w 13 + z^12 w 23 = (0.47)(− 5 .3) + (0.42)(4.5) = − 0. 601

y^13 = (^) 1+e−^10. 601 = 0. 354115

net^14 = z 11 w 14 + z^12 w 24 = (0.47)(2.4) + (0.42)(− 7 .2) = − 1. 896

y^14 = (^) 1+e−^11. 896 = 0. 130562

net^15 = y^13 v 35 + net^14 v 45 = (0.354115)(− 6 .5) + (0.130562)(5.5) = − 1. 58366

y^15 = (^) 1+e−^11. 58366 = 0. 170278

net^23 = z 12 w 13 + z^22 w 23 = (0.1)(− 5 .3) + (0.9)(4.5) = 3. 52

y^23 = (^) 1+e^13. 52 = 0. 971252

net^24 = z 12 w 14 + z^22 w 24 = (0.1)(2.4) + (0.9)(− 7 .2) = − 6. 24

y^24 = (^) 1+e^1 − 6. 24 = 0. 001946

net^25 = y^23 v 35 + net^24 v 45 = (0.971252)(− 6 .5) + (0.001946)(5.5) = − 6. 30243

y^25 = (^) 1+e−^16. 30243 = 0. 001828

net^33 = z 13 w 13 + z^32 w 23 = (0.9)(− 5 .3) + (0.1)(4.5) = − 4. 32

y^33 = (^) 1+e^1 − 4. 32 = 0. 013125

net^34 = z 13 w 14 + z^32 w 24 = (0.9)(2.4) + (0.1)(− 7 .2) = 1. 44

y^34 = (^) 1+e^11. 44 = 0. 808455