주요 콘텐츠

plotes

(To be removed) Plot error surface of single-input neuron

plotes will be removed in a future release. For more information, see Transition Legacy Neural Network Code to dlnetwork Workflows.

For advice on updating your code, see Version History.

Syntax

plotes(WV,BV,ES,V)

Description

plotes(WV,BV,ES,V) takes these arguments,

WV

1-by-N row vector of values of W

BV

1-by-M row vector of values of B

ES

M-by-N matrix of error vectors

V

View (default = [-37.5, 30])

and plots the error surface with a contour underneath.

Calculate the error surface ES with errsurf.

Examples

Plot Error Surface of Single-Input Neuron

p = [3 2];
t = [0.4 0.8];
wv = -4:0.4:4;
bv = wv;
ES = errsurf(p,t,wv,bv,'logsig');
plotes(wv,bv,ES,[60 30])

Figure contains 2 axes objects. Axes object 1 with title Error Surface, xlabel Weight W, ylabel Bias B contains 2 objects of type surface. Axes object 2 with title Error Contour, xlabel Weight W, ylabel Bias B contains 2 objects of type surface, contour.

Version History

Introduced before R2006a