Contents

errsurf

Error surface of single-input neuron

Syntax

errsurf(P,T,WV,BV,F)

Description

errsurf(P,T,WV,BV,F) takes these arguments,

P

1-by-Q matrix of input vectors

T

1-by-Q matrix of target vectors

WV

Row vector of values of W

BV

Row vector of values of B

F

Transfer function (string)

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

Was this topic helpful?