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

Proof by contradiction - artificial intelligence, Proof by Contradiction - ...

Proof by Contradiction - Artificial intelligence So, both backward chaining andforward chaining have drawbacks. Another approach is to think regarding proving theorems by contr

Probabilistic hough transformation, The probabilistic Hough transform uses ...

The probabilistic Hough transform uses random sampling instead of an accumulator array. In this approach the number of random samples r, is not specified in the OpenCV call, but

What is a compiler, What is a compiler? A Compiler is a program that ac...

What is a compiler? A Compiler is a program that accepts a program written in a high level language and creates an object program.

Show mpi functions, Q. Show MPI functions? MPI comprises hundreds of fu...

Q. Show MPI functions? MPI comprises hundreds of functions which are a small subset of which is enough for most practical purposes. We will discuss some of them here. Int M

Explain the term internet, Explain the term Internet. Internet: ...

Explain the term Internet. Internet: The Internet, an umbrella term covering countless network and services that comprise a super-network, is a global network of compute

Explain the input stage of an ADC, Explain the Input Stage of an ADC. ...

Explain the Input Stage of an ADC. Ans. Input Stage- In ADC at the input stage, analog voltage can contain any value in a range although the digital output can contain

What do you mean by underflow and overflow of data, What do you mean by und...

What do you mean by underflow and overflow of data? Underflow and overflow of data: When the value of the variable is either too long or too small for the data type to hold,

What are the uses of interrupts, What are the uses of interrupts?  ...

What are the uses of interrupts?  Recovery from errors Debugging Communication among programs Use of interrupts in operating system

3D rotation, Magnify a triangle with vertices A = (0,0), B = (3,3) and C = ...

Magnify a triangle with vertices A = (0,0), B = (3,3) and C = (6,4) to twice its size in such a way that A remains in its original position.

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