Neural Network Toolbox Previous page   Next Page
newrbe

Design an exact radial basis network

Syntax

net = newrbe

net = newrbe(P,T,spread)

Description

Radial basis networks can be used to approximate functions. newrbe very quickly designs a radial basis network with zero error on the design vectors.

net = newrbe creates a new network with a dialog box.

newrbe(P,T,spread) takes two or three arguments,

and returns a new exact radial basis network.

The larger the spread is, the smoother the function approximation will be. Too large a spread can cause numerical problems.

Examples

Here we design a radial basis network given inputs P and targets T.

Here the network is simulated for a new input.

Algorithm

newrbe creates a two-layer network. The first layer has radbas neurons, and calculates its weighted inputs with dist, and its net input with netprod. The second layer has purelin neurons, and calculates its weighted input with dotprod and its net inputs with netsum. Both layers have biases.

newrbe 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 IW{2,1} and biases b{2} are found by simulating the first layer outputs A{1}, and then solving the following linear expression:

See Also

sim, newrb, newgrnn, newpnn


Previous page  newrb newsom Next page

© 1994-2005 The MathWorks, Inc.