| Neural Network Toolbox |    | 
Design a generalized regression neural network (grnn)
Syntax
Description
net = newgrnn creates a new network with a dialog box.
Generalized regression neural networks are a kind of radial basis network that is often used for function approximation.  grnn's can be designed very quickly.
newgrnn(P,T,spread) takes three inputs,
and returns a new generalized regression neural network.
The larger the spread, is the smoother the function approximation will be. To fit data very closely, use a spread smaller than the typical distance between input vectors. To fit the data more smoothly, use a larger spread.
Properties
newgrnn creates a two-layer network. The first layer has radbas neurons, calculates weighted inputs with dist and net input with netprod. The second layer has purelin neurons, calculates weighted input with normprod and net inputs with netsum. Only the first layer has biases.
newgrnn sets the first layer weights to P', and the first layer biases are all set to 0.8326/spread, resulting in radial basis functions that cross 0.5 at weighted inputs of +/- spread. The second layer weights W2 are set to T.
Examples
Here we design a radial basis network given inputs P and targets T.
Here the network is simulated for a new input.
See Also
References
Wasserman, P.D., Advanced Methods in Neural Computing, New York: Van Nostrand Reinhold, pp. 155-61, 1993.
|   | newfftd | newhop |  | 
© 1994-2005 The MathWorks, Inc.