Neural Network Toolbox |
Syntax
Description
plotperf(TR,goal,name,epoch)
takes these inputs,
TR
-- Training record returned by train
.
goal
-- Performance goal, default = NaN
.
name
-- Training function name, default = ''
.
epoch
-- Number of epochs, default = length of training record.
and plots the training performance, and if available, the performance goal, validation performance, and test performance.
Examples
Here are eight input values P
and associated targets T
, plus a like number of validation inputs VV.P
and targets VV.T
.
The code below creates a network and trains it on this problem.
During training plotperf
was called to display the training record. You can also call plotperf
directly with the final training record TR,
as shown below.
plotpc | plotpv |
© 1994-2005 The MathWorks, Inc.