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

Example of circuit switching & stored and forward switching, Example of cir...

Example of circuit switching and S&F (Stored and Forward) switching is (A) Telephone and Post of Telegraph (B) Video Signal Post or Telegraph (C)  Digital Signal P

Deductive inferences - artificial intelligence, Deductive Inferences - Arti...

Deductive Inferences - Artificial intelligence: We have described how knowledge can be represented in first-order logic, and how in logic rule-based expert systems expressed ca

Texture - elements of composition, Texture Texture is how artists show...

Texture Texture is how artists show what an object would feel like to touch. This can have a dramatic effect on how an image is perceived. Imagine for instance an image that h

Qwerty-based keyboards, QWERTY-based keyboards In addition the standard...

QWERTY-based keyboards In addition the standard alphabet keys having QWERTY arrangement, a computer keyboard also comprises the control (alt, Del, Ctrl etc. keys) and function

Explain i/o buffer and advantage of buffering, What is an I/O buffer? What ...

What is an I/O buffer? What is the advantage of buffering? Is buffering always effective? Justify your answer with help of an example.   One type of I/O requirement arises from

Write a perl script, Write a PERL script which takes a file named input.txt...

Write a PERL script which takes a file named input.txt as an input and processes it. The input file has the following format: firstname lastname: pass/fail score%. A sample input f

C, "Super ASCII", if it contains the character frequency equal to their asc...

"Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the ascii values will starts from

How can we read .doc document in asp.net, How can I read .doc document in A...

How can I read .doc document in ASP.Net? You can read from a text file like this.   Private void Button12_Click(object sender, System.EventArgs e) { string path="C:

For which class address 192.5.48.3 belogs, Address 192.5.48.3 belongs to? ...

Address 192.5.48.3 belongs to? Address 192.5.48.3 belongs to class C.

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