Solution of multi-layer ann with sigmoid units, Computer Engineering

Assignment Help:

Solution of multi-layer ann with sigmoid units:

Assume here that we input the values 10, 30, 20 with the three input units and from top to bottom. So after then the weighted sum coming into H1 will be as: 

SH1 = (0.2 * 10) + (-0.1 * 30) + (0.4 * 20) = 2 -3 + 8 = 7. 

After then the σ function is applied to SH1 to give as: 

σ(SH1) = 1/(1+e-7) = 1/(1+0.000912) = 0.999 

Here don't forget to negate S. Also the weighted sum coming into H2 will be as: 

SH2 = (0.7 * 10) + (-1.2 * 30) + (1.2 * 20) = 7 - 36 + 24 = -5 

Now next σ applied to SH2 gives as: 

σ(SH2) = 1/(1+e5) = 1/(1+148.4) = 0.0067 

Furthermore from this we can see there that H1 has fired, but H2 has not. So now we can calculate the weights sum going in to output in unit O1 will be as: 

SO1 = (1.1 * 0.999) + (0.1*0.0067) = 1.0996 

And here next the weighted sum going in to output in unit O2 will be as: 

SO2 = (3.1 * 0.999) + (1.17*0.0067) = 3.1047 

However the output sigmoid unit in O1 will now calculate the output values from the network for O1 as:

 σ(SO1) = 1/(1+e-1.0996) = 1/(1+0.333) = 0.750 

and the output from the network for O2: 

σ(SO2) = 1/(1+e-3.1047) = 1/(1+0.045) = 0.957 

However therefore if this network represented the learned rules for a categorisation problem then the input triple (10,30,20) would be categorised into the category associated with O2 it means it has the larger output.


Related Discussions:- Solution of multi-layer ann with sigmoid units

Write a recursive algorithm, Write a recursive algorithm to count the numbe...

Write a recursive algorithm to count the number of right children in a binary search tree. Write the method levelCount whose header is given below. Method levelCount returns

Data communication, how CSMA protocol is improved through persistence metho...

how CSMA protocol is improved through persistence methods & collition detection

Explain the different types of buses with neat diagram, Explain the differe...

Explain the different types of buses with neat diagram. When a word of data is transferred among units, all the bits are transferred in parallel over a set of lines known as bu

Advantages of using clusters, Q. Advantages of using clusters? Para...

Q. Advantages of using clusters? Parallel and distributed applications Decreased turnaround time Balanced loads Utilization of more powerful hosts Access to

What is the use of unions in c ?, Unions allow the same area of memory to b...

Unions allow the same area of memory to be accessed as different data types. The insurance example above would not work. Unions are useful (often in embedded programming) when i

Can we run matlab without graphics, Sometimes you may need to run scripts w...

Sometimes you may need to run scripts which have plotting commands without displaying the plots and without going into the script to comment out the commands. An example: if you're

Discuss about simple mail transfer protocol briefly, Discuss about Simple M...

Discuss about Simple Mail Transfer Protocol briefly. SMTP: It is sands for Simple Mail Transfer Protocol, is a protocol for sending e-mail messages among servers. Most e-

How to format expressions by using vba, Format functions can be used to for...

Format functions can be used to format lot of the expressions such as money, time, date, percentages and numbers. These functions are much easier to use in VBA. User defined date,

Perceptron training, Perceptron training: Here the weights are initial...

Perceptron training: Here the weights are initially assigned randomly and training examples are needed one after another to tweak the weights in the network. Means all the exa

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd