Examples of artificial neural networks, Computer Engineering

Assignment Help:

Examples of artificial neural networks:

Now here as an example consider a ANN that has been trained to learn the following rule categorising the brightness of 2x2 black and white pixel images also as: if it contains 3 or 4 black pixels then it is dark; but if it contains 2, 3 or 4 white pixels then it is bright. So here we can model this with a perceptron through sa pixel then they output +1 if the pixel is white and  if -1 then the pixel is black. But here also if the input example is to be categorised as bright when the output unit produces a 1and if the example is dark when the output unit produces a 1. In fact if we choose the weights as in the following diagram where the perceptron will perfectly categorise any image of four pixels by dark or light according to our rule: as there are 4 input units and one for each pixel then they output +1 if the pixel is white and for -1 if the pixel is black. Here also the output unit produces a 1 if the input example is to be categorised as bright and if the example is dark then -1. Whether we choose the weights as in the following diagram then the perceptron will perfectly categorise any image of four pixels through dark or light according to our rule: 

2194_Examples of artificial neural networks.png

Furthermore details we see that in this case there the output unit has a step function through the threshold set to -0.1. But note there the weights in this network are all the same that is not true in the practical case. So now here it is convenient to make the weights going in to a node add up to 1 also, means it is possible to compare them easily. Thus the reason this network perfectly captures our notion of darkness and lightness is it means that if three white pixels are input so then three of the input units produce +1 and one input unit produces  -1. Hence this goes into the weighted sum that giving a value of S = 0.25*1 + 0.25*1 + 0.25*1 + 0.25*(-1) = 0.5. As we seen this is greater than the threshold of  -0.1, the output node produces +1 that relates to our notion of a bright image. Furthermore details we see that four white pixels will produce a weighted sum of 1 that is greater than the threshold so then two white pixels will produce a sum of 0 and also greater than the threshold. In fact if there are three black pixels then S will be -0.5 that is below the threshold thus the output node will output -1 so the image will be categorised as dark. Actually an image with four black pixels will be categorised as dark.


Related Discussions:- Examples of artificial neural networks

Explain the stack storage allocation model, Explain the stack storage alloc...

Explain the stack storage allocation model. In a stack-based allocation, all objects are allocated in last-in, first-out data structure and a stack. For example: Recursive subr

How is recursion handled internally, How is recursion handled internally? ...

How is recursion handled internally? Internally, every recursive call to a function requires storing the intermediate values of the parameters and local variables in a run time

What is memory interleaving, Q. What is Memory Interleaving? In this sc...

Q. What is Memory Interleaving? In this scheme main memory is splitted in 'n' equal-size modules and CPU has separate Memory Base register and Memory Address Register for every

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.

Cutoff search - artificial intelligence, Cutoff Search : To require a ...

Cutoff Search : To require a mini and max search in a game on stage situation is, in which all we have is just do that programme our agent to look at the intact that search tr

What is java applet, A Applet is a java program that runs within a web brow...

A Applet is a java program that runs within a web browser.

Why are interrupt masks provided in any processor, Why are interrupt masks ...

Why are interrupt masks provided in any processor? Interrupt mask enable the higher priority devices comes first and there for lower priority devices comes last. The interrupt

What is the necessity of an interface, What is the necessity of an interfac...

What is the necessity of an interface?  Any device that has to be linked to a CPU requires an interface. This takes care of the mismatch in speed, data and electrical character

Difference in natural frequency and resonant frequency, (a)  Explain in a f...

(a)  Explain in a few sentences the difference between a natural frequency and a resonant frequency.  Also clarify why for a specific system or component these frequencies may diff

Boolean algebra, Boolean algebra. Boolean algebra mathematical method ...

Boolean algebra. Boolean algebra mathematical method based on human reasoning. In Boolean algebra only two states exist; true and false which are written as 1 (true) and 0 (fa

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