Neural Network Toolbox |
Error surface of single input neuron
Syntax
Description
errsurf(P,T,WV,BV,F) takes these arguments,
P
-- 1 x Q matrix of input vectors
T
-- 1 x Q matrix of target vectors
WV
-- Row vector of values of W
and returns a matrix of error values over WV
and BV
.
Examples
p = [-6.0 -6.1 -4.1 -4.0 +4.0 +4.1 +6.0 +6.1]; t = [+0.0 +0.0 +.97 +.99 +.01 +.03 +1.0 +1.0]; wv = -1:.1:1; bv = -2.5:.25:2.5; es = errsurf(p,t,wv,bv,'logsig'); plotes(wv,bv,ES,[60 30])
See Also
dtribas | formx |
© 1994-2005 The MathWorks, Inc.