C++ Neural Networks and Fuzzy Logic:A Survey of Neural Network Models
function GetCookie (name)
{
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen)
{
var j = i + alen;
if (document.cookie.substring(i, j) == arg) {
var end = document.cookie.indexOf (";", j);
if (end == -1)
end = document.cookie.length;
return unescape(document.cookie.substring(j, end));
}
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
var m1='';
var gifstr=GetCookie("UsrType");
if((gifstr!=0 ) && (gifstr!=null)) { m2=gifstr; }
document.write(m1+m2+m3);
Keyword
Title
Author
ISBN
Publisher
Imprint
Brief
Full
Advanced Search
Search Tips
Please Select
-----------
Components
Content Mgt
Certification
Databases
Enterprise Mgt
Fun/Games
Groupware
Hardware
Intranet Dev
Middleware
Multimedia
Networks
OS
Prod Apps
Programming
Security
UI
Web Services
Webmaster
Y2K
-----------
New Titles
-----------
Free Archive
To access the contents, click the chapter and section titles.
C++ Neural Networks and Fuzzy Logic
(Publisher: IDG Books Worldwide, Inc.)
Author(s): Valluru B. Rao
ISBN: 1558515526
Publication Date: 06/01/95
Search this book:
Previous
Table of Contents
Next
Details
Table 5.3 lists the vertices and their coordinates, together with a flag that indicates to which subset in the partitioning the vertex belongs. Note that you can think of the action of the Multilayer Perceptron as that of evaluating the intersection and union of linearly separable subsets.
Table 5.3 Partitioning of Vertices of a Cube
Vertex
Coordinates
Subset
O
(0,0,0)
1
A
(0,0,1)
1
B
(0,1,0)
2
C
(0,1,1)
2
D
(1,0,0)
2
E
(1,0,1)
2
F
(1,1,0)
3
G
(1,1,1)
3
The network, which is a two-layer Perceptron, meaning two layers of weights, has three neurons in the first layer and one output neuron in the second layer. Remember that we are counting those layers in which the neurons do the aggregation of the signals coming into them using the connection weights. The first layer with the three neurons is what is generally described as the hidden layer, since the second layer is not hidden and is at the extreme right in the layout of the neural network. Table 5.4 gives an example of the weights you can use for the connections between the input neurons and the hidden layer neurons. There are three input neurons, one for each coordinate of the vertex of the cube.
Table 5.4 Weights for Connections Between Input Neurons and Hidden Layer Neurons.
Input Neuron #
Hidden Layer Neuron #
Connection Weight
1
1
1
1
2
0.1
1
3
-1
2
1
1
2
2
-1
2
3
-1
3
1
0.2
3
2
0.3
3
3
0.6
Now we give, in Table 5.5, the weights for the connections between the three hidden-layer neurons and the output neuron.
Table 5.5 Weights for Connection Between the Hidden-Layer Neurons and the Output Neuron
Hidden Layer Neuron #
Connection Weight
1
0.6
3
0.3
3
0.6
It is not apparent whether or not these weights will do the job. To determine the activations of the hidden-layer neurons, you need these weights, and you also need the threshold value at each neuron that does processing. A hidden-layer neuron will fire, that is, will output a 1, if the weighted sum of the signals it receives is greater than the threshold value. If the output neuron fires, the function value is taken as +1, and if it does not fire, the function value is 1. Table 5.6 gives the threshold values. Figure 5.1b shows the neural network with connection weights and threshold values.
Figure 5.1b Neural Network for Cube Example
Table 5.6 Threshold Values
Layer
Neuron
Threshold Value
hidden
1
1.8
hidden
2
0.05
hidden
3
-0.2
output
1
0.5
Previous
Table of Contents
Next
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-1999 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.
Wyszukiwarka
Podobne podstrony:
The Modern Dispatch 090 The Watchers085 088088 COURT085 088086 0882 4 Układy hybrydoweid 088v 03 088F G 090A A 090088 089085 088088 89090 Konstruktywizm i Bauhausv 04 088więcej podobnych podstron